summaryrefslogtreecommitdiff
path: root/src/gatt-database.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-01-21 12:51:41 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-01-27 17:10:22 -0800
commitb86412b6fedfb49c4fd10f846650fe2860723f7c (patch)
treeacce38706ce6dd070a805e3ab0aa5c2d089bad95 /src/gatt-database.c
parent88e062f14359ef1b0489a3fb521ba6fd8bbb8ceb (diff)
downloadbluez-b86412b6fedfb49c4fd10f846650fe2860723f7c.tar.gz
shared/gatt-db: Introduce gatt_db_attribute_notify
This introduces gatt_db_attribute_notify which can be used to trigger a notification using the callback set by gatt_db_ccc_register.
Diffstat (limited to 'src/gatt-database.c')
-rw-r--r--src/gatt-database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gatt-database.c b/src/gatt-database.c
index 25641da8a..dc75762f3 100644
--- a/src/gatt-database.c
+++ b/src/gatt-database.c
@@ -1302,7 +1302,7 @@ static void populate_devinfo_service(struct btd_gatt_database *database)
static void register_core_services(struct btd_gatt_database *database)
{
gatt_db_ccc_register(database->db, gatt_ccc_read_cb, gatt_ccc_write_cb,
- database);
+ NULL, database);
populate_gap_service(database);
populate_gatt_service(database);