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,
Thanks for your support,
After of this i have got below output,still i have got the ssid only once,
Starting nrf7002dk_nrf5340_cpuapp with CPU frequency: 128 MHz
Scan requested
Num | SSID (len) | Chan | RSSI | Security | BSSID
1 | TG 2 | 1 | -46 | WPA2-PSK | F4:92:BF:51:8F:54
2 | TG_Guest 8 | 1 | -47 | WPA2-PSK | FA:92:BF:51:8F:54
3 | 0 | 0 | 0 | OPEN |
Scan request done
Scan requested
Num | SSID (len) | Chan | RSSI | Security | BSSID
1 | 0 | 0 | 0 | OPEN |
Scan request done
Scan requested
Num | SSID (len) | Chan | RSSI | Security | BSSID
1 | 0 | 0 | 0 | OPEN |
Scan request done
Scan requested
Num | SSID (len) | Chan | RSSI | Security | BSSID
1 | 0 | 0 | 0 | OPEN |
Scan request done
Scan requested
Num | SSID (len) | Chan | RSSI | Security | BSSID
1 | 0 | 0 | 0 | OPEN |
Scan request done
Scan requested
Num | SSID (len) | Chan | RSSI | Security | BSSID
1 | 0 | 0 | 0 | OPEN |
Hi
By default it will only print new networks to the scan results I believe. This is just the Wi-Fi stack managing networks I think. Is there a reason you need to see the existing ones on subsequent scans on your end? You can try setting the config CONFIG_WIFI_MGMT_RAW_SCAN_RESULTS=y to also enable raw scan results
Best regards,
Simon