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

    Okay, what is the advertising interval in the peripheral you're scanning for, as it will also depend on how often that device advertise, In BLE, the time between advertisement packets is the advertising interval + a random delay of 0-10 ms (as defined by the BLE specification). 

    Can you also provide some information as to how you measure the time between received advertising events.

    Best regards,

    Simon

  • Hi Simon,

    I use GetSystemTime function to record the computer time of each event.

    But Now,I change the api version (nrf-ble-driver-sd_api_v5-mt-4_1_4.dll).

    The old version I used is 4_1_2.

    It can receive faster. I measure the time is 15ms.

    Thanks you for your reply.

    Best regards,

    Tim

Reply Children
No Data
Related