Sterling
DIIDevHeads IoT Integration Server
•Created by Sterling on 10/3/2024 in #firmware-and-baremetal
STM32WB15CC Custom BLE Project Not Discoverable - Missing Configuration?
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:
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?2 replies