Android 15 introduces bug where bonded devices cannot be disconnected

We use several Nordic chips in our BLE sensors.  We bond to the devices from Android, connect to update configurations, then disconnect such that the device then advertises beacon information periodically.  The problem we just hit with Android 15 (it works in previous Android versions), is once you connect to a bonded device, you cannot disconnect unless you reboot, or manually stop and start bluetooth.  It works fine with non-bonded devices in old Android as well as Android 15.  We know it is a bug in Google's code, but has anyone hit this and have figured out a workaround on the Android side.  Worst case is we have to have the device firmware force the disconnect after a time-period, but that isn't ideal for our use case.

Thanks

  • Hi,

    I see there has been no responses yet here. Is this still unresolved?

    We are unable to reproduce this locally, as disconnection works fine here from Android 15. What phone, and what specific version, is this, and what app, library or other method are you using on the Android side?

    Also, if you have any logs, error messages, sniffer logs or other info highlighting what is happening, it might be possible for us to have a look to see if we find anything to be off.

    If it turns out you that do indeed need a workaround on the nRF for things to work, then at least you could reset the timer when communication does take place, in order to avoid timing out from active sessions. Alternatively, I guess you can provide a custom service where the android can request to the nRF that it wants the nRF to end the connection. Nevertheless, both of these would be a last resort if no other solution is found.

    Regards,
    Terje

Related