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

How can I decide scan window, interval for continuous scanning.

Hi.

I'm currently trying to scan non-connectable advertisement for continuously.

So, I'm going to set the value of scan window and scan interval same.

For that purpose,I want to simulate the value of scan window & interval for the best performance (for the least number of packet loss).

What will be the right approach to simulate the best value?

Additionally, if I don't have to worry about power consumption of scanner(ble central), would it be good to set scan window as minimum value (which is 2.5ms)

Thanks in advance.

Parents
  • HI Kenneth, 

    Is it still true in recent sdk 15.2.0 ? (My test setup has 100ms advertisement window & 2.5ms scan interval)

    The reason I recommend a short scan window, is that it will have minimum effect on other softdevice functionality you might want to use in the application. For instance other connections will be blocked during a scan window, and a long scan window can delay execution of flash commands and timeslot api.

    Thank you

Reply
  • HI Kenneth, 

    Is it still true in recent sdk 15.2.0 ? (My test setup has 100ms advertisement window & 2.5ms scan interval)

    The reason I recommend a short scan window, is that it will have minimum effect on other softdevice functionality you might want to use in the application. For instance other connections will be blocked during a scan window, and a long scan window can delay execution of flash commands and timeslot api.

    Thank you

Children
Related