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

Speed up scanning of advertising time

I use pc-ble-driver to control nRF52840 dongle.
I want to speed up scanning of advertising time.

So I change SCAN_INTERVAL and SCAN_WINDOW.

How can I modify the parameters anyway.

The scanning speed is not less than 30ms.

Parents
  • Hi

    What do you mean by scanning speed? Is this the time between each scanning window or what?

    To edit the scan interval it should be sufficient to use the SCAN_WINDOW and SCAN_INTERVAL variables. The central will scan for SCAN_WINDOW time, every SCAN_INTERVAL interval. These parameters are generally given in units of 0.625ms. So if you set SCAN_INTERVAL = SCAN_WINDOW, you should scan 100% of the time.

    Best regards,

    Simon

Reply
  • Hi

    What do you mean by scanning speed? Is this the time between each scanning window or what?

    To edit the scan interval it should be sufficient to use the SCAN_WINDOW and SCAN_INTERVAL variables. The central will scan for SCAN_WINDOW time, every SCAN_INTERVAL interval. These parameters are generally given in units of 0.625ms. So if you set SCAN_INTERVAL = SCAN_WINDOW, you should scan 100% of the time.

    Best regards,

    Simon

Children
Related