cancel
Showing results for 
Search instead for 
Did you mean: 

Connect to beacon with STM32WB

HPham.3
Associate II

Hello guys,

I am using STM32WB and also get stuck when I try to enable hci_le_advertising_report_event()

I use examble BLE_MeshLightingRFL and in function Ble_Hci_Gap_Gatt_Init(), I command function aci_gap_create_connection() at the end

It return BLE_STATUS_SUCCESS but the function hci_le_advertising_report_event() don't run. Is there anyway I can fix it.

Thank you.

1 REPLY 1
Remi QUINTIN
ST Employee

I assume a beacon is only advertising in non-connectable mode. So, this is why you cannot connect to it.

A beacon usually uses non-connectable scannable undirected advertisements to broadcast data to be discovered by multiple other BLE devices but without accepting connections.

Now it is not clear whether it is the reason to get stuck within the hci_le_advertising_report_event() function call.