diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-06-28 13:44:58 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-06-30 12:33:23 +0300 |
commit | 7e41dd2d7527a1315fb64e8c2d02583405b986bf (patch) | |
tree | 0ec57077a74abddfcd8033496aef6020ac566108 /client/gatt.h | |
parent | 5dbe747450136e7178482e04f8ea9a8985c9fbe5 (diff) | |
download | bluez-7e41dd2d7527a1315fb64e8c2d02583405b986bf.tar.gz |
client: Add register-descriptor command
This adds register-descriptor which can be used to register
descriptors to a characteristic registered with register-characteristic:
register-descriptor 8260c653-1a54-426b-9e36-e84c238bc669 read,write
[NEW] Descriptor
/org/bluez/app/service0x902610/chrc0x91d690/desc0x9095a0
8260c653-1a54-426b-9e36-e84c238bc669
Vendor specific
[/org/bluez/app/service0x902610/chrc0x91d690/desc0x9095a0] Enter value: 00
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 0acce4d20..4d1e63f88 100644 --- a/client/gatt.h +++ b/client/gatt.h @@ -52,3 +52,5 @@ void gatt_unregister_service(DBusConnection *conn, GDBusProxy *proxy, void gatt_register_chrc(DBusConnection *conn, GDBusProxy *proxy, wordexp_t *w); void gatt_unregister_chrc(DBusConnection *conn, GDBusProxy *proxy, wordexp_t *w); + +void gatt_register_desc(DBusConnection *conn, GDBusProxy *proxy, wordexp_t *w); |