Improve network API documentation

Add information about ways of specifying UUIDs and about
disconnect conditions.
This commit is contained in:
Paul Fertser 2009-08-11 10:19:13 +04:00 committed by Marcel Holtmann
parent 5929a3c52d
commit 42d950cabe

View File

@ -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