Tool/software:
When I try to pair a device again after deleting its bonding information (after it has successfully completed OOB pairing once), an error occurs.
Even reflashing the code does not resolve the issue.
Do you have any idea what might be causing this?
Details:
1. Confirmed that the GAPBOND_PAIRING_STATE_COMPLETE event reports SUCCESS.
2. Called GAPBondMgr_SetParameter(GAPBOND_ERASE_ALLBONDS, D_NULL_, D_NULL_) and confirmed the return value is SUCCESS.
3. When attempting to pair again, the GAPBOND_PAIRING_STATE_COMPLETE event returns SMP_PAIRING_FAILED_UNSPECIFIED, and the pairing fails.
This bug does not always occur and is difficult to reproduce.
However, once it occurs, it will occur every time. Re-flashing the code does not fix it.