Parent: 27f17d4083f725c150f310186ca7d73d29064ccc
Author: Marcin Kraglak <marcin.kraglak@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-06-01 19:30:20
Tree: 4d3aa08aec81a0c34996a054178e560bdbbe24bc
shared/gatt: Return bool in gatt_db_get_attribute_permissions It will return true if attribute with given handle exists in db and set permissions value, otherwise it will return false. Now, if get_permissions failed, we should reply with ATT_ECODE_ATTR_NOT_FOUND.
Diffstat
| M | android/gatt.c | | | 22 | ++++++++++++++++- - - - - - |
| M | src/shared/gatt-db.c | | | 11 | +++++++- - - - |
| M | src/shared/gatt-db.h | | | 3 | ++- |
3 files changed, 25 insertions(+), 11 deletions(-)