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

Soft Device Setting - S132 - Scanning

We are using the nRF52832 to scan for surrounding beacons on an interval (scan for 60 seconds, sleep for 30 minutes).  During some of these scans, not all beacons are picked up (beacons are transmitting at 5 seconds). 

Are there any settings that can be configured on the soft device that can optimize scanning, I believe the soft device mostly handles the scanning functions.

Parents
  • Hi,

    You have two options:

    • Change the scan_interval and scan_window parameters to increase the change of receiving packets within the scan window. Please have a look at this blog post for details about how scan interval and scan window relates to advertising. SCAN_INTERVAL and SCAN_WINDOW are defined close to the top of main.c in the ble_central examples in the SDK.
    • Lower the advertising interval, to increase the chance of any of the packets being received by the scanner.

    Best regards,
    Jørgen

Reply
  • Hi,

    You have two options:

    • Change the scan_interval and scan_window parameters to increase the change of receiving packets within the scan window. Please have a look at this blog post for details about how scan interval and scan window relates to advertising. SCAN_INTERVAL and SCAN_WINDOW are defined close to the top of main.c in the ble_central examples in the SDK.
    • Lower the advertising interval, to increase the chance of any of the packets being received by the scanner.

    Best regards,
    Jørgen

Children
No Data
Related