org.bluez.Network - BlueZ D-Bus Network API documentation
Contents
Interface
Service
org.bluez
Interface
org.bluez.Network1
Objectpath
[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
MethodsstringConnect(stringuuid)
Connects to the network device and return the network interface name.
Possible uuid values:
"panu","00001115-0000-1000-8000-00805f9b34fb"
Personal Network User role.
"nap","00001116-0000-1000-8000-00805f9b34fb"
Network Access Point role.
"gn","00001117-0000-1000-8000-00805f9b34fb"
Group Network role.
The connection will be closed and network device released either upon calling Disconnect() or when the
client disappears from the message bus.
Possible errors:
org.bluez.Error.InvalidArgumentsorg.bluez.Error.NotSupportedorg.bluez.Error.InProgressorg.bluez.Error.FailedvoidDisconnect()
Disconnects from the network device.
To abort a connection attempt in case of errors or timeouts in the client it is fine to call this
method.
Possible errors:
org.bluez.Error.Failedorg.bluez.Error.NotConnectedPropertiesbooleanConnected[readonly]
Indicates if the device is connected.
stringInterface[readonly,optional]
Indicates the network interface name when available.
stringUUID[readonly,optional]
Indicates the connection role when available.
BlueZ October 2023 ORG.BLUEZ.NETWORK(5)
Name
org.bluez.Network - BlueZ D-Bus Network API documentation
