Commit: 1ebfc68ff53ea5ed5cb424df151bf413c7ffe9be
Parent: f5175e32fcb206d6a48e8302fd737b2dd3b156df
Author: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@codecoup.pl>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2018-05-28 16:29:12
Tree: 4b00fc9d45123a06b1e5bcc3da890520d7e74c60

shared/gatt-server: Request authorization for prepare writes This patch adds gatt-server possibility to request authorization from application if needed and previously wasn't authorized. Authorization is requested by sending message with set prepare write authorization reqest to client.

Diffstat

M src/gatt-database.c | 108 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - -
M src/shared/gatt-server.c | 64 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - -

2 files changed, 142 insertions(+), 30 deletions(-)

View Full Diff | Patch