This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_BT_KEYS_OVERWRITE_OLDEST

Overwrite the oldest key if key storage is full

Type: bool

Help

If a pairing attempt occurs and the key storage is full then the
oldest key from the set of not currently in use keys will be selected
and overwritten by the pairing device.

Direct dependencies

BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/bluetooth/host/Kconfig:423

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:9subsys/bluetooth/Kconfig:313

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Security Manager Protocol support

config BT_KEYS_OVERWRITE_OLDEST
    bool "Overwrite the oldest key if key storage is full"
    depends on BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      If a pairing attempt occurs and the key storage is full then the
      oldest key from the set of not currently in use keys will be selected
      and overwritten by the pairing device.

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