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 Children
  • I found I need to set the filter at nrf_ble_scan_filter_set, I want to know how I should set the uuid filter. As the example using nus, which it set the filter uuid to 0x0001 and what is the type? Is that the type of the eddystone packet same as nus? Moreover, if the packet matches the filter, it will connect to the device, if I want to avoid connection, what should I do?

Related