Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Scan timeout behavior in SDK 15 - Bug?/Workaround?

Hi,

I just found out that the scanning procedure does not time out in SDK 15. This is because in SDK 15 we are forced to restart the scanning procedure everytime an advertisement report event is received. When I restart the procedure, the timeout is reset.

The behavior I expected is the following: I want to scan for just 1 minute, I set the timeout to 1 minute. The timeout instead is 1 minute from the last advertisement report received. If my device is near a beacon or some other device that is constantly advertising, my device will never stop scanning.

Is this the behavior the Nordic team intended?

Parents Reply Children
Related