1
BlueZ D-Bus Network API description
2
***********************************
4
Copyright (C) 2004-2008 Marcel Holtmann <marcel@holtmann.org>
11
Interface org.bluez.Network
12
Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
14
Methods string Connect(string uuid)
16
Connect to the network device and return the network
17
device name. Examples of the device name are bnep0,
20
Possible errors: org.bluez.Error.AlreadyConnected
21
org.bluez.Error.ConnectionAttemptFailed
25
Disconnect from the network device.
27
To abort a connection attempt in case of errors or
28
timeouts in the client it is fine to call this method.
30
Possible errors: org.bluez.Error.Failed
32
bool IsConnected() {deprecated}
34
Returns the connection status.
38
Returns all properties for the interface. See the
39
properties section for available properties.
41
Signals void Connected(string device, string uuid) {deprecated}
43
void Disconnected(string device) {deprecated}
45
PropertyChanged(string name, variant value)
47
This signal indicates a changed value of the given
50
Properties boolean Connected [readonly]
52
Indicates if the device is connected.
54
string Device [readonly]
56
Indicates the network interface name when available.
58
string UUID [readonly]
60
Indicates the connection role when available.
63
Network Hub/Peer/Router hierarchy
67
Interface org.bluez.network.{Hub, Peer, Router}
68
Object path /org/bluez/{hci0,hci1,...}
70
Methods dict GetProperties()
72
Returns all properties for the GN/PANU/NAP server. See the
73
properties section for available properties.
75
void SetProperty(string name, variant value)
77
Changes the value of the specified property. Only
78
properties that are listed a read-write are changeable.
79
On success this will emit a PropertyChanged signal.
81
Possible Errors: org.bluez.Error.DoesNotExist
82
org.bluez.Error.InvalidArguments
84
Properties string Name[readwrite]
86
The Bluetooth network server name.
88
boolean Enable[readwrite]
90
Indicates if the server is Enabled/Disabled.
94
The Bluetooth network server UUID 128 identification.