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

Is it possible to scan based on manufacturer-specific filter in SDK 16?

I'm planning not to have a device name UUID in the advertisement packet, instead set scan filter based on manufacturer-specific data. Is this possible in SDK16? If so please let me know how?

  • Yes this is possible, use the nrf_ble_scan library and call nrf_ble_scan_filter_set(&m_scan, SCAN_UUID_FILTER, &target_uuid), where the uuid is stored in the struct target_uuid. Look at nRF5_SDK_16.0.0_98a08e2\examples\ble_central_and_peripheral\experimental\ble_app_multirole_lesc\main.c, to see how it can be done.

    Best regards,

    Simon

Related