commit | d13f579a36e8b4f6ea6f45fbab8b77f368116987 | [log] [tgz] |
---|---|---|
author | Konstantin Zhukov <zhukov@mercurydevelopment.com> | Mon Feb 12 14:40:30 2018 +0400 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Mon Feb 12 13:43:34 2018 +0200 |
tree | 1d6b865ed758ed1c640923ee41cee35a3272b970 | |
parent | 5d2baeb644ae34a5fca7d88307f68b2b85c75e63 [diff] |
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.