1ORG.BLUEZ.NETWORK(5) Linux System Administration ORG.BLUEZ.NETWORK(5)
2
3
4
6 org.bluez.Network - BlueZ D-Bus Network API documentation
7
9 Service
10 org.bluez
11
12 Interface
13 org.bluez.Network1
14
15 Object path
16 [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
17
18 Methods
19 string Connect(string uuid)
20 Connects to the network device and return the network interface
21 name.
22
23 Possible uuid values:
24
25 "panu", "00001115-0000-1000-8000-00805f9b34fb"
26 Personal Network User role.
27
28 "nap", "00001116-0000-1000-8000-00805f9b34fb"
29 Network Access Point role.
30
31 "gn", "00001117-0000-1000-8000-00805f9b34fb"
32 Group Network role.
33
34 The connection will be closed and network device released either
35 upon calling Disconnect() or when the client disappears from the
36 message bus.
37
38 Possible errors:
39
40 org.bluez.Error.InvalidArguments
41
42 org.bluez.Error.NotSupported
43
44 org.bluez.Error.InProgress
45
46 org.bluez.Error.Failed
47
48 void Disconnect()
49 Disconnects from the network device.
50
51 To abort a connection attempt in case of errors or timeouts in the
52 client it is fine to call this method.
53
54 Possible errors:
55
56 org.bluez.Error.Failed
57
58 org.bluez.Error.NotConnected
59
60 Properties
61 boolean Connected [readonly]
62 Indicates if the device is connected.
63
64 string Interface [readonly, optional]
65 Indicates the network interface name when available.
66
67 string UUID [readonly, optional]
68 Indicates the connection role when available.
69
70
71
72
73BlueZ October 2023 ORG.BLUEZ.NETWORK(5)