:orphan: .. title:: BT_KEYS_SAVE_AGING_COUNTER_ON_PAIRING .. option:: CONFIG_BT_KEYS_SAVE_AGING_COUNTER_ON_PAIRING *Store aging counter every time a successful paring occurs* Type: ``bool`` Help ==== With this option enabled, aging counter will be stored in settings every time a successful pairing occurs. This increases flash wear out but offers a more correct finding of the oldest unused pairing info. Direct dependencies =================== \ :option:`BT_SETTINGS ` && \ :option:`BT_KEYS_OVERWRITE_OLDEST ` && \ :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:496`` 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 → Overwrite oldest keys with new ones if key storage is full .. parsed-literal:: config BT_KEYS_SAVE_AGING_COUNTER_ON_PAIRING bool "Store aging counter every time a successful paring occurs" depends on \ :option:`BT_SETTINGS ` && \ :option:`BT_KEYS_OVERWRITE_OLDEST ` && \ :option:`BT_SMP ` && \ :option:`BT_CONN ` && \ :option:`BT_HCI_HOST ` && \ :option:`BT_HCI ` && \ :option:`BT ` help With this option enabled, aging counter will be stored in settings every time a successful pairing occurs. This increases flash wear out but offers a more correct finding of the oldest unused pairing info. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*