Hello,
Please let me check about the usage of an IRK for the default setting and how to change an IRK each bonding cycle.
We use the resolvable address for our application, and I've met an issue like the following scenario:
- Connect and bond the nRF device with peer A.
- Delete the bonding information of peer A on the nRF device.
- Connect and bond the nRF device with peer B.
- Connect the nRF device to peer A for re-bonding.
- At this timing, peer A acts as if it has already known the nRF device because nRF's IRK does not change. (the nRF advertises with the resolvable address for peer B, but peer A can also resolve it because IRK is the same as the last session.) So, peer A uses cached handle IDs for GATT protocols, which causes problems on the connection.
Questions which I would like to ask you are:
1. I think the soft device does not change the IRK for all time as a default. Is it correct?
2. Is it possible to renew an IRK bonding cycle?
3. Can you see any problems if we implement to change IRK for this solution? Perhaps, I've just misunderstood privacy features.
If I could get any advice from you, it would be much appreciated.
Thanks,
Daisuke