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

Scanning Duration nRF SDK 15.2.0

Hi,

I am working with nRF PCA10056 evaluation board and using SDK 15.2.0. I am using nRF52840 as a central scanner, where it will scan broadcast data from beacons.

I want to have a specified scan duration in my application. I could not find the specified definition for my requirement in the infocenter documents.

So to avoid any confusion I am posting the picture of my requirement. In the Image I am looking to define the Scan Duration ( pardon for bad handwriting)

The SDK files have definition for .window, .interval but there is no setting for the scan duration.

I need to understand where can I configure this.

Thanks

Parents Reply
  • Hi Hung,

    I have queries further here, which is leading me to some confusion.

    1) what is the difference between the scan.timeout and the nrf_ble_scan_stop(), finding for its definition I searched the SDK which lead to sd_ble_gap_scan_stop(); whose defintion I could not find anywhere in the SDK.

    2) If I use scan.timeout to limit the duration scan, how would I determine in my code if the scan has timed out

    Regards

    Abhishek

Children
Related