diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-01-03 12:14:01 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-01-03 12:14:01 +0000 |
commit | 6033ee0c9966238f3732e945841d85ddb5162cc2 (patch) | |
tree | 76d609cb63074d1038187bb29833105493a4517e /hcid/dbus-api.txt | |
parent | d21f13975ab07dcf9ec8b51fd764d1c5a9b76f92 (diff) |
Add disconnection delay and RemoteDeviceDisconnectRequested signal for the DisconnectRemoteDevice method
Diffstat (limited to 'hcid/dbus-api.txt')
-rw-r--r-- | hcid/dbus-api.txt | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt index aa3a34fc..437f2baa 100644 --- a/hcid/dbus-api.txt +++ b/hcid/dbus-api.txt @@ -679,15 +679,22 @@ Methods string GetAddress() void DisconnectRemoteDevice(string address) This method disconnects a specific remote device by - terminating the low-level ACL connection. The use - of this method should be restricted to administrator - use only. + terminating the low-level ACL connection. The use of + this method should be restricted to administrator + use. + + A RemoteDeviceDisconnectRequested signal will be + sent and the actual disconnection will only happen 2 + seconds later. This enables upper-level applications + to terminate their connections gracefully before the + ACL connection is terminated. Possible errors: org.bluez.Error.NotReady org.bluez.Error.Failed org.bluez.Error.NoSuchAdapter org.bluez.Error.InvalidArguments org.bluez.Error.NotConnected + org.bluez.Error.InProgress void CreateBonding(string address) @@ -1001,6 +1008,12 @@ Signals void ModeChanged(string mode) This signal will be send if a low level connection between two devices has been created. + void RemoteDeviceDisconnectRequested(string address) + + This signal will be sent when a low level + disconnection to a remote device has been requested. + The actual disconnection will happen 2 seconds later. + void RemoteDeviceDisconnected(string address) This signal will be send if a low level connection |