2025-08-18 6:38 PM - edited 2025-08-18 8:27 PM
I followed the tutorial from this video: https://www.youtube.com/watch?v=6JPys9B497c to practice setting up BLE.
After flashing to the NUCLEO-WBA55CG, the ST BLE Toolbox app still cannot detect the device.
I also noticed that after it executes: UTIL_LPM_EnterLowPower(); the program seems to stop.
From the UART1 log, I only see:
==>> Start Ble_Hci_Gap_Gatt_Init function
Success: aci_hal_write_config_data command - CONFIG_DATA_PUBADDR_OFFSET
Public Bluetooth Address: 00:08:e1:2a:12:34
Success: aci_hal_write_config_data command - CONFIG_DATA_IR_OFFSET
Success: aci_hal_write_config_data command - CONFIG_DATA_ER_OFFSET
Success: aci_hal_set_tx_power_level command
Success: aci_gatt_init command
Success: aci_gap_init command
Success: aci_gatt_update_char_value - Device Name
Success: aci_gatt_update_char_value - Appearance
Success: hci_le_set_default_phy command
Success: aci_gap_set_io_capability command
Success: aci_gap_set_authentication_requirement command
==>> End Ble_Hci_Gap_Gatt_Init function
Is there anything else I should check to make the device discoverable in ST BLE Toolbox?
Here are the tool versions I am using:
STM32CubeIDE v1.19.0
STM32Cube_FW_WBA 1.7.0
STM32CubeMX 6.15
Solved! Go to Solution.
2025-08-19 12:39 PM
Hello @Kenwang
After adding the two parts of code mentioned on the video (on the same position as described on the video), I’ve personally seen the same problem. But following those steps:
It works fine now on my side.
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-08-18 11:56 PM
Hello,
the app can't detect the device because there is no function for starting the advertising in the project.
Thus, the MCU goes automatically in low power mode when there is no pending task.
I recommend checking the WBA package where you can find many examples and compare it to your project.
(please look for this function in the examples aci_gap_set_discoverable)
If you have any other question, please don't hesitate to ask.
Best regards,
Filip Kremen
2025-08-19 12:39 PM
Hello @Kenwang
After adding the two parts of code mentioned on the video (on the same position as described on the video), I’ve personally seen the same problem. But following those steps:
It works fine now on my side.
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.