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_CONN && BT_SETTINGS && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/subsys/bluetooth/host/Kconfig:141

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:306

Menu path: (Top) → Sub Systems and OS Services → 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_CONN && 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.)