Commit: c6d9a1bbbe74f8e50223fcbd98bb6390513c1cb9
Parent: 0f3f40bab5c746e8a06c7b2a4d4a4a7fdb99f6d8
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2017-07-05 14:25:49
Tree: c3c3986c9e9ca4f7b368c427aa960683cee6f667

gatt: Add implementation of AcquireWrite This implements AcquireWrite creating a pipe and passing the write fd to the application requesting it: bluetoothd[29915]: src/gatt-client.c:characteristic_create_pipe() AcquireWrite: sender :1.378 io 0x89cdfe0 The fd is monitored and in case the client decides close it, or exit/crash, the daemon detects the HUP and cleanup properly: bluetoothd[29915]: src/gatt-client.c:characteristic_pipe_hup() /org/bluez/hci1/dev_00_1B_DC_07_31_88/service001f/char0020: io 0x89cdfe0

Diffstat

M src/device.c | 8 +++++++-
M src/gatt-client.c | 161 ++++++++++++++++++++++++++++++++++++++++

2 files changed, 168 insertions(+), 1 deletions(-)

View Full Diff | Patch