ESP_LOGD(TAG, "SYSTEM_EVENT_STA_WPS_ER_PIN");
break;
}
+ case SYSTEM_EVENT_STA_WPS_ER_PBC_OVERLAP: {
+ ESP_LOGD(TAG, "SYSTEM_EVENT_STA_WPS_ER_PBC_OVERLAP");
+ break;
+ }
case SYSTEM_EVENT_AP_START: {
ESP_LOGD(TAG, "SYSTEM_EVENT_AP_START");
break;
SYSTEM_EVENT_STA_WPS_ER_FAILED, /**< ESP32 station wps fails in enrollee mode */
SYSTEM_EVENT_STA_WPS_ER_TIMEOUT, /**< ESP32 station wps timeout in enrollee mode */
SYSTEM_EVENT_STA_WPS_ER_PIN, /**< ESP32 station wps pin code in enrollee mode */
+ SYSTEM_EVENT_STA_WPS_ER_PBC_OVERLAP, /*!< ESP32 station wps overlap in enrollee mode */
SYSTEM_EVENT_AP_START, /**< ESP32 soft-AP start */
SYSTEM_EVENT_AP_STOP, /**< ESP32 soft-AP stop */
SYSTEM_EVENT_AP_STACONNECTED, /**< a station connected to ESP32 soft-AP */
-Subproject commit f3f11ddbe9f9fc2b2667bf13105ffa6628ec2ce2
+Subproject commit 18170e1677ddd567ba20cf773e71bfd2695a5164
#define BLOB_NAME_LEN 3
#define BLOB_NUM 3
+enum SIG_WPA2 {
+ SIG_WPA2_START = 0,
+ SIG_WPA2_RX,
+ SIG_WPA2_TASK_DEL,
+ SIG_WPA2_MAX,
+};
+
/**
* struct eap_sm - EAP state machine data
*/
u8 current_identifier;
u8 ownaddr[ETH_ALEN];
#ifdef USE_WPA2_TASK
-#define SIG_WPA2_NUM 2
- u8 wpa2_sig_cnt[SIG_WPA2_NUM];
+ u8 wpa2_sig_cnt[SIG_WPA2_MAX];
#endif
u8 finish_state;
typedef void (*wps_st_cb_t)(int status);
#ifdef USE_WPS_TASK
-#define SIG_WPS_START 0
-#define SIG_WPS_RX 1
-#define SIG_WPS_NUM 2
+#define SIG_WPS_START 2
+#define SIG_WPS_RX 3
+#define SIG_WPS_NUM 9
#endif
#define WPS_EAP_EXT_VENDOR_TYPE "WFA-SimpleConfig-Enrollee-1-0"