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. If the option is disabled, the CCC is only stored on
disconnection.

Direct dependencies

BT_CONN && BT_SETTINGS && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Subsystem>/bluetooth/host/Kconfig:151

Included via Kconfig:8Kconfig.zephyr:44<Subsystem>/Kconfig:9<Subsystem>/bluetooth/Kconfig:180

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Store Bluetooth state and configuration persistently

config BT_SETTINGS_CCC_STORE_ON_WRITE
    bool "Store CCC value immediately after it has been written"
    default y
    depends on BT_CONN && BT_SETTINGS && BT_HCI_HOST && BT_HCI && BT
    help
      Store Client Configuration Characteristic value right after it has
      been updated. If the option is disabled, the CCC is only stored on
      disconnection.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)