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
  • Thank you for your prompt reply.

    I treat NRF_BLE_SCAN_SUPERVISION_TIMEOUT as a timeout parameter.

    I set this parameter to 0, and then a connection error occurred. The error code is NRF_ERROR_INVALID_PARAM.

    I don't understand the meaning of this parameter and why it can't be set to 0.

    The premise is that other scanning parameters remain the default (the routine used is uart_c)

Children
Related