2025-08-08 4:00 AM
Hi,
I'm having strange situation with mine BLE application on STM32WB5M module, i.e. Peripheral mode, which has implemented configuration characteristic (write with confirm) according by BLUEST protocol 00000000-000F-11e1-9ab4-0002a5d5c51b.
Client reported, that during write operation to one of config characteristic (activate beep & 30s LCD), STM32 breaks connection, but it happens only on low battery!
I started investigation with debug console, as main objective was to replicate situation, using HopeRF and AT commands as Central (tested before all worked smoothly). Currently I can connect, but I can't proceed the write operation, as STM32 breaks BLE connection with very little feedback (picture), i.e. Reason 0x8. When I used the ST BLE Toolkit, it does work fine though.
What I tried and failed:
- set the same interval, latency and timeout for Phone and HopeRF
- changing the ST BLE stack from 1.18 to 1.21
Thanks for any help.
Marcin
2025-08-08 5:57 AM
Hello,
the error code 0x08 means "Connection Timeout". If I understand correctly, it's working fine with ST Toolbox app. However, it's not working with HopeRF which I assume is a board from competitor?
The second log with Android messages, is it from your own application?
What exactly do you mean by "it happens only on low battery"? Can you please describe it more in detail?
Thank you.
Best regards,
ST support