Files
esp-nimble/apps/btshell
Michal Gorecki 7cc8c08d67 nimble/host: Update existing bond while re-pairing
While re-pairing ble_store_config_find_sec function was checking peer address,
ediv and random number. Even if peer address was the same, the bond could be
recognized as not the one we was looking for, because ediv and random number
could be different. This was causting issues when the BLE_STORE_MAX_BONDS syscfg val
was used. Re-pairing to the same device was treated as pairing to the
new device and if current number of bonds was the same as BLE_STORE_MAX_BONDS,
the re-pairing was failing.
2023-03-20 10:05:01 +01:00
..