:orphan: .. title:: BT_KEYS_OVERWRITE_OLDEST .. option:: CONFIG_BT_KEYS_OVERWRITE_OLDEST *Overwrite oldest keys with new ones if key storage is full* Type: ``bool`` Help ==== With this option enabled, if a pairing attempt occurs and the key storage is full, then the oldest keys in storage will be removed to free space for the new pairing keys. Direct dependencies =================== \ :option:`BT_SMP ` && \ :option:`BT_CONN ` && \ :option:`BT_HCI_HOST ` && \ :option:`BT_HCI ` && \ :option:`BT ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== .. highlight:: kconfig At ``subsys/bluetooth/host/Kconfig:489`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:9`` → ``subsys/bluetooth/Kconfig:239`` Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Security Manager Protocol support .. parsed-literal:: config BT_KEYS_OVERWRITE_OLDEST bool "Overwrite oldest keys with new ones if key storage is full" depends on \ :option:`BT_SMP ` && \ :option:`BT_CONN ` && \ :option:`BT_HCI_HOST ` && \ :option:`BT_HCI ` && \ :option:`BT ` help With this option enabled, if a pairing attempt occurs and the key storage is full, then the oldest keys in storage will be removed to free space for the new pairing keys. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*