summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-03-08 18:03:38 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-03-08 18:03:38 +0000
commitb1d57917a789e9b713f6a7faefba2f72285505c0 (patch)
tree50855caf8442002787ac1b4a01d33a1318b44927 /hcid/dbus-api.txt
parentf246ad8aecda4521cc271e04a91f163d729e459d (diff)
Add methods and signals for the connection state
Diffstat (limited to 'hcid/dbus-api.txt')
-rw-r--r--hcid/dbus-api.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt
index 8d190153..82317eac 100644
--- a/hcid/dbus-api.txt
+++ b/hcid/dbus-api.txt
@@ -223,6 +223,20 @@ Methods string GetAddress()
Possible errors: none
+ boolean IsConnected(string address)
+
+ Return true if the local adapter is connected to
+ the remote device.
+
+ Possible errors: none
+
+ array{string} ListConnections()
+
+ Returns a list with addresses of currently connected
+ remote devices.
+
+ Possible errors: none
+
string GetMajorClass()
Returns the current major class value for this
@@ -613,6 +627,16 @@ Signals void ModeChanged(string mode)
signal will indicate that the alias is no longer
valid.
+ void RemoteDeviceConnected(string address)
+
+ This signal will be send if a low level connection
+ between two devices has been created.
+
+ void RemoteDeviceDisconnected(string address)
+
+ This signal will be send if a low level connection
+ between two devices has been terminated.
+
void BondingCreated(string address)
Signals that a successful bonding has been created.