2024-12-19 04:31 AM
Hello.
I have my custom PCB with STM32WB55CEU. This board is tested so I m able to connect and sending data beetween "my PCB" and Smartphone.
Now I have new goal. The goal is to start scan process for nearby devices. I would like to hit breakpoint which is illustrated by the red arrow in the photo below.
So I created new project, configure as Client profile with all default values. Is this configuration sufficient for the system to fulfill its purpose or should I add extra code to this project?
2024-12-19 04:52 AM
@JohnFromKrushevniky wrote:I would like to hit breakpoint which is illustrated by the red arrow in the photo below.
That point is just a variable definition - so there's (probably) no executable code there on which to set a break point.
2024-12-19 05:00 AM - edited 2024-12-19 05:06 AM
I added NOP(). I would like to hit the breakpoint.
As I understand this breakpoint will be reached when the STM32WB55 finds at least one device in its vicinity.
In next step I will be doing further operations.
2024-12-19 06:24 AM - edited 2024-12-19 06:29 AM
Some additional info:
As I can see on example P2P_client example there is a button whitch starts scanning process. I do not have any button on my custom board so I want to start scanning process at once, automatically after MCU initialization.
2024-12-19 06:38 AM
Program never reach this point: