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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/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.)