It seems possible, but I can't quite figure out how to use nrf_ble_scan_filter_set to use more than one device name. Any assistance? Alternatively, is it possible to use wildcards?
Thanks!
It seems possible, but I can't quite figure out how to use nrf_ble_scan_filter_set to use more than one device name. Any assistance? Alternatively, is it possible to use wildcards?
Thanks!
Hi Bill
It should be possible, yes, but you have to set the NRF_BLE_SCAN_NAME_CNT define in sdk_config.h according to how many names you need to support.
Once that is done you can call nrf_ble_scan_filter_set(&m_scan, SCAN_NAME_FILTER, NAME_X) multiple times, going through the list of names that you want to scan for.
Best regards
Torbjørn
Thanks Torbjorn!! That worked just fine. Now (bonus), can I restrict each scan name to just find one instance of that name?
Hi Bill
Sorry for the slow response, I forgot to look over my verified cases...
I don't think this is possible, no. You will get a report for any device matching your filter.
Best regards
Torbjørn