summaryrefslogtreecommitdiffstats
path: root/doc/adapter-api.txt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-03-15 00:15:54 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-03-15 00:15:54 +0000
commitb51f694b3da1556d33d188fc9453d38cc2723405 (patch)
treee0d3c69509d06cb76c77db7b6871c9bb0af63e4e /doc/adapter-api.txt
parentb72732982da4e39545870715dbdc8a7750f3cdf2 (diff)
Add methods for dealing with service record registration
Diffstat (limited to 'doc/adapter-api.txt')
-rw-r--r--doc/adapter-api.txt29
1 files changed, 29 insertions, 0 deletions
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