Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_multiple/src/
Dgatt_server_test.c75 const bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in short_subscribe() local
77 if (notif_enabled) { in short_subscribe()
81 printk("Short notifications %s\n", notif_enabled ? "enabled" : "disabled"); in short_subscribe()
86 const bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in long_subscribe() local
88 if (notif_enabled) { in long_subscribe()
92 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
39 .notif_enabled = notif_enabled,
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify/src/
Dgatt_server_test.c91 const bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in short_subscribe() local
93 if (notif_enabled) { in short_subscribe()
97 printk("Short notifications %s\n", notif_enabled ? "enabled" : "disabled"); in short_subscribe()
102 const bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in long_subscribe() local
104 if (notif_enabled) { in long_subscribe()
108 printk("Long notifications %s\n", notif_enabled ? "enabled" : "disabled"); in long_subscribe()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/sc_indicate/src/
Dperipheral.c33 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in new_svc_ccc_cfg_changed() local
35 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/tests/bsim/bluetooth/host/gatt/notify_stress/src/
Dgatt_server_test.c82 const bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in subscribe() local
84 if (notif_enabled) { in subscribe()
88 printk("Notifications %s\n", notif_enabled ? "enabled" : "disabled"); in subscribe()
/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.c48 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in ccc_cfg_changed() local
50 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.c48 bool notif_enabled = (value == BT_GATT_CCC_NOTIFY); in ccc_cfg_changed() local
50 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, \