Is there a way to change the scan interval while scanning is on? I can stop scanning, set a different interval value and start again but that is not my intention, it wastes too much time.
Thank in advance
Hakki
Is there a way to change the scan interval while scanning is on? I can stop scanning, set a different interval value and start again but that is not my intention, it wastes too much time.
Thank in advance
Hakki
Hi Hakki
What is the motive of not taking the time to stop scanning and start again?
Have you tried to simply call the scan_start() function with new parameters while scanning is ongoing? If that does not work I guess the only method is to stop scanning, and call start_scan() again with new parameters.
Hi Stefan,
If I call scan_start() while scanning is on I get NRF_ERROR_INVALID_STATE. But anyways I got my answer, thanks a lot.
Hakki
Hi Stefan,
If I call scan_start() while scanning is on I get NRF_ERROR_INVALID_STATE. But anyways I got my answer, thanks a lot.
Hakki