:orphan: .. title:: CONFIG_BT_SETTINGS_CCC_STORE_ON_WRITE .. kconfig:: CONFIG_BT_SETTINGS_CCC_STORE_ON_WRITE CONFIG_BT_SETTINGS_CCC_STORE_ON_WRITE ##################################### *Store CCC value immediately after it has been written* Type: ``bool`` Help ==== .. code-block:: none Store Client Configuration Characteristic value right after it has been updated. By default, CCC is only stored on disconnection. Choosing this option is safer for battery-powered devices or devices that expect to be reset suddenly. However, it requires additional workqueue stack space. Direct dependencies =================== \ :kconfig:`BT_CONN ` && \ :kconfig:`BT_SETTINGS ` && \ :kconfig:`BT_HCI_HOST ` && \ :kconfig:`BT_HCI ` && \ :kconfig:`BT ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/bluetooth/host/Kconfig:151`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:9`` → ``/bluetooth/Kconfig:174`` Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Store Bluetooth state and configuration persistently .. code-block:: kconfig config BT_SETTINGS_CCC_STORE_ON_WRITE bool "Store CCC value immediately after it has been written" depends on BT_CONN && BT_SETTINGS && BT_HCI_HOST && BT_HCI && BT help Store Client Configuration Characteristic value right after it has been updated. By default, CCC is only stored on disconnection. Choosing this option is safer for battery-powered devices or devices that expect to be reset suddenly. However, it requires additional workqueue stack space. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*