2021-07-27 12:17 AM
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.
2021-08-17 08:20 AM
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.