mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-25 13:14:14 +08:00
Improve network API documentation
Add information about ways of specifying UUIDs and about disconnect conditions.
This commit is contained in:
parent
5929a3c52d
commit
42d950cabe
@ -17,6 +17,14 @@ Methods string Connect(string uuid)
|
||||
device name. Examples of the device name are bnep0,
|
||||
bnep1 etc.
|
||||
|
||||
uuid can be either one of "gn", "panu" or "nap" (case
|
||||
insensitive) or a traditional string representation of
|
||||
UUID or a hexadecimal number.
|
||||
|
||||
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.AlreadyConnected
|
||||
org.bluez.Error.ConnectionAttemptFailed
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user