The latest development version of this page may be more current than this released 2.7.5 version.

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 subsys/bluetooth/host/Kconfig:141

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:9subsys/bluetooth/Kconfig:174

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.)