summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-24 09:47:14 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-24 09:47:14 +0000
commita7fb108bf57554ead567fb0a1b3a7b6db570bbe0 (patch)
treef27dbb51cae2cafcd379fe4ed7a3166e77345bfa
parent11588ef040b5fa0e1a22cea702eebcf1a80ce472 (diff)
Update service register/unregister methods
-rw-r--r--hcid/dbus-api.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt
index fad8033e..d6c382ec 100644
--- a/hcid/dbus-api.txt
+++ b/hcid/dbus-api.txt
@@ -170,7 +170,7 @@ Methods uint32 InterfaceVersion()
string FindService(string pattern)
Returns object path for the specified service. Valid
- patterns are well known or unique bus names.
+ patterns are the unqiue identifier or a bus name.
Possible errors: org.bluez.Error.InvalidArguments
org.bluez.Error.NoSuchService
@@ -187,6 +187,18 @@ Methods uint32 InterfaceVersion()
Valid patterns are the same as for FindService(). If
the service is not running it will be started.
+ void RegisterService(string identifier, string name, string description)
+
+ This method registers a new service specified by
+ its unique identifier. This is only needed for
+ services that are not started through the
+ Bluetooth daemon.
+
+ void UnregisterService(string identifier)
+
+ This method unregisters a service specified by
+ its unique identifier.
+
Signals void AdapterAdded(string path)
Parameter is object path of added adapter.