CONFIG_BT_SETTINGS_CCC_STORE_ON_WRITE

Store CCC value immediately after it has been written

Type: bool

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.

Direct dependencies

BT_SETTINGS && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/bluetooth/host/Kconfig:153

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:8subsys/bluetooth/Kconfig:144

Menu path: (top menu) → Bluetooth → Bluetooth support → Store Bluetooth state and configuration persistently

config BT_SETTINGS_CCC_STORE_ON_WRITE
    bool
    prompt "Store CCC value immediately after it has been written" if BT_SETTINGS && BT_HCI_HOST && BT_HCI && BT
    depends on 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.

(Definitions include propagated dependencies, including from if’s and menus.)