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 #1342 background imageLoading...
Page #1342 background image
Chapter 4. API Guides
If application event handler needs to relay the event to some other task, it is important to note that event pointer
passed to the event handler is a pointer to temporary structure. To pass the event to another task, application has to
make a copy of the entire structure.
Event IDs and Corresponding Data Structures
Event ID (legacy event ID) Event data structure
Wi-Fi
WIFI_EVENT_WIFI_READY (SYSTEM_EVENT_WIFI_READY) n/a
WIFI_EVENT_SCAN_DONE (SYSTEM_EVENT_SCAN_DONE) wifi_event_sta_scan_done_t
WIFI_EVENT_STA_START (SYSTEM_EVENT_STA_START) n/a
WIFI_EVENT_STA_STOP (SYSTEM_EVENT_STA_STOP) n/a
WIFI_EVENT_STA_CONNECTED (SYS-
TEM_EVENT_STA_CONNECTED)
wifi_event_sta_connected_t
WIFI_EVENT_STA_DISCONNECTED (SYS-
TEM_EVENT_STA_DISCONNECTED)
wifi_event_sta_disconnected_t
WIFI_EVENT_STA_AUTHMODE_CHANGE (SYS-
TEM_EVENT_STA_AUTHMODE_CHANGE)
wifi_event_sta_authmode_change_t
WIFI_EVENT_STA_WPS_ER_SUCCESS (SYS-
TEM_EVENT_STA_WPS_ER_SUCCESS)
n/a
WIFI_EVENT_STA_WPS_ER_FAILED (SYS-
TEM_EVENT_STA_WPS_ER_FAILED)
wifi_event_sta_wps_fail_reason_t
WIFI_EVENT_STA_WPS_ER_TIMEOUT (SYS-
TEM_EVENT_STA_WPS_ER_TIMEOUT)
n/a
WIFI_EVENT_STA_WPS_ER_PIN (SYS-
TEM_EVENT_STA_WPS_ER_PIN)
wifi_event_sta_wps_er_pin_t
WIFI_EVENT_AP_START (SYSTEM_EVENT_AP_START) n/a
WIFI_EVENT_AP_STOP (SYSTEM_EVENT_AP_STOP) n/a
WIFI_EVENT_AP_STACONNECTED (SYS-
TEM_EVENT_AP_STACONNECTED)
wifi_event_ap_staconnected_t
WIFI_EVENT_AP_STADISCONNECTED (SYS-
TEM_EVENT_AP_STADISCONNECTED)
wifi_event_ap_stadisconnected_t
WIFI_EVENT_AP_PROBEREQRECVED (SYS-
TEM_EVENT_AP_PROBEREQRECVED)
wifi_event_ap_probe_req_rx_t
Ethernet
ETHERNET_EVENT_START (SYSTEM_EVENT_ETH_START) n/a
ETHERNET_EVENT_STOP (SYSTEM_EVENT_ETH_STOP) n/a
ETHERNET_EVENT_CONNECTED (SYS-
TEM_EVENT_ETH_CONNECTED)
n/a
ETHERNET_EVENT_DISCONNECTED (SYS-
TEM_EVENT_ETH_DISCONNECTED)
n/a
IP
IP_EVENT_STA_GOT_IP (SYSTEM_EVENT_STA_GOT_IP) ip_event_got_ip_t
IP_EVENT_STA_LOST_IP (SYSTEM_EVENT_STA_LOST_IP) n/a
IP_EVENT_AP_STAIPASSIGNED (SYS-
TEM_EVENT_AP_STAIPASSIGNED)
n/a
IP_EVENT_GOT_IP6 (SYSTEM_EVENT_GOT_IP6) ip_event_got_ip6_t
IP_EVENT_ETH_GOT_IP (SYSTEM_EVENT_ETH_GOT_IP) ip_event_got_ip_t
IP_EVENT_ETH_LOST_IP (SYSTEM_EVENT_ETH_LOST_IP) n/a
4.10.2 Mesh Events
ESP-WIFI-MESH uses a system similar to the Legacy Event Loop to deliver events to the application. See System
Events for details.
Espressif Systems 1331
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