EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1541 background imageLoading...
Page #1541 background image
Chapter 4. API Guides
Auth Phase
s2.1, The authentication request packet is sent and the auth timer is enabled.
s2.2, If the authentication response packet is not received before the authentication timer
times out, WIFI_EVENT_STA_DISCONNECTED will arise and the reason-code will be
WIFI_REASON_AUTH_EXPIRE. Refer to Wi-Fi Reason Code.
s2.3, The auth-response packet is received and the auth-timer is stopped.
s2.4, The AP rejects authentication in the response and WIFI_EVENT_STA_DISCONNECTED arises, while
the reason-code is WIFI_REASON_AUTH_FAIL or the reasons specified by the AP. Refer to Wi-Fi Reason
Code.
Association Phase
s3.1, The association request is sent and the association timer is enabled.
s3.2, If the association response is not received before the association timer times
out, WIFI_EVENT_STA_DISCONNECTED will arise and the reason-code will be
WIFI_REASON_ASSOC_EXPIRE. Refer to Wi-Fi Reason Code.
s3.3, The association response is received and the association timer is stopped.
s3.4, The AP rejects the association in the response and WIFI_EVENT_STA_DISCONNECTED arises, while
the reason-code is the one specified in the association response. Refer to Wi-Fi Reason Code.
Four-way Handshake Phase
s4.1, The handshake timer is enabled, the 1/4 EAPOL is not received before the handshake
timer expires, WIFI_EVENT_STA_DISCONNECTED will arise and the reason-code will be
WIFI_REASON_HANDSHAKE_TIMEOUT. Refer to Wi-Fi Reason Code.
s4.2, The 1/4 EAPOL is received.
s4.3, The STA replies 2/4 EAPOL.
s4.4, If the 3/4 EAPOL is not received before the handshake timer ex-
pires, WIFI_EVENT_STA_DISCONNECTED will arise and the reason-code will be
WIFI_REASON_HANDSHAKE_TIMEOUT. Refer to Wi-Fi Reason Code.
s4.5, The 3/4 EAPOL is received.
s4.6, The STA replies 4/4 EAPOL.
s4.7, The STA raises WIFI_EVENT_STA_CONNECTED.
Wi-Fi Reason Code
The table below shows the reason-code defined in ESP32-S2. The first column is the macro name defined in
esp_wifi_types.h. The common prefix WIFI_REASON is removed, which means that UNSPECIFIED actually stands
for WIFI_REASON_UNSPECIFIED and so on. The second column is the value of the reason. The third column is the
standard value to which this reason is mapped in section 8.4.1.7 of IEEE 802.11-2012. (For more information, refer
to the standard mentioned above.) The last column is a description of the reason.
Espressif Systems 1530
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish