net_wifi_scan
Scan for WiFi Network available.
Usages
net_wifi_scan SSID [-i interface_nbr] [-c channel]
Arguments
SSID, Specify the SSID to find. (optional)
-i [Interface number]
, Specify on which interface to use.
-c [Channel]
, Specify the Wifi Channel to scan. (optional)
Output
If the the WiFi network is properly created, this command return to the terminal a list of available WiFi network and their parameters.
Otherwise, this command will return information about the error to the terminal.
Required Configuration
NET_IF_CFG_WIFI_EN
must be enabled.
Notes/Warnings
none.
Example
To scan all the available WiFi network, the command would be:
net_wifi_scan -i 1