2024-12-03 10:36 PM
I tried loading the p2pserver_ota example binary at address 0x08004000 and before that I flashed the application manager at address 0x08000000.When I reset the controller I get these logs at usart1 and my led2 connected to pb11 starts blinking-
==>> Start Ble_Hci_Gap_Gatt_Init function
Success: aci_hal_write_config_data command - CONFIG_DATA_PUBADDR_OFFSET
Public Bluetooth Address: 00:80:e1:2a:b0:9a
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
Success: aci_gap_configure_whitelist command
==>> End Ble_Hci_Gap_Gatt_Init function
Services and Characteristics creation
Success: aci_gatt_add_service command: P2P_Server
Success: aci_gatt_add_char command : LED_C
Success: aci_gatt_add_char command : SWITCH_C
Success: aci_gatt_add_service command: OTA
Success: aci_gatt_add_char command : BASE_ADR
Success: aci_gatt_add_char command : CONF
Success: aci_gatt_add_char command : RAW_DATA
End of Services and Characteristics creation
Success: aci_hal_set_radio_activity_mask command
==>> aci_gap_set_discoverable - Success
==>> Success: Start Advertising
When I press the button1 it shows-
Button 1 pressed
-- P2P APPLICATION SERVER : CAN'T INFORM CLIENT - NOTIFICATION DISABLED
How can I make my mcu work in BLE mode for OTA ,Is there anything I am missing.
2024-12-04 04:04 AM
Hello @suvendusahux
The BLE_p2pServer_ota available now is made to work on the Nucleo-WBA55CG. If you are looking for the example made for the Nucleo-WBA52CG, it should be available on the STM32CubeWBA V1.1.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-12-04 10:51 PM
I am using STM32CubeWBA V1.1.0. with cube ide 1.14.1.
when ever I am using the .bin file from the package its working fine but when ever I am generating my own .bin file using the provided IOC file with the help of cube ide 1.14.1 its not woking.
Do I have to use cube ide 1.12.0 for this STM32CubeWBA V1.1.0. package?
2024-12-05 02:20 AM
2024-12-17 08:58 AM
hi,
In the trace you give, we don't see the connection with a peer device, which would explain why you can't inform the non-existent client.
Do you confirm that you are making a connection before pressing the button?