From 4baf1de49d3aad2837a968a18a7181d568ff9457 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 29 May 2008 11:43:48 +0000 Subject: Document the DiscoverServices() and CancelDiscovery() methods --- doc/device-api.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'doc/device-api.txt') 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 -- cgit