2025-01-08 01:51 AM - last edited on 2025-01-08 10:10 AM by Andrew Neil
Hi,
I am using stm32wba55cg nucleo board, and running the example application BLE_p2pServer. While the serial logs of the board show that the device is in advertisement mode, it can not be discovered on my samsung s20 fe, running android 13.
I tried using different advertisement intervals, but no result.
Please help on this.
2025-01-08 01:56 AM
@VasuJain wrote:it can not be discovered on my samsung s20 fe, running android 13.
Just that particular phone, or also others?
Does that phone discover other things advertising?
2025-01-08 02:10 AM
@Andrew Neil wrote:
@VasuJain wrote:it can not be discovered on my samsung s20 fe, running android 13.
Just that particular phone, or also others?
Does that phone discover other things advertising?
Not just this phone, tried it with 4 other android phones and these werent able to discover
Yes, the phone is able to discover other things advertising. please find the attached screenshot for your reference as follows:
1> Serial logs of the STM32WBA55 nucleo :
2> Screen shot of ST tool box on phone without any filter:
3> Screen shot of ST tool box on phone with "p2p" filter
2025-01-08 02:23 AM
To make your serial log easier to read, reconfigure the terminal to do a Carriage-Return when it receives a Newline.
2025-01-08 02:39 AM
I am sorry for the inconvenience caused.
PFA>
2025-01-08 09:10 AM
Hello @VasuJain
I've tested on my side (with android and IOS phones but unfortunately not the same phone that I don't have). and everything works fine. Also, according to the logs you shared, it seems to be working fine. It maybe something not related to the STM32WBA5. I've found this post, maybe is the same issue. You may post similar post on the same forum.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-01-08 07:39 PM
@STTwo-32 ,
Thank you for replying.
I checked the post mentioned, but it talks more about the connection. I am more concerned over the advertisement scanning on the phone.
In addition to this i tried the following:
- Performed full chip erase
- Removed/Installed the fw_package : STM32Cube_FW_WBA_V1.5.0
- Flashed the BLE_p2pServer_reference.bin
- I was able to see the wba device advertising.
- Imported the example project BLE_p2pServer into cubeide 1.17
- Built and flashed it
- I wasnt able to see the wba device advertising and in debug mode i found that it was stuck in error_handler() after calling BleStack_init();
This time i didnt get any serial logs.
There are some project configuration issues, I am not able to identify as currently i am using the configurations provided in the example application.