2022-07-28 12:53 AM
I use the CUBEMX create a project of BLE and FreeRtos ,
when i send aci_gap_update_adv_data ,it return 145,I don't find the meaning of code in the aci/hci interface.
And i can see it in the BEL profile App, But I can not connect it. it return connect time out or cannot establish connection.
Below is the print debug infomation
�Wireless Firmware version 1.14.0
Wireless Firmware build 5
FUS version 1.2.0
>>== SHCI_SUB_EVT_CODE_READY
>>== WIRELESS_FW_RUNNING
>>== DBGMCU_GetRevisionID= 2001
Success: SHCI_C2_BLE_Init command
==>> Start Ble_Hci_Gap_Gatt_Init function
Success: hci_reset command
Success: aci_hal_write_config_data command - CONFIG_DATA_PUBADDR_OFFSET
Public Bluetooth Address: 00:80:e1:26:c8:e1
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: 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
Device Information Service (DIS) is added Successfully 000C
Manufacturer Name Characteristic Added Successfully 000D
Heart Rate Service (HRS) is added Successfully 000F
Heart Rate Measurement Characteristic Added Successfully 0010
Sensor Location Characteristic Added Successfully 0013
Control Point Characteristic Added Successfully 0015
==>> aci_gap_set_discoverable - Success
==>> Start Fast Advertising Failed , result: 145
2023-01-18 10:20 PM
@CKai.1 Did you have any success? I am experiencing the same issue. Sometimes I get error code 146 as well. I did find this but these codes don't appear on there: https://documentation.help/BlueNRG-MS/group___e_r_r_o_r___c_o_d_e_s.html
2023-11-09 03:44 AM
Did someone fixed it?
2024-06-28 02:26 AM - edited 2024-06-28 04:24 AM
I am having the same issue.
The following post resolved the issue for me:
https://community.st.com/t5/stm32-mcus-wireless/ble-start-fast-advertising-failed/td-p/572914?lightbox-message-images-606403=57841i74C06F13726E9E2C