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
  • Hi

    Please check out the Wi-Fi: Scan sample available in nRF Connect SDK to see how to do scanning with the nRF7002 DK. Alternatively, we also have the Wi-Fi Shell sample if you want some more runtime configurables using a shell. It also has scanning capabilities.

    Best regards,

    Simon

  • thank you for your support,

    I used SDK v2.6.2 for the Wi-Fi scan sample.

    Currently, I can read the scan data only once. How can I modify the code to read the data at regular intervals? Below are the logs for your reference.

    Scan requested
    Num | SSID (len) | Chan | RSSI | Security | BSSID
    1 | realme 123 10 | 6 | -56 | WPA2-PSK | 72:09:DE:FB:74:41
    2 | 0 | 6 | -70 | WPA2-PSK | F4:92:BF:2D:A3:70
    3 | TG 2 | 6 | -75 | WPA2-PSK | FA:92:BF:2D:A3:70
    Scan request done
    Scan requested
    Scan request done
    Scan requested
    Scan request done
    Scan requested
    Scan request done
    Scan requested
    Scan request done
    Scan requested

Reply
  • thank you for your support,

    I used SDK v2.6.2 for the Wi-Fi scan sample.

    Currently, I can read the scan data only once. How can I modify the code to read the data at regular intervals? Below are the logs for your reference.

    Scan requested
    Num | SSID (len) | Chan | RSSI | Security | BSSID
    1 | realme 123 10 | 6 | -56 | WPA2-PSK | 72:09:DE:FB:74:41
    2 | 0 | 6 | -70 | WPA2-PSK | F4:92:BF:2D:A3:70
    3 | TG 2 | 6 | -75 | WPA2-PSK | FA:92:BF:2D:A3:70
    Scan request done
    Scan requested
    Scan request done
    Scan requested
    Scan request done
    Scan requested
    Scan request done
    Scan requested
    Scan request done
    Scan requested

Children
No Data
Related