Wi-Fi CLI Command Guide
In order to facilitate customers to quickly understand the SDK and develop and debug, the SDK integrates some basic Wi-Fi operation instructions.
Code path
beken378\func\wlan_ui\wlan_cli.c
Introduction to CLI commands
The Wi-Fi related CLI commands supported by the SDK are as follows:
Command |
Param |
Description |
---|---|---|
sta: sta [ssid] [password] |
param1: ssid |
Target router |
param2: password |
Target router password |
|
ap: ap ssid [password] |
param1: ssid |
Custom hotspot name |
param2: password |
Custom hotspot password |
|
scan: scan |
N/A |
Scan all nearby hotspots |
ping: ping [ip] [count] |
param1: ip |
Target host IP address |
param2: count |
Number of Ping packets |
|
wifistate: wifistate - show STA/AP state |
N/A |
Show current Station/SoftAP state |
ifconfig: ip - show STA/AP ip |
N/A |
Show current Station network connection parameters |
stopintf: stop {sta|ap} intfacename |
1:sta 0:ap |
Stop the current Station/SoftAP |
iperf: iperf [-s|-c|-stop] |
-s |
DUT as Server |
-c -u |
DUT as Client, -u means UDP |
|
-stop |
Stop |