gatt: Make use of gatt_db_service_add_ccc
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 20 Jan 2022 00:07:33 +0000 (16:07 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:53 +0000 (14:55 +0530)
commit6268efca5165231954dba315e9f9fbb2631faf86
tree464e61698c7007dbd8744efd90bf16d3bb7cde1e
parentddffb40b65e9900fd55bfcfdb0cf709afe1f6074
gatt: Make use of gatt_db_service_add_ccc

This uses gatt_db_service_add_ccc and gatt_db_ccc_register so any ccc
registered with the use of the former gets proper state tracking.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/gatt-database.c