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

Scanning without duplicate packets in one scan window

Is there any way I can scan for a short period of time with a duplicate filter on so that I only get 1 packet form the advertising device in one scan window. 

For example. 

Scan Window 500 ms

Scan interval 10,000 ms

Other device advertising at 100 ms

In this case if the duplicate filter is on I should only get 1 packet in one scan interval, which is 10 seconds, instead of 5 packets. 

I am using SDK 16.0.0 with softdevice S132. IDE Keil.

Parents
  • Hello,

    I'm assuming you're using the Scanning Module. The module will always notify the application when it gets a filter match, so you either have to stop scanning or dynamically update the filter settings to stop receiving scanner events for this device. 

  • I though I have explained by question very well or I have no understood your answer.

    What I am talking about is getting duplicate packets while scanning. What you are talking about is filtering based on UUIDs or white list. I am already filtering out packets based on UUID. What I want is a parameter by which in one scan window I only get one packet not multiple packets of the same device. 

    Another Example:

    Device 1: Beacon, transmitting at 100 ms

    Device 2: Scan interval 10,000 ms & Scan Window 500 ms

    If I run the devices on there configuration I will get 5 packets on each scan window/interval, these packets are duplicate packets of the same device(Device 1).

    So I am looking for a parameter which can be set to remove the duplicates while scanning.

    Ref:

    Source: https://ukbaz.github.io/howto/beacon_scan_cmd_line.html

Reply
  • I though I have explained by question very well or I have no understood your answer.

    What I am talking about is getting duplicate packets while scanning. What you are talking about is filtering based on UUIDs or white list. I am already filtering out packets based on UUID. What I want is a parameter by which in one scan window I only get one packet not multiple packets of the same device. 

    Another Example:

    Device 1: Beacon, transmitting at 100 ms

    Device 2: Scan interval 10,000 ms & Scan Window 500 ms

    If I run the devices on there configuration I will get 5 packets on each scan window/interval, these packets are duplicate packets of the same device(Device 1).

    So I am looking for a parameter which can be set to remove the duplicates while scanning.

    Ref:

    Source: https://ukbaz.github.io/howto/beacon_scan_cmd_line.html

Children
Related