User's Manual
2. Getting Started
op -S -o wmode
Parameter
2.2.2.
sta
Description
sta commands are used to scan the STA network interface, connect or disconnect AP, and
query the connecting status of STA network interface.
Example
sta -S [-s ssid] [-b bssid] [-n channel] [-h]
sta -Q
sta -C [-s ssid] [-p password]
sta -D
Parameter
Table 2-6. op Command Parameter
Parameter
Description
-Q
Query Wi-Fi mode.
-S
Set Wi-Fi mode.
wmode
There are 3 Wi-Fi modes:
•
mode = 1: STA mode
•
mode = 2: AP mode
•
mode = 3: STA+AP mode
Table 2-7. sta Command Parameter
Parameter
Description
-S scan
Scan Access Points.
-s ssid
Scan or connect Access Points with the ssid.
-b bssid
Scan the Access Points with the bssid.
-n channel
Scan the channel.
-h
Show scan results with hidden ssid Access Points.
-Q
Show STA connect stutus.
-D
Disconnected with current Access Points.
Espressif
2015.12
Confidential