diff options
author | Lukasz Rymanowski <lukasz.rymanowski@tieto.com> | 2014-04-17 13:57:45 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-04-23 15:15:50 +0200 |
commit | 7ecdd48ab713ff8ad2a31bac1b302ec6d0ae77d8 (patch) | |
tree | 35130c6c9c0c4e3a419da55e7fc5bb9a30a7ef4c /attrib/gatt.c | |
parent | a877e3a20b8be8bdb75357ff1f9249b094834c32 (diff) | |
download | bluez-7ecdd48ab713ff8ad2a31bac1b302ec6d0ae77d8.tar.gz |
attrib: Expose write execute
This is needed to cover Android API
Diffstat (limited to 'attrib/gatt.c')
-rw-r--r-- | attrib/gatt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/attrib/gatt.c b/attrib/gatt.c index e461ab7e2..f5917db1c 100644 --- a/attrib/gatt.c +++ b/attrib/gatt.c @@ -871,6 +871,12 @@ guint gatt_write_char(GAttrib *attrib, uint16_t handle, const uint8_t *value, return prepare_write(long_write); } +guint gatt_execute_write(GAttrib *attrib, uint8_t flags, + GAttribResultFunc func, gpointer user_data) +{ + return execute_write(attrib, flags, func, user_data); +} + guint gatt_reliable_write_char(GAttrib *attrib, uint16_t handle, const uint8_t *value, size_t vlen, GAttribResultFunc func, |