File WiFiType.h
FileList > api > WiFi > WiFiType.h
Go to the source code of this file.
Classes
Public Types
Public Static Attributes
Type |
Name |
const char * |
WiFiAuthModeText = = { |
"Open", |
|
"WEP", |
|
"WPA PSK", |
|
"WPA2 PSK", |
|
"WPA/WPA2 PSK", |
|
"WPA2 EAP", |
|
"WPA3 PSK", |
|
"WPA2/WPA3 PSK", |
|
"WAPI PSK", |
|
"WPA", |
|
"WPA2", |
|
"Auto", |
|
}
|
|
const char * |
WiFiModeText = = {"NULL", "STA", "AP", "AP+STA"}
|
const char * |
WiFiStatusText = = { |
"Idle", |
|
"No SSID", |
|
"Scan Completed", |
|
"Connected", |
|
"Connect failed", |
|
"Connection lost", |
|
"Disconnected", |
|
}
|
|
Macros
Public Types Documentation
enum WiFiModeAction
enum WiFiModeAction {
WLMODE_NONE = 0,
WLMODE_DISABLE = 1,
WLMODE_ENABLE = 2
};
typedef esp_ip4_addr_t
typedef struct esp_ip4_addr esp_ip4_addr_t;
typedef esp_ip6_addr_t
typedef struct esp_ip6_addr esp_ip6_addr_t;
enum wifi_auth_mode_t
enum wifi_auth_mode_t {
WIFI_AUTH_OPEN = 0,
WIFI_AUTH_WEP,
WIFI_AUTH_WPA_PSK,
WIFI_AUTH_WPA2_PSK,
WIFI_AUTH_WPA_WPA2_PSK,
WIFI_AUTH_WPA2_ENTERPRISE,
WIFI_AUTH_WPA3_PSK,
WIFI_AUTH_WPA2_WPA3_PSK,
WIFI_AUTH_WAPI_PSK,
WIFI_AUTH_WPA,
WIFI_AUTH_WPA2,
WIFI_AUTH_AUTO = 200,
WIFI_AUTH_INVALID = 255,
WIFI_AUTH_MAX
};
enum wifi_err_reason_t
enum wifi_err_reason_t {
WIFI_REASON_UNSPECIFIED = 1,
WIFI_REASON_AUTH_EXPIRE = 2,
WIFI_REASON_AUTH_LEAVE = 3,
WIFI_REASON_ASSOC_EXPIRE = 4,
WIFI_REASON_ASSOC_TOOMANY = 5,
WIFI_REASON_NOT_AUTHED = 6,
WIFI_REASON_NOT_ASSOCED = 7,
WIFI_REASON_ASSOC_LEAVE = 8,
WIFI_REASON_ASSOC_NOT_AUTHED = 9,
WIFI_REASON_DISASSOC_PWRCAP_BAD = 10,
WIFI_REASON_DISASSOC_SUPCHAN_BAD = 11,
WIFI_REASON_BSS_TRANSITION_DISASSOC = 12,
WIFI_REASON_IE_INVALID = 13,
WIFI_REASON_MIC_FAILURE = 14,
WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT = 15,
WIFI_REASON_GROUP_KEY_UPDATE_TIMEOUT = 16,
WIFI_REASON_IE_IN_4WAY_DIFFERS = 17,
WIFI_REASON_GROUP_CIPHER_INVALID = 18,
WIFI_REASON_PAIRWISE_CIPHER_INVALID = 19,
WIFI_REASON_AKMP_INVALID = 20,
WIFI_REASON_UNSUPP_RSN_IE_VERSION = 21,
WIFI_REASON_INVALID_RSN_IE_CAP = 22,
WIFI_REASON_802_1X_AUTH_FAILED = 23,
WIFI_REASON_CIPHER_SUITE_REJECTED = 24,
WIFI_REASON_INVALID_PMKID = 53,
WIFI_REASON_BEACON_TIMEOUT = 200,
WIFI_REASON_NO_AP_FOUND = 201,
WIFI_REASON_AUTH_FAIL = 202,
WIFI_REASON_ASSOC_FAIL = 203,
WIFI_REASON_HANDSHAKE_TIMEOUT = 204,
WIFI_REASON_CONNECTION_FAIL = 205,
WIFI_REASON_AP_TSF_RESET = 206,
WIFI_REASON_ROAMING = 207
};
enum wifi_mode_t
enum wifi_mode_t {
WIFI_MODE_NULL = 0,
WIFI_MODE_STA,
WIFI_MODE_AP,
WIFI_MODE_APSTA,
WIFI_MODE_MAX
};
enum wl_status_t
enum wl_status_t {
WL_NO_SHIELD = 255,
WL_IDLE_STATUS = 0,
WL_NO_SSID_AVAIL = 1,
WL_SCAN_COMPLETED = 2,
WL_CONNECTED = 3,
WL_CONNECT_FAILED = 4,
WL_CONNECTION_LOST = 5,
WL_DISCONNECTED = 6
};
Public Static Attributes Documentation
variable WiFiAuthModeText
const char* WiFiAuthModeText[];
variable WiFiModeText
const char* WiFiModeText[];
variable WiFiStatusText
const char* WiFiStatusText[];
Macro Definition Documentation
define WIFI_AP
#define WIFI_AP WIFI_MODE_AP
define WIFI_AP_STA
#define WIFI_AP_STA WIFI_MODE_APSTA
define WIFI_OFF
#define WIFI_OFF WIFI_MODE_NULL
define WIFI_SCAN_FAILED
#define WIFI_SCAN_FAILED (-2)
define WIFI_SCAN_RUNNING
#define WIFI_SCAN_RUNNING (-1)
define WIFI_STA
#define WIFI_STA WIFI_MODE_STA
define WiFiAuthMode
#define WiFiAuthMode wifi_auth_mode_t
define WiFiEventId_t
#define WiFiEventId_t uint16_t
define WiFiEventInfo_t
#define WiFiEventInfo_t arduino_event_info_t
define WiFiEvent_t
#define WiFiEvent_t arduino_event_id_t
define WiFiMode
#define WiFiMode wifi_mode_t
define WiFiMode_t
#define WiFiMode_t wifi_mode_t
define WiFiStatus
#define WiFiStatus wl_status_t
The documentation for this class was generated from the following file cores/common/arduino/libraries/api/WiFi/WiFiType.h