diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-06-26 13:08:06 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-06-30 12:22:43 +0300 |
commit | bd35ab6bd478354a5ed09d09707ef437819be10f (patch) | |
tree | 1883814c60e9f77840339d93c82b05a3ca89a208 /client/gatt.h | |
parent | 0f47058a6ef734385c592051c501335dad587704 (diff) | |
download | bluez-bd35ab6bd478354a5ed09d09707ef437819be10f.tar.gz |
client: Add unregister-service command
This adds unregister-service which can be used to unregister an
application service registered with register-service:
register-service 00001820-0000-1000-8000-00805f9b34fb
[NEW] Primary Service
/org/bluez/app/service0x92a150
00001820-0000-1000-8000-00805f9b34fb
Internet Protocol Support
[bluetooth]# unregister-service /org/bluez/app/service0x92a150
[DEL] Primary Service
/org/bluez/app/service0x92a150
00001820-0000-1000-8000-00805f9b34fb
Internet Protocol Support
Diffstat (limited to 'client/gatt.h')
-rw-r--r-- | client/gatt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/gatt.h b/client/gatt.h index 7f116dff0..4b9edd58e 100644 --- a/client/gatt.h +++ b/client/gatt.h @@ -46,3 +46,5 @@ void gatt_unregister_app(DBusConnection *conn, GDBusProxy *proxy); void gatt_register_service(DBusConnection *conn, GDBusProxy *proxy, wordexp_t *w); +void gatt_unregister_service(DBusConnection *conn, GDBusProxy *proxy, + wordexp_t *w); |