This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using NRF52832 as eddystone scanner

Hi all,

I am working on eddystone scanner and I follow this post to start with. However, I have some problems:

1. The device isn't scanning without any modification of the code. In the ble_app_uart_c programe, scan_start in main is called but nrf_ble_scan_start isn't working.

2. The post said using ble_advdat_uuid_find() can find the uuid, but I don't know where the function is from or it is deprecated in sdk 15.2.

3. I added BLE_GAP_EVT_ADV_REPORT case in my Handler, but I want to know the function on_adv_report is a self-defined function or not?

Best regards,

Marco

Parents Reply
  • Thank you for your reply. I have found the problem is that nrf_log_info is not working, and after I use printf, I can see the scanner working and always enter BLE_GAP_EVT_ADV_REPORT. Sorry for making this silly problem. Another question is that is the  BLE_GAP_EVT_ADV_REPORT is enter when it detect a bluetooth device? And can I filter the device by modifying scan_param?

Children
Related