14
14
Methods string Connect(string uuid)
16
16
Connect to the network device and return the network
17
device name. Examples of the device name are bnep0,
17
interface name. Examples of the interface name are
20
uuid can be either one of "gn", "panu" or "nap" (case
21
insensitive) or a traditional string representation of
22
UUID or a hexadecimal number.
24
The connection will be closed and network device
25
released either upon calling Disconnect() or when
26
the client disappears from the message bus.
20
28
Possible errors: org.bluez.Error.AlreadyConnected
21
29
org.bluez.Error.ConnectionAttemptFailed
52
60
Indicates the connection role when available.
55
Network Hub/Peer/Router hierarchy
63
Network server hierarchy
64
========================
59
Interface org.bluez.network.{Hub, Peer, Router}
67
Interface org.bluez.NetworkServer
60
68
Object path /org/bluez/{hci0,hci1,...}
62
Methods dict GetProperties()
64
Returns all properties for the GN/PANU/NAP server. See the
65
properties section for available properties.
67
void SetProperty(string name, variant value)
69
Changes the value of the specified property. Only
70
properties that are listed a read-write are changeable.
71
On success this will emit a PropertyChanged signal.
73
Possible Errors: org.bluez.Error.DoesNotExist
74
org.bluez.Error.InvalidArguments
76
Properties string Name[readwrite]
78
The Bluetooth network server name.
80
boolean Enable[readwrite]
82
Indicates if the server is Enabled/Disabled.
86
The Bluetooth network server UUID 128 identification.
70
Methods void Register(string uuid, string bridge)
72
Register server for the provided UUID. Every new
73
connection to this server will be added the bridge
76
Valid UUIDs are "gn", "panu" or "nap".
78
Initially no network server SDP is provided. Only
79
after this method a SDP record will be available
80
and the BNEP server will be ready for incoming
83
void Unregister(string uuid)
85
Unregister the server for provided UUID.
87
All servers will be automatically unregistered when
88
the calling application terminates.