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

Matched UUID in scan module

Hello all,

I am using NRF52840 and SDK 16 in central mode and  added two UUID filters to the scan module for two different groups of peripherals . My application works fine but I need a way to determine which group of devices I am connected to and I was wondering what is the right way to determine which UUID filter is matched. 

  • Hi Hossein

    The scan module will return an event every time the filter finds a match, called NRF_BLE_SCAN_EVT_FILTER_MATCH. 

    In this event the full scan report will be included, and you can check which of the UUID's are present.

    Alternatively you can wait for the service discovery to complete after you get connected, and check which services the device has. 

    Best regards
    Torbjørn

Related