Wiznet WizFi320 User Manual page 42

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents