summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-09-03 01:00:44 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-09-03 01:00:44 +0200
commit6e5850ae5c0d5085daa5f5326705a7741e209c78 (patch)
treee36993a65083e9acaee0eb8cf1ed1282690c1e2a /doc
parent1fbc4d05ed91b5669d8093badef39b550ae0d9f9 (diff)
Fix wrong method names
Diffstat (limited to 'doc')
-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