Peripheral Not Reconnecting After Being Forgotten by Central Device

I’m working with the nRF5340 and nNF Connect SDK 2.6.1. I’m encountering an issue where, after a central device (e.g. an Android phone) forgets a bonded peripheral device using nRF5340, the peripheral device becomes invisible to the central device. It no longer appears in the “Available devices” list within the Android Bluetooth settings.

It seems the peripheral still believes it’s bonded to the central device after being forgotten. Since the peripheral does not recognize it has been forgotten by the central device, it does not clear the bonding information.I have tried CONFIG_BT_SMP_ALLOW_UNAUTH_OVERWRITE=y based on this post similar to my situation, but this hasn't resolved the problem.

Is there a way to allow the peripheral to be rediscovered by the central device?

Any insights or suggestions would be greatly appreciated!

Related