GATT : Fix Server disconnection state change callback 43/302443/1 accepted/tizen/7.0/unified/20231208.173557
authorAnuj Jain <anuj01.jain@samsung.com>
Fri, 7 Oct 2022 06:51:45 +0000 (12:21 +0530)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 7 Dec 2023 00:01:41 +0000 (09:01 +0900)
commit21195318604b38c354c6214a50decea4ed646747
tree1b36ee719bdc991c9ff56e345edf916225870f56
parent76c045466bc584cb77b238fd971246a41d5f3b75
GATT : Fix Server disconnection state change callback

This patch fixes the issue of GATT server disconnection callback not
received when server connection state change callback is set using
bt_gatt_server_set_connection_state_changed_cb.

This patch also adds some INVALID_INPUT_PARAMETER checks to new GATT
APIs.

Change-Id: Ie651f9822702a7a15c327361cff8ebd34c156613
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
src/bluetooth-common.c
src/bluetooth-gatt.c