Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

About scan timeout

Hi,

I am using SDK 17.1.0 as a host scanner. When I changed the timeout to 0, there was a problem with the connection slave (NRF_ERROR_INVALID_PARAM). I'm pretty sure the problem is not caused by other conditions. Because other parameters remain the default. So when I want the scan to never time out, can I only restart the scan after the timeout?

Parents Reply
  • I haven't confirmed it, but in my own program, other conditions remain unchanged. Changing the value of the timeout parameter to 0 will cause this error code.

    I don't understand this very much, so I did it again in the official sample code uart_c.

    The results obtained are still as above.

    Incidentally, some scanning and filtering conditions are added, which can be connected normally. Until the timeout parameter is changed to 0.

Children
No Data
Related