Parent: b2e75916392e77f5c2224b7c8caa9b8e6c59b2c9
Author: Curtis Maves <curtis@maves.io>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-04-14 00:23:08
Tree: b7488dc5aa1d5179e70af71c6939491fd49371ce
gatt: Either notify or indicate, do not do both AcquireNotify and StartNotify starts notifications and/or indications by whether the characteristic supports them. Before this patch, if both were supported, Bluez would try to start both simultaneously. This patch changes this behavior so if both are supported, only notifications are started. Test cases have also be updated accordingly.
Diffstat
| M | src/shared/gatt-client.c | | | 10 | +++++- - - - - |
| M | unit/test-gatt.c | | | 43 | +++++++++++++++++++++++++++++- - - - - - - - - - - - - - |
2 files changed, 34 insertions(+), 19 deletions(-)