Scan for nearby Wi-Fi networks using the nRF7002-DK.

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.

Parents Reply Children
  • 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?

    case NET_EVENT_WIFI_SCAN_RESULT:
    handle_wifi_scan_result(cb);

     

Related