DK : 52840
case :
we make 52840 enter active scan state and know other broadcaster devcice mac,
can we use scan filter policy filter this broadcaster devcice ,and only send scan req command to this device?
DK : 52840
case :
we make 52840 enter active scan state and know other broadcaster devcice mac,
can we use scan filter policy filter this broadcaster devcice ,and only send scan req command to this device?
Hi,
You can use scanning with whitelist. The following configuration should give you the expected behavior:
ble_gap_scan_params_t::active = 1;
ble_gap_scan_params_t::filter_policy = BLE_GAP_SCAN_FP_WHITELIST;
Here is a reference on how to use the whitelist for scanning:
https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___b_l_e___g_a_p___w_l___s_h_a_r_e___m_s_c.html
So for instance:
Kenneth
Hi,
You can use scanning with whitelist. The following configuration should give you the expected behavior:
ble_gap_scan_params_t::active = 1;
ble_gap_scan_params_t::filter_policy = BLE_GAP_SCAN_FP_WHITELIST;
Here is a reference on how to use the whitelist for scanning:
https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___b_l_e___g_a_p___w_l___s_h_a_r_e___m_s_c.html
So for instance:
Kenneth