User's Manual
WizFi320 User Manual
© Copyright 2021 WIZnet Co., Ltd. All rights reserved. 20
+CWJAP:<error code>
ERROR
Parameters
•
<ssid>: the SSID of the target AP.
o Escape character syntax is needed if SSID or password
contains special characters, such
,
,
"
, or
\\
.
•
<pwd>: password, MAX: 64-byte ASCII.
•
<bssid>: the MAC address of the target AP. It cannot be omitted
when multiple APs have the same SSID.
•
<channel>: channel.
•
<rssi>: signal strength.
•
<pci_en>: PCI Authentication.
o 0: The ESP station will connect APs with all encryption
methods, including OPEN and WEP.
o 1: The ESP station will connect APs with all encryption
methods, except OPEN and WEP.
•
<reconn_interval>: the interval between Wi-Fi reconnections. Unit:
second. Default: 1. Maximum: 7200.
o 0: The ESP station will not reconnect to the AP when
disconnected.
o [1,7200]: The ESP station will reconnect to the AP at the
specified interval when disconnected.
•
<listen_interval>: the interval of listening to the AP’s beacon. Unit:
AP beacon intervals. Default: 3. Range: [1,100].
•
<scan_mode>:
o 0: fast scan. It will end after finding the targeted AP. The ESP
station will connect to the first scanned AP.
o 1: all-channel scan. It will end after all the channels are
scanned. The device will connect to the scanned AP with the
strongest signal.
•
<jap_timeout>: maximum timeout for AT+CWJAP command. Unit:
second. Default: 15. Range: [3,600].
•
<pmf>: Protected Management Frames. Default: 0.
o 0 means disable PMF.










