From b51f694b3da1556d33d188fc9453d38cc2723405 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 15 Mar 2008 00:15:54 +0000 Subject: Add methods for dealing with service record registration --- doc/adapter-api.txt | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt index 56590c8e..d0690ae2 100644 --- a/doc/adapter-api.txt +++ b/doc/adapter-api.txt @@ -149,6 +149,35 @@ Methods dict GetProperties() Possible errors: org.bluez.Error.DoesNotExist + uint32 AddServiceRecord(string record) + + Adds a new service record from the XML description + and returns the assigned record handle. + + Possible errors: org.bluez.Error.InvalidArguments + org.bluez.Error.Failed + + void UpdateServiceRecord(uint32 handle, string record) + + Updates a given service record provided in the + XML format. + + Possible errors: org.bluez.Error.InvalidArguments + org.bluez.Error.NotAvailable + org.bluez.Error.Failed + + void RemoveServiceRecord(uint32 handle) + + Remove a service record identified by its handle. + + It is only possible to remove service records that + where added by the current connection. + + Possible errors: org.bluez.Error.InvalidArguments + org.bluez.Error.NotAuthorized + org.bluez.Error.DoesNotExist + org.bluez.Error.Failed + Signals PropertyChanged(string name, variant value) This signal indicates a changed value of the given -- cgit