STM32WB55RG BLE advertising issue
- March 18, 2023
- 3 replies
- 2171 views
I am using nucleo STM32WB55RG to build an BLE application.
I am having a very weird issue.
At first I create an BLE application using CubeMX.
I used server profile with custom template enabled (You can refer to attached cubemx file .ioc)
The application will start advertising after all setup and init.
I used an android phone with nRF Connect installed on it to scan advertising node.
When I build and debug bare project (project generated from cubeMX without any modification), android phone can successfully see the device (nucleo stm32wb board) advertising.
---> HOWEVER, WHEN I UNPLUGED THE BOARD AND PLUG IT AGAIN (DISCONNECT FROM POWER SOURCE AND CONNECT AGAIN), THE BOARD SENDS ALL DEBUG INFO WITH SUCCESS VIA UART (DEBUG MODE IS ENABLED)
BUT THE PHONE CAN NOT SCAN THE BOARD SUCCESSFULLY.
--> Additional info: when I program the board with BLE_p2pServer example, the above issue did NOT occur@@
Please help me with this problem!!!
Thank you very much