Commit: 01a0c62890b8475ee7af228bca019920f68da6e8
Parent: d54f76a710d456cb8b2cc42478ae3e15de749afe
Author: Arman Uguray <armansito@chromium.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-09-24 10:55:08
Tree: 380451bf257cf64054a6f1f7bdb2055341519dcb

shared/gatt-client: Add bt_gatt_client_set_service_changed. This patch introduces the bt_gatt_client_set_service_changed function which allows upper layers to register a callback with gatt-client for "Service Changed" events. The callback gets invoked for each indication from the Service Changed characteristic after service discovery within the changed range has completed and gatt-client's service cache has been updated.

Diffstat

M src/shared/gatt-client.c | 41 ++++++++++++++++++++++++++++++++++++- - - - -
M src/shared/gatt-client.h | 7 +++++++

2 files changed, 43 insertions(+), 5 deletions(-)

View Full Diff | Patch