User's Manual
WizFi360 User Manual
C
omm
ands
AT+CWJAP_DEF?
A
T+CWJAP_DEF=<ssid>,<pwd>[,
<bssid>]
Re
sponse
+
CWJAP_DEF
:<ssid>,<bssid>,
<chan
nel>,<rssi>
OK
OK
or
+
CWJAP_DEF:<error code>
FAIL
P
arame
ters
•
<ssid>˖the SSID of the target
AP
•
<bssid>˖the target AP’s
MAC
address
•
<channel>˖channel
•
<rssi>˖Signal strength
•
<ssid>˖the SSID of the target AP
•
<pwd>˖password, MAX: 64-byte ASC
II
•
[<bssid>]˖optional parameter, the targ
et
AP’s MAC address, used when multip
le
APs have the same SSID.
•
<error code>˖(IRU UHIHUHQFH RQO
\)
▶
1˖connection timeout.
▶
2˖wrong password.
▶
3˖cannot find the target AP.
▶
4˖connection failed.
Thi
s command requires Station mode to
be
enabled.Escap
e character syntax is needed
if
S
SID or password contains any special
characters, such as ,or ” or \.
Note
•
The configuration changes will be saved in the system parameter area in the
flash.
•
If multiple APs have the same SSID, the target AP can be found by BSSID
Exam
ples
A
T+CWJAP_DEF=”WIZnet”,”wiznet2018”,”f4:83:cd:9e:d4:40”
Comm
and
AT+CWLAPOPT=<sort_enable>,<mask>
Re
sponse
OK
or
characters, such as ,or ” or \.
Note
•
If multiple APs have the same SSID, the target AP can be found by BSSID
Exam
ples
AT+CW J AP _CUR=”WIZnet”,”wiznet2018”,”f4:83:cd:9e:d4:40”
10.2.2.6. AT+CWJAP_DEF Connects to an AP; Configuration Saved in the
Flash
10.2.2.7. AT+CWLAPOPT Sets the Configuration for the Command
AT+CWLAP










