summaryrefslogtreecommitdiffstats
path: root/doc/service-api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/service-api.txt')
-rw-r--r--doc/service-api.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/service-api.txt b/doc/service-api.txt
index 7bfd0ca0..c9489fbb 100644
--- a/doc/service-api.txt
+++ b/doc/service-api.txt
@@ -14,7 +14,7 @@ Service org.bluez
Interface org.bluez.Service
Object path [variable prefix]/{hci0,hci1,...}
-Methods uint32 AddServiceRecord(string record)
+Methods uint32 AddRecord(string record)
Adds a new service record from the XML description
and returns the assigned record handle.
@@ -22,7 +22,7 @@ Methods uint32 AddServiceRecord(string record)
Possible errors: org.bluez.Error.InvalidArguments
org.bluez.Error.Failed
- void UpdateServiceRecord(uint32 handle, string record)
+ void UpdateRecord(uint32 handle, string record)
Updates a given service record provided in the
XML format.
@@ -31,7 +31,7 @@ Methods uint32 AddServiceRecord(string record)
org.bluez.Error.NotAvailable
org.bluez.Error.Failed
- void RemoveServiceRecord(uint32 handle)
+ void RemoveRecord(uint32 handle)
Remove a service record identified by its handle.
@@ -47,7 +47,7 @@ Methods uint32 AddServiceRecord(string record)
Request an authorization for an incoming connection
for a specific service record. The service record
- needs to be registered via AddServiceRecord first.
+ needs to be registered via AddRecord first.
Possible errors: org.bluez.Error.InvalidArguments
org.bluez.Error.NotAuthorized