I'm using nrf_ble_scan_filter with automatic connection and multiple filters and it is working just fine. When the automatic connection is made, is there a way to get the device name when a filter matches?
I'm using nrf_ble_scan_filter with automatic connection and multiple filters and it is working just fine. When the automatic connection is made, is there a way to get the device name when a filter matches?
Hi Bill,
you would need to edit nrf_ble_scan.c
in nrf_ble_scan_on_adv_report->nrf_ble_scan_connect_with_target you have p_adv_report from which you can extract the name using the static function adv_short_name_compare to extract the device short name.