We are using SDK v2.6.1 for our application and would like to search for nearby Wi-Fi networks using the nRF7002-DK.
Could you please assist us with this? If any reference code is available, we would greatly appreciate it.
We are using SDK v2.6.1 for our application and would like to search for nearby Wi-Fi networks using the nRF7002-DK.
Could you please assist us with this? If any reference code is available, we would greatly appreciate it.
Hi
The wifi_scan(); function is only called once in the main() loop, so you'll need to change how it is called by for example repeating the function every X seconds or so.
Best regards,
Simon
Hi
The wifi_scan(); function is only called once in the main() loop, so you'll need to change how it is called by for example repeating the function every X seconds or so.
Best regards,
Simon
I thought the wifi_scan()
function in the Wi-Fi scan sample code was being called at regular intervals because the message 'Scan requested' is printed inside the wifi_scan()
function.
However, the NET_EVENT_WIFI_SCAN_RESULT
event is triggered only once. How can I ensure that the callback enters the NET_EVENT_WIFI_SCAN_RESULT
case repeatedly?