From b1d57917a789e9b713f6a7faefba2f72285505c0 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 8 Mar 2006 18:03:38 +0000 Subject: Add methods and signals for the connection state --- hcid/dbus-api.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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. -- cgit