:orphan: .. title:: CONFIG_BT_KEYS_SAVE_AGING_COUNTER_ON_PAIRING .. kconfig:: CONFIG_BT_KEYS_SAVE_AGING_COUNTER_ON_PAIRING CONFIG_BT_KEYS_SAVE_AGING_COUNTER_ON_PAIRING ############################################ *Store aging counter every time a successful paring occurs* Type: ``bool`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`BT_SETTINGS ` && \ :kconfig:`BT_KEYS_OVERWRITE_OLDEST ` && \ :kconfig:`BT_SMP ` && \ :kconfig:`BT_CONN ` && \ :kconfig:`BT_HCI_HOST ` && \ :kconfig:`BT_HCI ` && \ :kconfig:`BT ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/bluetooth/host/Kconfig:434`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:9`` → ``/bluetooth/Kconfig:174`` Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Security Manager Protocol support → Overwrite the oldest key if key storage is full .. code-block:: kconfig config BT_KEYS_SAVE_AGING_COUNTER_ON_PAIRING bool "Store aging counter every time a successful paring occurs" depends on BT_SETTINGS && BT_KEYS_OVERWRITE_OLDEST && BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && 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.)*