From 8eafe2e8a9abeaec3c7d32e526303eba45c76922 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Wed, 13 Feb 2013 22:45:38 +0100 Subject: [PATCH] doc: Fix device disconnect description Document what Disconnect() function actually does. --- doc/device-api.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/device-api.txt b/doc/device-api.txt index 19d3fde41..ec126e8d3 100644 --- a/doc/device-api.txt +++ b/doc/device-api.txt @@ -33,10 +33,12 @@ Methods void Connect() void Disconnect() - 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. + This method gracefully disconnects all connected + profiles and then terminates low-level ACL connection. + + ACL connection will be terminated even if some profiles + were not disconnected properly e.g. due to misbehaving + device. Possible errors: org.bluez.Error.NotConnected -- 2.47.3