Parent: 97719697b1e2b7bd606e6fb822b294ef2a68ad2f
Author: Arman Uguray <armansito@chromium.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-09-24 10:54:51
Tree: 60f824bbf8d07dc482a4e3e94f163585c5d63fe8
shared/gatt-client: Register "Service Changed" handler as part of init. This patch changes shared/gatt-client so that a struct bt_gatt_client registers a handler for indications from the "Service Changed" characteristic at the end of its init sequence if the characteristic was discovered. The handles for the Service Changed characteristic value and the GATT service are stored during discovery.
Diffstat
| M | src/shared/gatt-client.c | | | 103 | ++++++++++++++++++++++++++++++++++++++++- - - - - |
1 files changed, 98 insertions(+), 5 deletions(-)