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!

Parents Reply
  • To reproduce this issue, you can use the nRF5340 Audio DK with the Unicast Server application as-is, without ANY change. I'm testing on a Google Pixel 7a with Android 14.

    I've also tried the following four Kconfig options:

    • CONFIG_BT_ID_UNPAIR_MATCHING_BONDS=y
    • CONFIG_BT_ID_ALLOW_UNAUTH_OVERWRITE=y
    • CONFIG_BT_KEYS_OVERWRITE_OLDEST=y
    • CONFIG_BT_SMP_ALLOW_UNAUTH_OVERWRITE=y

    Unfortunately, none of these options resolved the issue of peripherals becoming invisible after being forgotten.

Children
Related