2021-02-16 09:34 PM
Hi Sir/mdm,
I'm now working on the bluetooth section's code and require some technical support.
End goal is to get the BLE scanner working via GAP_OBSERVER_ROLE to extract BLE advertising(filter by company identifier and major/minor)
Here is the issue and question:
1. I cannot locate any information on GAP_OBSERVER_ROLE setup and application notes for aci_gap_start_observation_proc_process step by step configuration. Below documentation did highlight some info on GAP_OBSERVER_ROLE but very little info is disclosed.
2. Alternative if the question 1 is not an option, I will use the direct test mode to remote the BLUENRG-2(not a good option as it will make customization option complex). I tested the setup via BLUENRG GUI but the provided solutions via following document is not working when I tried to sent the ACI_GAP_INIT, the STEVAL-IDB008V1M unit not giving response.
https://www.st.com/resource/en/user_manual/dm00286976-bluenrg-gui-sw-package-stmicroelectronics.pdf
I have attached the BlueNRG GUI setup for your reference.
2021-02-17 09:11 PM
Please start with clicking "Init Device" button in BlueNRG GUI.
Then the BlueNRG-2 shall be ready to observe BLE advertising packets with ACI_GAP_START_OBSERVATION_PROC.
After executing ACI_GAP_START_OBSERVATION_PROC, the scanned packets are reported in HCI_LE_META_EVENTs, with Subevent_Code equal to HCI_LE_ADVERTISING_REPORT_EVENT.
The procedure shall be terminated by issuing ACI_GAP_TERMINATE_GAP_PROC with Procedure_Code set to 0x80.
Attached my test on STEVAL-IDB008V1 (BlueNRG-2) for reference.