Parent: bcbbf62021d288d44ee2842fbe91a553777683bc
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-11-28 13:57:29
Tree: d2a46e78be73c0a2a2ba099e56f8894219cb1561
shared/gatt-db: Add high-level functions for client This patch introduces foreach functions to gatt-db for enumerating service, characteristic, and decriptors stored in the database as gatt_db_attribute pointers. This patch also adds functions for extracting service, characteristic, and include declaration data out of matching attributes. This is in preparation for using gatt-db as the attribute cache in shared/gatt-client.
Diffstat
| M | src/shared/gatt-db.c | | | 249 | ++++++++++++++++++++++++++++++++++++++++ |
| M | src/shared/gatt-db.h | | | 42 | ++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 291 insertions(+), 0 deletions(-)