mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
Merge branch bugfix/wps_receive_m2d_fail_process to master
ESP32: Add error wps fail reason enum in esp_event.h see merge request !226
This commit is contained in:
@@ -53,6 +53,11 @@ typedef enum {
|
|||||||
SYSTEM_EVENT_MAX
|
SYSTEM_EVENT_MAX
|
||||||
} system_event_id_t;
|
} system_event_id_t;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
WPS_FAIL_REASON_NORMAL = 0, /**< ESP32 WPS normal fail reason */
|
||||||
|
WPS_FAIL_REASON_RECV_M2D, /**< ESP32 WPS receive M2D frame */
|
||||||
|
WPS_FAIL_REASON_MAX
|
||||||
|
}system_event_sta_wps_fail_reason_t;
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint32_t status; /**< status of scanning APs */
|
uint32_t status; /**< status of scanning APs */
|
||||||
uint8_t number;
|
uint8_t number;
|
||||||
@@ -113,6 +118,7 @@ typedef union {
|
|||||||
system_event_sta_authmode_change_t auth_change; /**< the auth mode of AP ESP32 station connected to changed */
|
system_event_sta_authmode_change_t auth_change; /**< the auth mode of AP ESP32 station connected to changed */
|
||||||
system_event_sta_got_ip_t got_ip; /**< ESP32 station got IP */
|
system_event_sta_got_ip_t got_ip; /**< ESP32 station got IP */
|
||||||
system_event_sta_wps_er_pin_t sta_er_pin; /**< ESP32 station WPS enrollee mode PIN code received */
|
system_event_sta_wps_er_pin_t sta_er_pin; /**< ESP32 station WPS enrollee mode PIN code received */
|
||||||
|
system_event_sta_wps_fail_reason_t sta_er_fail_reason;/**< ESP32 station WPS enrollee mode failed reason code received */
|
||||||
system_event_ap_staconnected_t sta_connected; /**< a station connected to ESP32 soft-AP */
|
system_event_ap_staconnected_t sta_connected; /**< a station connected to ESP32 soft-AP */
|
||||||
system_event_ap_stadisconnected_t sta_disconnected; /**< a station disconnected to ESP32 soft-AP */
|
system_event_ap_stadisconnected_t sta_disconnected; /**< a station disconnected to ESP32 soft-AP */
|
||||||
system_event_ap_probe_req_rx_t ap_probereqrecved; /**< ESP32 soft-AP receive probe request packet */
|
system_event_ap_probe_req_rx_t ap_probereqrecved; /**< ESP32 soft-AP receive probe request packet */
|
||||||
|
Submodule components/esp32/lib updated: 0ce499fcdf...c30fbaf1ea
Reference in New Issue
Block a user