diff options
| -rw-r--r-- | hcid/dbus-api.txt | 17 | ||||
| -rw-r--r-- | hcid/dbus-manager.c | 15 | 
2 files changed, 0 insertions, 32 deletions
| diff --git a/hcid/dbus-api.txt b/hcid/dbus-api.txt index c3a7026d..9464ed05 100644 --- a/hcid/dbus-api.txt +++ b/hcid/dbus-api.txt @@ -179,23 +179,6 @@ Methods		uint32 InterfaceVersion()  			match the same value that has been used on  			registration. -		void RegisterShadowService(string path) - -			This registers a new shadow service agent. The -			service will not be available through ListServices(). - -			The path parameter defines the object path of the -			service agent that will be called when someone -			requests information through org.bluez.Service -			interface. - -		void UnregisterShadowService(string path) - -			This unregisters a shadow service agent that has -			been previously registered. The path parameter -			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 diff --git a/hcid/dbus-manager.c b/hcid/dbus-manager.c index 6022f97c..4697a51e 100644 --- a/hcid/dbus-manager.c +++ b/hcid/dbus-manager.c @@ -359,19 +359,6 @@ static DBusHandlerResult unregister_service(DBusConnection *conn,  	return send_message_and_unref(conn, dbus_message_new_method_return(msg));  } -static DBusHandlerResult register_shadow_service(DBusConnection *conn, -						DBusMessage *msg, void *data) -{ -	return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; -} - - -static DBusHandlerResult unregister_shadow_service(DBusConnection *conn, -						DBusMessage *msg, void *data) -{ -	return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; -} -  static sdp_buf_t *service_record_extract(DBusMessageIter *iter)  {  	sdp_buf_t *sdp_buf; @@ -550,8 +537,6 @@ static struct service_data methods[] = {  	{ "ListServices",	list_services				},  	{ "RegisterService",	register_service			},  	{ "UnregisterService",	unregister_service			}, -	{ "RegisterShadowService",	register_shadow_service		}, -	{ "UnregistershadowService",	unregister_shadow_service	},  	{ "AddServiceRecord",		add_service_record		},  	{ "RemoveServiceRecord",	remove_service_record		},  	{ NULL, NULL } | 
