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.
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.
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
Scanning speed 30ms means receiving the advertising events every 30ms.
I set SCAN_INTERVAL 20ms, but I still receive the advertising events every 30ms.
Scanning speed 30ms means receiving the advertising events every 30ms.
I set SCAN_INTERVAL 20ms, but I still receive the advertising events every 30ms.