Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
I am new to STM32WB15CC and am using the STM32WB15CC NUCLEO board. I successfully ran the BLE example `p2pserver` on my board, where the device is discoverable, and I can control the LED via the STM BLE application. However, when I created my own project and enabled STM32WPAN BLE, the device is not discoverable.
In my custom project, I used the STM32CubeMX tool, which generated various BLE-related files, including `app_ble.c`. In that file, the following code for discovery was generated:
BleApplicationContext.BleApplicationContext_legacy.advtServUUID[0] = NULL;
BleApplicationContext.BleApplicationContext_legacy.advtServUUIDlen = 0;
I havenβt made many changes to the generated code apart from initializing BLE. However, I am unsure if additional configurations are required for the device to be discovered by scanning apps (Iβve tried the STM BLE app as well as other BLE scanning tools, and none detect the device). There are no error messages or logs during compilation or runtime.
Can you help identify what might be missing or misconfigured in my custom project compared to the working example? Specifically, what could prevent my custom BLE project from being discoverable?
CONTRIBUTE TO THIS THREAD