From a7fb108bf57554ead567fb0a1b3a7b6db570bbe0 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 24 Jan 2007 09:47:14 +0000 Subject: Update service register/unregister methods --- hcid/dbus-api.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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. -- cgit