This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2652R: Duplicate device addresses observed during Simple Central Scanning

Part Number: CC2652R

We are using the TI Simple Central demo application running on the TI Launch Pad. On performing a scan we notice that some device addresses appear repeatedly in the list of 8 addresses at the end of the scan operation.

We have observed that the SimpleCentral_processGapMsg() function calls the following API

temp8 = SCAN_FLT_DUP_ENABLE;
GapScan_setParam(SCAN_PARAM_FLT_DUP, &temp8);

I am assuming that this enables the duplicate filter and should prevent the same address from appearing multiple times ? Is my understanding correct ?

Our intention is to only list unique device address in the list after the scan is completed? Any help would be appreciated !!

Thanks !!

- Aman 

   

  • Hi Aman,

    Assigning an expert to comment.

  • Hi,

    Which version SDK are you using? Are you filtering based on advertised UUID or listing all available devices?

    Best regards,
    Aslak

  • Hi Aslak,

    The SDK version is 10.00.53.

    It's the default Simple Central application available as part of sample code and i think its listing all available devices.

    My requirement is to list only unique address but i see the same address appear many times.

    Regards,

    Aman

  • Hi,

    If it's the default configuration then what you are seeing is a result of the duplicate filtering only working for up to 16 devices. In your configuration the application will actually scan for infinite amount of devices but only store the ones that match the service UUID you are looking for. This means that the link layer could see up to 16 devices before it sees one that matches the application filtering requirements, and so will keep adding that same device to the list.

    You will simply have to work around this by not adding to the application result list if the address is already there. We are looking into documenting or changing this behavior, but that's your only option for now unfortunately. Alternatively limit the scan result number to 16.

    Best regards,
    Aslak

  • Hi Aslak,

    Thank you for your valuable inputs. I have attached the screenshot of the Simple Central test application

    as seen during our testing. The maximum limit of devices is set to 8 (default).

      

    As you can see the same address has appeared 4 times in this list.

    So to confirm my understanding the application logic needs to filter out the duplicates here based on the device addresses ?

    Regards,

    Aman