cancel
Showing results for 
Search instead for 
Did you mean: 

BLE disconnection problem on Android 15

abhi4
Associate II

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).

1 ACCEPTED SOLUTION

Accepted Solutions
abhi4
Associate II

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

View solution in original post

1 REPLY 1
abhi4
Associate II

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