cancel
Showing results for 
Search instead for 
Did you mean: 

Scan result BLE stm32 observer

Aboyh
Associate II

Hello,
I have changed the program based on p2p_client, app_ble.c to a program in which it is only an OBSERVER or BEACON SCANNER 

Aboyh_0-1740124150801.png

Until now I have been able to run the scan function but I don't know how to get or display what device I am scanning.
I have an example with a program from another IDE

Aboyh_1-1740124662816.png

I need the parameters which are MAC address, device name, manufacturer data, and RSSI
Is there anyone who can help me? cc @STTwo-32 

Best Regards,
Aboyh 

1 REPLY 1
STTwo-32
ST Employee

Hello @Aboyh 

To extract and print this data, you should modify the code of the HCI_LE_ADVERTISING_REPORT_SUBEVT_CODE event to extract the required data from the advertising report.

 

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.