Home
last modified time | relevance | path

Searched refs:notif_enabled (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_multiple/src/
Dgatt_server_test.c63 const bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in short_subscribe() local
65 if (notif_enabled) { in short_subscribe()
69 printk("Short notifications %s\n", notif_enabled ? "enabled" : "disabled"); in short_subscribe()
74 const bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in long_subscribe() local
76 if (notif_enabled) { in long_subscribe()
80 printk("Long notifications %s\n", notif_enabled ? "enabled" : "disabled"); in long_subscribe()
/Zephyr-latest/subsys/bluetooth/services/bas/
Dbas.c38 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in blvl_ccc_cfg_changed() local
40 LOG_INF("BAS Notifications %s", notif_enabled ? "enabled" : "disabled"); in blvl_ccc_cfg_changed()
48 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in blvl_status_ccc_cfg_changed() local
51 LOG_INF("BAS Notifications %s", notif_enabled ? "enabled" : "disabled"); in blvl_status_ccc_cfg_changed()
/Zephyr-latest/samples/bluetooth/peripheral_nus/src/
Dmain.c23 static void notif_enabled(bool enabled, void *ctx) in notif_enabled() function
42 .notif_enabled = notif_enabled,
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify/src/
Dgatt_server_test.c79 const bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in short_subscribe() local
81 if (notif_enabled) { in short_subscribe()
85 printk("Short notifications %s\n", notif_enabled ? "enabled" : "disabled"); in short_subscribe()
90 const bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in long_subscribe() local
92 if (notif_enabled) { in long_subscribe()
96 printk("Long notifications %s\n", notif_enabled ? "enabled" : "disabled"); in long_subscribe()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/sc_indicate/src/
Dperipheral.c31 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in new_svc_ccc_cfg_changed() local
33 LOG_DBG("CCC Update: notification %s", notif_enabled ? "enabled" : "disabled"); in new_svc_ccc_cfg_changed()
/Zephyr-latest/subsys/bluetooth/services/
Dhrs.c70 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in hrmc_ccc_cfg_changed() local
72 LOG_INF("HRS notifications %s", notif_enabled ? "enabled" : "disabled"); in hrmc_ccc_cfg_changed()
76 listener->ntf_changed(notif_enabled); in hrmc_ccc_cfg_changed()
Dcts.c109 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in ct_ccc_cfg_changed() local
111 LOG_INF("CTS Notifications %s", notif_enabled ? "enabled" : "disabled"); in ct_ccc_cfg_changed()
114 cts_cb->notification_changed(notif_enabled); in ct_ccc_cfg_changed()
/Zephyr-latest/subsys/bluetooth/services/nus/
Dnus.c39 if (listener->notif_enabled) { in nus_ccc_cfg_changed()
40 listener->notif_enabled((value == 1), listener->ctx); in nus_ccc_cfg_changed()
/Zephyr-latest/samples/bluetooth/mtu_update/peripheral/src/
Dperipheral_mtu_update.c40 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in ccc_cfg_changed() local
42 printk("MTU Test Update: notifications %s\n", notif_enabled ? "enabled" : "disabled"); in ccc_cfg_changed()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings_clear/src/
Dserver.c40 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in ccc_cfg_changed() local
42 LOG_INF("CCC Update: notification %s", notif_enabled ? "enabled" : "disabled"); in ccc_cfg_changed()
/Zephyr-latest/include/zephyr/bluetooth/services/
Dnus.h46 void (*notif_enabled)(bool enabled, void *ctx); member
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/ccc_store/src/
Dperipheral.c46 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in ccc_cfg_changed() local
48 LOG_INF("CCC Update: notification %s", notif_enabled ? "enabled" : "disabled"); in ccc_cfg_changed()
/Zephyr-latest/tests/bsim/bluetooth/host/security/ccc_update/src/
Dperipheral.c47 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in ccc_cfg_changed() local
49 LOG_INF("CCC Update: notification %s", notif_enabled ? "enabled" : "disabled"); in ccc_cfg_changed()
/Zephyr-latest/drivers/serial/
Duart_bt.c357 .notif_enabled = bt_notif_enabled, \