2025-12-23 1:01 AM
I enabled the bonding feature in STM32WB5MMGH6TR.
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).
Solved! Go to Solution.
2026-01-14 1:51 AM
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
2026-01-14 1:51 AM
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