diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-07-02 18:42:24 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-07-05 14:26:01 +0300 |
commit | 25360fe34f440412138a3bf09d3c34577787df21 (patch) | |
tree | 16ed0eb41f24fce84f65078145028326d40a3fa3 /client/gatt.h | |
parent | b41cf317ac7290c4600f8bf30e6ff2242215ba35 (diff) | |
download | bluez-25360fe34f440412138a3bf09d3c34577787df21.tar.gz |
client: Add release-write command
This adds release-write command which closes an existing fd unlocking
the attribute:
[Test peripheral:/service001f/char0020]# release-write
[CHG] Attribute /org/bluez/hci1/dev_00_1B_DC_07_31_88/service001f/char0020 WriteAcquired: no
Diffstat (limited to 'client/gatt.h')
-rw-r--r-- | client/gatt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/gatt.h b/client/gatt.h index 713d34fd7..68270577e 100644 --- a/client/gatt.h +++ b/client/gatt.h @@ -39,6 +39,7 @@ void gatt_write_attribute(GDBusProxy *proxy, const char *arg); void gatt_notify_attribute(GDBusProxy *proxy, bool enable); void gatt_acquire_write(GDBusProxy *proxy, const char *arg); +void gatt_release_write(GDBusProxy *proxy, const char *arg); void gatt_add_manager(GDBusProxy *proxy); void gatt_remove_manager(GDBusProxy *proxy); |