diff options
Diffstat (limited to 'doc/device-api.txt')
-rw-r--r-- | doc/device-api.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/device-api.txt b/doc/device-api.txt index 61911f44..f5943b53 100644 --- a/doc/device-api.txt +++ b/doc/device-api.txt @@ -31,6 +31,29 @@ Methods dict GetProperties() Possible Errors: org.bluez.Error.DoesNotExist org.bluez.Error.InvalidArguments + dict DiscoverServices(string pattern) + + This method starts the service discovery to retrieve + remote service records. The pattern parameter can + be used to specific specific UUIDs. + + The return value is a dictionary with the record + handles as keys and the service record in XML format + as values. + + Possible errors: org.bluez.Error.NotReady + org.bluez.Error.Failed + org.bluez.Error.InProgress + + void CancelDiscovery() + + This method will cancel any previous DiscoverServices + transaction. + + Possible errors: org.bluez.Error.NotReady + org.bluez.Error.Failed + org.bluez.Error.NotAuthorized + void Disconnect() This method disconnects a specific remote device by |