This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE Scan filter using MAC address

Hi,

I am using nRF52840 Preview DK  with SDK v15.3.0 and SoftDevice API v6.1.1

I want to set a filter in the ble scan to connect only to the specified MAC address, 

my device MAC address is DC:C4:BE:B7:49:17

so, on the central side I have written the code like this

err_code = nrf_ble_scan_filter_set(&m_scan, SCAN_ADDR_FILTER, "DCC4BEB74917");

am I doing this correctly, the device doesn't connect 

Parents Reply Children
No Data
Related