User's Manual
WizFi320 User Manual
© Copyright 2021 WIZnet Co., Ltd. All rights reserved. 42
Parameters
• <ssid>: the SSID of the Enterprise AP.
o Escape character syntax is needed if SSID or password
contains any special characters, such as
,
,
"
, or
\\
.
• <method>: WPA2 Enterprise authentication method.
o 0: EAP-TLS.
o 1: EAP-PEAP.
o 2: EAP-TTLS.
• <identity>: identity for phase 1. String limited to 1 ~ 32.
• <username>: username for phase 2. Range: 1 ~ 32 bytes. For the EAP-
PEAP and EAP-TTLS method, you must set this parameter. For the EAP-
TLS method, you don’t need to.
• <password>: password for phase 2. Range: 1 ~ 32 bytes. For the EAP-
PEAP and EAP-TTLS method, you must set this parameter. For the EAP-
TLS method, you don’t need to.
• <security>:
o Bit0: Client certificate.
o Bit1: Server certificate.
• [<jeap_timeout>]: maximum timeout for AT+CWJEAP command. Unit:
second. Default: 15. Range: [3,600].
Example
// Connect to EAP-TLS mode Enterprise AP, set identity, verify server certificate
and load client certificate
AT+CWJEAP="dlink11111",0,"example@espressif.com",,,3
// Connect to EAP-PEAP mode Enterprise AP, set identity, username and password, not
verify server certificate and not load client certificate
AT+CWJEAP="dlink11111",1,"example@espressif.com","espressif","test11",0
Error Code:
The WPA2 Enterprise error code will be prompt as ERR CODE:0x<%08x> .
AT_EAP_MALLOC_FAILED 0x8001
AT_EAP_GET_NVS_CONFIG_FAILED 0x8002
AT_EAP_CONN_FAILED 0x8003
AT_EAP_SET_WIFI_CONFIG_FAILED 0x8004
AT_EAP_SET_IDENTITY_FAILED 0x8005










