org.bluez.Bearer.LE(5)
π org.bluez.Bearer.LE β BlueZ D-Bus Bearer LE API docs β¨
okay bestie, welcome to the org.bluez.Bearer.LE(5) page from Linux System Administration π«Ά. It's literally the BlueZ D-Bus Bearer LE API documentation, and we're gonna get through it together. no cap.
π Name π
org.bluez.Bearer.LE β BlueZ D-Bus Bearer LE API documentation π
π¦ Interface π¦
Service
org.bluez
Interface
org.bluez.Bearer.LE1
Object path
[variable prefix]/{hci0,hci1,...}/dev_{BDADDR}
π οΈ Methods π οΈ
void Connect() [experimental]
Connects all LE profiles the remote device supports that can be connected to and have been flagged as auto-connectable. If only a subset of profiles is already connected, it will try to connect the currently disconnected ones.
If at least one profile was connected successfully, this method will indicate success.
Possible errors:
org.bluez.Error.NotReadyorg.bluez.Error.Failedorg.bluez.Error.InProgressorg.bluez.Error.AlreadyConnected
void Disconnect() [experimental]
Disconnects all connected profiles and then terminates low-level ACL-LE connection.
heads up bestie: the ACL-LE connection will be terminated even if some profiles were not disconnected properly, e.g. due to a misbehaving device. π
This method can also be used to cancel a preceding Connect call before a reply to it has been received.
For non-trusted devices connected, calling this method will disable incoming connections until Connect method is called again.
Possible errors:
org.bluez.Error.NotConnected
π‘ Signals π‘
void Disconnected(string reason, string message) [experimental]
This signal is launched when a device is disconnected, with the reason of the disconnection.
This could be used by client application, depending on internal policy, to try to reconnect to the device in case of timeout or unknown disconnection, or to try to connect to another device.
Possible reasons:
org.bluez.Reason.Unknownorg.bluez.Reason.Timeoutβ Connection timeout. The link supervision timeout has expired for a connection or the synchronization timeout has expired for a broadcast.org.bluez.Reason.Localβ Connection terminated by local host. The local device terminated the connection, terminated synchronization with a broadcaster, or terminated broadcasting packets.org.bluez.Reason.Remoteβ Connection terminated by remote host. This disconnection can be due to:- the user on the remote device either terminated the connection or stopped broadcasting packets,
- the remote device terminated the connection because of low resources,
- the remote device terminated the connection because the device is about to power off.
org.bluez.Reason.Authenticationβ Connection terminated due to an authentication failure.org.bluez.Reason.Suspendβ Connection terminated by local host for suspend.
π·οΈ Properties π·οΈ
object Adapter [readonly, experimental]
The object path of the adapter the set belongs to.
boolean Paired [readonly, experimental]
Indicates if the remote device is paired to LE bearer.
Paired means the pairing process where devices exchange the information to establish an encrypted connection has been completed.
boolean Bonded [readonly, experimental]
Indicates if the remote device is bonded to LE bearer.
Bonded means the information exchanged on pairing process has been stored and will be persisted.
boolean Connected [readonly, experimental]
Indicates if the remote device is currently connected to LE bearer.
A PropertiesChanged signal indicate changes to this status.
π k bye bestie β this page is from BlueZ, dated July 2025, and it's org.bluez.Bearer.LE(5). π
β¨
π¦ where this page comes from
- arch rolling: bluez-utils 5.87-2 Β· GPL-2.0-only
- nixpkgs unstable: bluez 5.87
- ubuntu stonking: bluez 5.87-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms