CONFIG_BT_SETTINGS_CCC_LAZY_LOADING

Load CCC values from settings when peer connects

Type: bool

Help

Load Client Configuration Characteristic setting right after a bonded device connects. Disabling this option will increase memory usage as CCC values for all bonded devices will be loaded when calling settings_load.

Direct dependencies

BT_SETTINGS && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/bluetooth/host/Kconfig:192

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:6subsys/bluetooth/Kconfig:160

Menu path: (Top) → Bluetooth → Store Bluetooth state and configuration persistently

config BT_SETTINGS_CCC_LAZY_LOADING
    bool "Load CCC values from settings when peer connects"
    default y
    depends on BT_SETTINGS && BT_HCI_HOST && BT_HCI && BT
    help
      Load Client Configuration Characteristic setting right after a bonded
      device connects.
      Disabling this option will increase memory usage as CCC values for all
      bonded devices will be loaded when calling settings_load.

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