summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-30 08:00:55 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-30 08:00:55 +0000
commit304d6c9cc1a23888fc4ec755a9fcc19134642f05 (patch)
treeb4c98835161efc6fa58d0e179afb08c7903502ed /doc
parent95fda45987df20c6603b1c5a068fe46fccf55b6e (diff)
Update new network API
Diffstat (limited to 'doc')
-rw-r--r--doc/network-api.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/network-api.txt b/doc/network-api.txt
index 11a362c6..7b3688b8 100644
--- a/doc/network-api.txt
+++ b/doc/network-api.txt
@@ -11,12 +11,13 @@ Service org.bluez
Interface org.bluez.Network
Object path /{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX
-Methods void Connect()
+Methods string Connect(string uuid)
- Connect to the network device.
+ Connect to the network device and return the network
+ device name.
Possible errors: org.bluez.Error.AlreadyConnected
- org.bluez.Error.ConnectionAttemptFailed
+ org.bluez.Error.ConnectionAttemptFailed
void Disconnect()
@@ -31,6 +32,6 @@ Methods void Connect()
Returns the connection status.
-Signals void Connected()
+Signals void Connected(string device, string uuid)
- void Disconnected()
+ void Disconnected(string device)