Parent: 570c9356a987e1b20feb4f3b8dda31e860cc33ba
Author: Arman Uguray <armansito@chromium.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-09-24 10:54:34
Tree: a3d8b5c6aff0183fc7bb643383c8a785ba4c9fdb
shared/gatt-helpers: Allow service discovery by handle range. This patch adds the "start" and "end" parameters to bt_gatt_discover_primary_services to allow restricting the service discovery procedure to a handle range. Also added the bt_gatt_discover_all_primary_services function which internally calls bt_gatt_discover_primary_services within the handles 0x0001 and 0xffff.
Diffstat
| M | src/shared/gatt-client.c | | | 2 | +- |
| M | src/shared/gatt-helpers.c | | | 40 | ++++++++++++++++++++++++++++++- - - - - - - - - - |
| M | src/shared/gatt-helpers.h | | | 5 | +++++ |
3 files changed, 36 insertions(+), 11 deletions(-)