Commit: 02c6fdc7d217560fd598393281ea23fa830503ea
Parent: 4d1d63777cf6a40414758f1b82645cb3b8fa11a2
Author: Marcin Kraglak <marcin.kraglak@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-05-15 17:21:10
Tree: ec4bf5362bbcaa6e2b4dab58634ecacc69c67f0f

shared/gatt: Extend gatt_db_read function If value exists in database, return pointer to it instead of returning false. It is needed because some attributes don't have read_cb callback and their value can be read directly from database.

Diffstat

M android/gatt.c | 3 ++-
M src/shared/gatt-db.c | 24 +++++++++++++++++++++- - -
M src/shared/gatt-db.h | 3 ++-

3 files changed, 25 insertions(+), 5 deletions(-)

View Full Diff | Patch