Commit: bfb77271fff96e2292cd562481520ef3f8700c91
Parent: 5a052da1529915d43d535827c0800b93bf65e66a
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2015-02-22 21:56:07
Tree: 273ef5f99ee18e7c091557173f3e4d5f320ce3ff

shared/gatt-db: Extend API for find attribute requests At the moment if there is no entries matching in data base for find_by_type or find_by_type_value, user will not be notified about that fact. With this patch gatt_db_find_by_type and gatt_db_find_by_type_value will return number of found matching entries

Diffstat

M src/shared/gatt-db.c | 11 +++++++++- -
M src/shared/gatt-db.h | 5 +++- -

2 files changed, 12 insertions(+), 4 deletions(-)

View Full Diff | Patch