diff options
| -rw-r--r-- | hcid/dbus-api.txt | 9 | ||||
| -rw-r--r-- | hcid/dbus-service.c | 4 | 
2 files changed, 6 insertions, 7 deletions
| diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt index 6c0896d6..84a027b4 100644 --- a/hcid/dbus-api.txt +++ b/hcid/dbus-api.txt @@ -167,10 +167,9 @@ Methods		uint32 InterfaceVersion()  					 org.bluez.Error.Failed  					 org.bluez.Error.OutOfMemory -		array{string} ListServices() [experimental] +		array{string} ListServices() -			Returns list of object paths of registered -			service agents. +			Returns list of object paths of current services.  			Possible errors: org.bluez.Error.InvalidArguments @@ -232,11 +231,11 @@ Signals		void AdapterAdded(string path)  			Parameter is object path of the new default adapter. -		void ServiceRegistered(string path) [experimental] +		void ServiceAdded(string path)  			Parameter is object path of registered service agent. -		void ServiceUnregistered(string path) [experimental] +		void ServiceRemoved(string path)  			Parameter is object path of unregistered service agent. diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c index 5ccad203..d837308c 100644 --- a/hcid/dbus-service.c +++ b/hcid/dbus-service.c @@ -754,7 +754,7 @@ int register_service(char *path, struct service *service)  	services = g_slist_append(services, strdup(obj_path));  	signal = dbus_message_new_signal(BASE_PATH, MANAGER_INTERFACE, -					"ServiceRegistered"); +						"ServiceAdded");  	if (!signal)  		return -ENOMEM; @@ -806,7 +806,7 @@ static void release_service(struct service *service)  	DBusMessage *signal;  	signal = dbus_message_new_signal(BASE_PATH, MANAGER_INTERFACE, -					"ServiceUnregistered"); +						"ServiceRemoved");  	if (signal) {  		dbus_message_append_args(signal,  					DBUS_TYPE_STRING, &service->object_path, | 
