CONFIG_BT_GATT_ENFORCE_CHANGE_UNAWARE¶
GATT Enforce change-unaware state
Type: bool
Help¶
When enable this option blocks notification and indications to client
to conform to the following statement from the Bluetooth 5.1
specification:
'...the server shall not send notifications and indications to such
a client until it becomes change-aware."
In case the service cannot deal with sudden errors (-EAGAIN) then it
shall not use this option.
Direct dependencies¶
BT_GATT_CACHING
&& BT_GATT_CACHING
&& BT_CONN
&& BT_HCI_HOST
&& BT_HCI
&& BT
(Includes any dependencies from ifs and menus.)
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <Zephyr>/subsys/bluetooth/host/Kconfig.gatt:110
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:42
→ <Zephyr>/subsys/Kconfig:9
→ <Zephyr>/subsys/bluetooth/Kconfig:323
→ <Zephyr>/subsys/bluetooth/host/Kconfig:450
Menu path: (Top) → Sub Systems and OS Services → Bluetooth → ATT and GATT Options → GATT Service Changed support → GATT Caching support
config BT_GATT_ENFORCE_CHANGE_UNAWARE
bool "GATT Enforce change-unaware state"
depends on BT_GATT_CACHING && BT_GATT_CACHING && BT_CONN && BT_HCI_HOST && BT_HCI && BT
help
When enable this option blocks notification and indications to client
to conform to the following statement from the Bluetooth 5.1
specification:
'...the server shall not send notifications and indications to such
a client until it becomes change-aware."
In case the service cannot deal with sudden errors (-EAGAIN) then it
shall not use this option.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)