diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-05-29 11:43:48 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-05-29 11:43:48 +0000 |
commit | 4baf1de49d3aad2837a968a18a7181d568ff9457 (patch) | |
tree | 7e5b73393ba8f002ab4d1fbf0197e068cadb31b0 /doc/device-api.txt | |
parent | 30412071a518a8ba5ea7889a7781095b1424018e (diff) |
Document the DiscoverServices() and CancelDiscovery() methods
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 |