summaryrefslogtreecommitdiff
path: root/doc/device-api.txt
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-09-25 11:12:38 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-09-25 12:40:42 +0300
commitfee1eda5a5f846b8323ec315653bfc3f2d4cc2ae (patch)
tree53c175f200453b59699400a62bd6a0ebb332d48f /doc/device-api.txt
parent4be993ccf130ca100f58f6fd4bbb19bc4d7c1c6e (diff)
downloadbluez-fee1eda5a5f846b8323ec315653bfc3f2d4cc2ae.tar.gz
core: Add Device.Connect method
Diffstat (limited to 'doc/device-api.txt')
-rw-r--r--doc/device-api.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/device-api.txt b/doc/device-api.txt
index 1f0dc9615..cd96ef54d 100644
--- a/doc/device-api.txt
+++ b/doc/device-api.txt
@@ -56,6 +56,18 @@ Methods dict GetProperties()
org.bluez.Error.Failed
org.bluez.Error.NotAuthorized
+ void Connect()
+
+ This is a generic method to connect any profiles
+ the remote device supports that can be connected
+ to and have been flagged as auto-connectable on
+ our side.
+
+ Possible errors: org.bluez.Error.NotReady
+ org.bluez.Error.Failed
+ org.bluez.Error.InProgress
+ org.bluez.Error.AlreadyConnected
+
void Disconnect()
This method disconnects a specific remote device by