

As a reference, when developing with legacy SDK sdk15.2, I always use the following codes to get the units successfully repaired:
Thank you very much!

As a reference, when developing with legacy SDK sdk15.2, I always use the following codes to get the units successfully repaired:
Thank you very much!Hi there,
Have you tried to delete the bonding on the other device and re initiate the pairing process.
regards
Hi there,
Have you tried to delete the bonding on the other device and re initiate the pairing process.
regards
I use bt_unpair to delete the bonding data once the error comes out, but this will lead to a disconnection first, which is not what I expect.
Hi,
Are you calling it while you're already in a connection? Are you deleting the bonding information after the secure connection has already been established?
jhc said:I use bt_unpair to delete the bonding data once the error comes out, but this will lead to a disconnection first, which is not what I expect.
What did you expect instead?
regards
Jared
I want it could be repaired during the connection without reconnecting again by after deleted bonding data.
Hi,
If you're deleting the bond while in a connection, then I think it's expected that it will disconnect.
I'm wondering why you're deleting the bond while in a connection? What is the purpose of this?
regards
Jared
Back to the question of this thread, how to let the pairing continue smoothly (without any reconnection) when I get a BT_SECURITY_ERR_PIN_OR_KEY_MISSING error during the pairing phase.
That is what I expected originally.