Scanning parameter settings to get the most advertisements but also handle connections

Hi,

I'm struggling to fully understand the scan window and scan interval. According to the graph of the "Nordic Primary channel scanner timing" the scan window should always be smaller than the scan interval, so there is time to handle connections.

So in some posts I read that I should set the scan interval the same size as the scan window. From my understanding that means the central is always in receive and scanning? I've tried that and thought all my connections will "break", but surprisingly they all worked; slow but they worked.

So what exactly does the SoftDevice in the background, if I set the scan interval and window to the same size and still have connections running.
I'm using NRF52840, NCS 2.5.1 (Zephyr)

To my scenario:

  • I have up to 20 connections with a connection interval of 200ms
  • My data throughput is minimal
  • Furthermore I have beacons with advertisements every second.

What would be the best setting to handle all connections good, but receive as much advertisements from the beacons as possible.

Thanks and Best Regards,

Phobios

Related