From d319095eb8b9119db839abde6676a206913f4d3b Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Wed, 1 Nov 2006 21:51:39 +0000 Subject: Added AddServiceRecord and RemoveServiceRecord --- hcid/dbus-api.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'hcid/dbus-api.txt') diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt index 9b87cd34..c3a7026d 100644 --- a/hcid/dbus-api.txt +++ b/hcid/dbus-api.txt @@ -196,6 +196,27 @@ Methods uint32 InterfaceVersion() must match the same value that has been used on registration. + uint32 AddServiceRecord(string path, array{byte}) + + Add a new service record to the service agent + and returns the assigned handle. + + The path parameter is the object path of the + service agent. The second parameter is the binary + representation of a service record. If the service + agent is running the service record will be automatically + registered, otherwise the record will be available + when the service agent Start method is called. + + + void RemoveServiceRecord(string path, uint32 handle) + + Remove a service record from the service agent + records list. + + The path parameter is the object path of the service + agent. The second parameter is service record handle. + Signals void AdapterAdded(string path) Parameter is object path of added adapter. -- cgit