Parent: 454650bdadae60573c4d52249814eed4dfab21b4
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-12-09 14:49:08
Tree: 22afe261eceef84638767d0ddf81b1bd9955d3f8
shared/gatt-db: Add UUID arg to foreach_service This patch adds the "uuid" argument to gatt_db_foreach_service, which invokes the callback for a service only if "uuid" is NULL or if it matches the GATT service UUID.
Diffstat
| M | src/shared/gatt-db.c | | | 19 | ++++++++++++++++- - - |
| M | src/shared/gatt-db.h | | | 6 | ++++- - |
| M | tools/btgatt-client.c | | | 9 | ++++- - - - - |
| M | tools/btgatt-server.c | | | 2 | +- |
| M | unit/test-gatt.c | | | 4 | ++- - |
5 files changed, 27 insertions(+), 13 deletions(-)