Skip to main content
Associate II
December 23, 2025
Solved

BLE disconnection problem on Android 15

  • December 23, 2025
  • 1 reply
  • 202 views

I enabled the bonding feature in STM32WB5MMGH6TR.

abhi4_0-1766479530563.pngabhi4_1-1766479549092.png

Bonding is working correctly. But when the device(STM32WB) is bonded to phone(Android 15), calling disconnect from the phone does not disconnect the device.

This problem does not occur when:-

1. Phone Android version is less than 15(even after bonding it can disconnect).

2. Device is not bonded to the phone(Android 15).

Best answer by abhi4

It appears that this is the behaviour in Android versions 15 and above. Now, we are calling disconnect from the STM32WB (peripheral) upon receiving a command from the phone.

hci_disconnect(Connection_Handle, 0x13); //called to disconnect

1 reply

abhi4AuthorBest answer
Associate II
January 14, 2026

It appears that this is the behaviour in Android versions 15 and above. Now, we are calling disconnect from the STM32WB (peripheral) upon receiving a command from the phone.

hci_disconnect(Connection_Handle, 0x13); //called to disconnect