Commit: d13f579a36e8b4f6ea6f45fbab8b77f368116987
Parent: 5d2baeb644ae34a5fca7d88307f68b2b85c75e63
Author: Konstantin Zhukov <zhukov@mercurydevelopment.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2018-02-12 13:43:34
Tree: 1d6b865ed758ed1c640923ee41cee35a3272b970

shared/gatt-db: Fix declaration attributes permission According to Bluetooth Core specification v4.2 (Vol. 3, part G, section 3.1), service declararion attributes should have only READ permission. The same obligation has charateristic declaration and include service declaration attributes. Without this permission connected clients could corrupt GATT database by writing to declaration attributes. After thatm service discovery fails in other clients.

Diffstat

M src/shared/gatt-db.c | 30 +++++++++++++++++- - - - - - - - - - - - -

1 files changed, 17 insertions(+), 13 deletions(-)

View Full Diff | Patch