diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2007-01-24 09:47:14 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2007-01-24 09:47:14 +0000 | 
| commit | a7fb108bf57554ead567fb0a1b3a7b6db570bbe0 (patch) | |
| tree | f27dbb51cae2cafcd379fe4ed7a3166e77345bfa | |
| parent | 11588ef040b5fa0e1a22cea702eebcf1a80ce472 (diff) | |
Update service register/unregister methods
| -rw-r--r-- | hcid/dbus-api.txt | 14 | 
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. | 
