Commit: c536877682fec90f1d74ee60a5851dc566e0195a
Parent: 488a89814af168edf0ee1a230c4981bd09dcb58a
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-12-03 17:06:18
Tree: e4c42d19d6818c647f85d2e0179cd6ae90e05988

shared/gatt-client: Store services in gatt_db This patch rewrites the service discovery logic inside shared/gatt-client. The internal service_list structure has been entirely removed and services are stored in a gatt_db instance. Initially, gatt-client creates and owns the life-time of the gatt_db.

Diffstat

M src/shared/gatt-client.c | 941 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M src/shared/gatt-client.h | 4 +++-
M tools/btgatt-client.c | 15 ++++++++++++++-
M unit/test-gatt.c | 23 +++++++++++++++- - - - - - - -

4 files changed, 457 insertions(+), 526 deletions(-)

View Full Diff | Patch