2024-11-09 01:37 AM
Hi there, I am running into trouble when tring to connect my stm32wb55 to other 3rd party peripheral. I use cubeMX and chose client profile to generate the code. Then I modified "OOB_DEMO 1" to "OOB_DEMO 0" in the app_conf.h to make the mcu start scanning automatically. The trace information shows that the scan started properly, but I cannot get any result in the case "HCI_LE_ADVERTISING_REPORT_SUBEVT_CODE". Actually, the program never go into this case.
When I use p2p server profile everyting works fine, I can connect to the mcu with smart phone and exchange data. And I also can connect to 3rd party peripheral with smart phone as well, But the mcu cannot connect to the peripheral as client.
Solved! Go to Solution.
2024-11-21 05:34 AM
Hello @LZi.1
I think you are using an old version of the STM32CubeWB (V1.16.0). Could you please try using the P2P Client example (of the CubeWB V1.20.0) using both OOB_DEMO 1 and OOB_DEMO 0.
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.
2024-11-21 05:34 AM
Hello @LZi.1
I think you are using an old version of the STM32CubeWB (V1.16.0). Could you please try using the P2P Client example (of the CubeWB V1.20.0) using both OOB_DEMO 1 and OOB_DEMO 0.
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.
2024-11-26 05:27 PM
Thank you for your reply. Later I found that the broadcast could be scanned if I keep scanning for serval times.