Man page - org.bluez.network(5)
Packages contains this manual
- rfcomm(1)
- bluetoothctl-player(1)
- bluetoothctl-assistant(1)
- bluetooth-meshd(8)
- hciconfig(1)
- obexctl(1)
- hex2hcd(1)
- mpris-proxy(1)
- bluetoothctl-endpoint(1)
- bluetoothctl-hci(1)
- bluetoothctl(1)
- bluetoothctl-gatt(1)
- rctest(1)
- hid2hci(1)
- bluemoon(1)
- ciptool(1)
- bluetoothctl-monitor(1)
- l2test(1)
- bluetoothctl-scan(1)
- sdptool(1)
- bluetoothctl-transport(1)
- btmgmt(1)
- hciattach(1)
- btattach(1)
- gatttool(1)
- bluetoothctl-mgmt(1)
- bluetoothctl-admin(1)
- bluetoothd(8)
- hcitool(1)
- bluetoothctl-advertise(1)
- btmon(1)
- l2ping(1)
apt-get install bluez
Manual
ORG.BLUEZ.NETWORK
NAMEINTERFACE
Methods
string Connect(string uuid)
void Disconnect()
Properties
boolean Connected [readonly]
string Interface [readonly, optional]
string UUID [readonly, optional]
NAME
org.bluez.Network - BlueZ D-Bus Network API documentation
INTERFACE
Service
org.bluez
Interface
org.bluez.Network1
Object path
[variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
Methods
string Connect(string uuid)
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.InvalidArguments
org.bluez.Error.NotSupported
org.bluez.Error.InProgress
org.bluez.Error.Failed
void Disconnect()
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.Failed
org.bluez.Error.NotConnected
Properties
boolean Connected [readonly]
Indicates if the device is connected.
string Interface [readonly, optional]
Indicates the network interface name when available.
string UUID [readonly, optional]
Indicates the connection role when available.