1 /* 2 * Copyright (c) 2020 Espressif Systems (Shanghai) Co., Ltd. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #pragma once 8 9 #include "esp_wifi_types.h" 10 11 typedef enum { 12 ESP32_WIFI_EVENT_WIFI_READY = WIFI_EVENT_WIFI_READY, 13 ESP32_WIFI_EVENT_SCAN_DONE = WIFI_EVENT_SCAN_DONE, 14 ESP32_WIFI_EVENT_STA_START = WIFI_EVENT_STA_START, 15 ESP32_WIFI_EVENT_STA_STOP = WIFI_EVENT_STA_STOP, 16 ESP32_WIFI_EVENT_STA_CONNECTED = WIFI_EVENT_STA_CONNECTED, 17 ESP32_WIFI_EVENT_STA_DISCONNECTED = WIFI_EVENT_STA_DISCONNECTED, 18 ESP32_WIFI_EVENT_STA_AUTHMODE_CHANGE = WIFI_EVENT_STA_AUTHMODE_CHANGE, 19 20 ESP32_WIFI_EVENT_STA_WPS_ER_SUCCESS = WIFI_EVENT_STA_WPS_ER_SUCCESS, 21 ESP32_WIFI_EVENT_STA_WPS_ER_FAILED = WIFI_EVENT_STA_WPS_ER_FAILED, 22 ESP32_WIFI_EVENT_STA_WPS_ER_TIMEOUT = WIFI_EVENT_STA_WPS_ER_TIMEOUT, 23 ESP32_WIFI_EVENT_STA_WPS_ER_PIN = WIFI_EVENT_STA_WPS_ER_PIN, 24 ESP32_WIFI_EVENT_STA_WPS_ER_PBC_OVERLAP = WIFI_EVENT_STA_WPS_ER_PBC_OVERLAP, 25 26 ESP32_WIFI_EVENT_AP_START = WIFI_EVENT_AP_START, 27 ESP32_WIFI_EVENT_AP_STOP = WIFI_EVENT_AP_STOP, 28 ESP32_WIFI_EVENT_AP_STACONNECTED = WIFI_EVENT_AP_STACONNECTED, 29 ESP32_WIFI_EVENT_AP_STADISCONNECTED = WIFI_EVENT_AP_STADISCONNECTED, 30 ESP32_WIFI_EVENT_AP_PROBEREQRECVED = WIFI_EVENT_AP_PROBEREQRECVED, 31 32 ESP32_WIFI_EVENT_MAX = WIFI_EVENT_MAX 33 } esp_wifi_event_t; 34