Parent: 2c3bba7b38be03834162e34069156f1fd49f0528
Author: Szymon Janc <szymon.janc@codecoup.pl>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2018-03-29 14:20:11
Tree: 87e22692148120090c347fbc694ff2f1ec8de043
gatt: Add support for storing Service Changed CCC value This adds support for storing CCC value of Service Changed characteristic. Once bluetoothd is restart stored values are read and any device subscribed to indications will receive Service Changed indication with 0x00010-0xffff value. This is to invalidate any non-core services since there is no way to verify if applications will register their services in same order (or at all). This fix accessing invalid handles by stacks that rely only on Service Changed indication for rediscovery ie. Apple iOS.
Diffstat
| M | doc/settings-storage.txt | | | 8 | ++++++++ |
| M | src/adapter.c | | | 3 | +++ |
| M | src/device.c | | | 78 | ++++++++++++++++++++++++++++++++++++++++ |
| M | src/device.h | | | 6 | ++++++ |
| M | src/gatt-database.c | | | 85 | ++++++++++++++++++++++++++++++++++++++++- - |
| M | src/gatt-database.h | | | 2 | ++ |
6 files changed, 180 insertions(+), 2 deletions(-)