shared/gatt-server: Add bt_gatt_server_set_authorize
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 25 Apr 2018 12:06:47 +0000 (15:06 +0300)
committerhimanshu <h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:57:47 +0000 (14:27 +0530)
commit118786cae7874eeab7c6e42bdfa78290fd238491
treeeed630ab7b29b244f763c87efd6bf2b3f041ae79
parente6a695530edbce76086ccbd1a0ff77a1d74a591f
shared/gatt-server: Add bt_gatt_server_set_authorize

bt_gatt_server_set_authorize can be used to set the callback to
authorize attribute operations which is required in order to send
out of sync error as that has to happen even in case the handle is
not valid.

Change-Id: I884c18492254b8401966a83b448e965b3f244bd6
Signed-off-by: himanshu <h.himanshu@samsung.com>
src/shared/gatt-server.c
src/shared/gatt-server.h