If an nRF52832 device and a smartphone are paired and only one of the peers deletes the pairing (bonding) information, an error may occur when reconnecting due to a mismatch in pairing information.
I would like to implement a process that allows the device to spontaneously re-pair in this case. (The user simply performs the same operations on the smartphone as they did for the initial connection.)
I would like to handle two cases: when only the device's pairing information is deleted, and when only the smartphone's pairing information is deleted.
Is such an implementation possible in the device software?
ic: nRF52832
SDK: nRF5 SDK 15.2.0
SoftDevice: s132 6.1.1
Project: ble_app_hrs