Hi,all
How to filter the scanned broadcasters by short name ?
I have been set 'CNT' define, and compiled without any errors,and it worked, but the filtering strategy didn't work
My code is as follows:
err_code = nrf_ble_scan_filter_set(&m_scan,SCAN_SHORT_NAME_FILTER,&m_target_periph_short_name);
APP_ERROR_CHECK(err_code);
err_code = nrf_ble_scan_filters_enable(&m_scan,NRF_BLE_SCAN_SHORT_NAME_FILTER,false);
APP_ERROR_CHECK(err_code);
Thanks!