|
ESPHome 2025.10.3
|
Data Structures | |
| struct | EAPAuth |
| struct | ManualIP |
| Struct for setting static IPs in WiFiComponent. More... | |
| struct | SavedWifiFastConnectSettings |
| struct | SavedWifiSettings |
| class | WiFiAP |
| class | WiFiComponent |
| This component is responsible for managing the ESP WiFi interface. More... | |
| class | WiFiConfigureAction |
| class | WiFiConnectedCondition |
| class | WiFiDisableAction |
| class | WiFiEnableAction |
| class | WiFiEnabledCondition |
| class | WiFiScanResult |
| struct | WiFiSTAPriority |
Typedefs | |
| using | bssid_t = std::array<uint8_t, 6> |
| using | esphome_ip4_addr_t = IPAddress |
| using | esphome_wifi_event_id_t = arduino_event_id_t |
| using | esphome_wifi_event_info_t = arduino_event_info_t |
Enumerations | |
| enum | WiFiComponentState : uint8_t { WIFI_COMPONENT_STATE_OFF = 0 , WIFI_COMPONENT_STATE_DISABLED , WIFI_COMPONENT_STATE_COOLDOWN , WIFI_COMPONENT_STATE_STA_SCANNING , WIFI_COMPONENT_STATE_STA_CONNECTING , WIFI_COMPONENT_STATE_STA_CONNECTING_2 , WIFI_COMPONENT_STATE_STA_CONNECTED , WIFI_COMPONENT_STATE_AP } |
| enum class | WiFiSTAConnectStatus : int { IDLE , CONNECTING , CONNECTED , ERROR_NETWORK_NOT_FOUND , ERROR_CONNECT_FAILED } |
| enum | WiFiPowerSaveMode : uint8_t { WIFI_POWER_SAVE_NONE = 0 , WIFI_POWER_SAVE_LIGHT , WIFI_POWER_SAVE_HIGH } |
Functions | |
| const LogString * | get_signal_bars (int8_t rssi) |
| __attribute__ ((noinline)) static void log_scan_result(const WiFiScanResult &res) | |
| struct netif * | eagle_lwip_getif (int netif_index) |
| void | netif_set_addr (struct netif *netif, const ip4_addr_t *ip, const ip4_addr_t *netmask, const ip4_addr_t *gw) |
| const LogString * | get_auth_mode_str (uint8_t mode) |
| std::string | format_ip_addr (struct ipv4_addr ip) |
| std::string | format_ip_addr (struct ip_addr ip) |
| const LogString * | get_op_mode_str (uint8_t mode) |
| const LogString * | get_disconnect_reason_str (uint8_t reason) |
| void | event_handler (void *arg, esp_event_base_t event_base, int32_t event_id, void *event_data) |
| std::string | format_ip4_addr (const esp_ip4_addr_t &ip) |
| std::string | format_ip6_addr (const esp_ip6_addr_t &ip) |
| std::string | format_ip4_addr (const esphome_ip4_addr_t &ip) |
Variables | |
| WiFiComponent * | global_wifi_component |
| struct esphome::wifi::SavedWifiSettings | PACKED |
| using esphome::wifi::bssid_t = std::array<uint8_t, 6> |
Definition at line 122 of file wifi_component.h.
| using esphome::wifi::esphome_ip4_addr_t = IPAddress |
Definition at line 150 of file wifi_component_libretiny.cpp.
| using esphome::wifi::esphome_wifi_event_id_t = arduino_event_id_t |
Definition at line 253 of file wifi_component_libretiny.cpp.
| using esphome::wifi::esphome_wifi_event_info_t = arduino_event_info_t |
Definition at line 254 of file wifi_component_libretiny.cpp.
| enum esphome::wifi::WiFiComponentState : uint8_t |
Definition at line 66 of file wifi_component.h.
| enum esphome::wifi::WiFiPowerSaveMode : uint8_t |
| Enumerator | |
|---|---|
| WIFI_POWER_SAVE_NONE | |
| WIFI_POWER_SAVE_LIGHT | |
| WIFI_POWER_SAVE_HIGH | |
Definition at line 196 of file wifi_component.h.
|
strong |
| Enumerator | |
|---|---|
| IDLE | |
| CONNECTING | |
| CONNECTED | |
| ERROR_NETWORK_NOT_FOUND | |
| ERROR_CONNECT_FAILED | |
Definition at line 89 of file wifi_component.h.
| esphome::wifi::__attribute__ | ( | (noinline) | ) | const & |
Definition at line 573 of file wifi_component.cpp.
| struct netif * esphome::wifi::eagle_lwip_getif | ( | int | netif_index | ) |
| void esphome::wifi::event_handler | ( | void * | arg, |
| esp_event_base_t | event_base, | ||
| int32_t | event_id, | ||
| void * | event_data ) |
Definition at line 85 of file wifi_component_esp_idf.cpp.
| std::string esphome::wifi::format_ip4_addr | ( | const esp_ip4_addr_t & | ip | ) |
Definition at line 591 of file wifi_component_esp_idf.cpp.
| std::string esphome::wifi::format_ip4_addr | ( | const esphome_ip4_addr_t & | ip | ) |
Definition at line 152 of file wifi_component_libretiny.cpp.
| std::string esphome::wifi::format_ip6_addr | ( | const esp_ip6_addr_t & | ip | ) |
Definition at line 593 of file wifi_component_esp_idf.cpp.
| std::string esphome::wifi::format_ip_addr | ( | struct ip_addr | ip | ) |
Definition at line 399 of file wifi_component_esp8266.cpp.
| std::string esphome::wifi::format_ip_addr | ( | struct ipv4_addr | ip | ) |
Definition at line 392 of file wifi_component_esp8266.cpp.
| const char * esphome::wifi::get_auth_mode_str | ( | uint8_t | mode | ) |
Definition at line 375 of file wifi_component_esp8266.cpp.
| const char * esphome::wifi::get_disconnect_reason_str | ( | uint8_t | reason | ) |
Definition at line 421 of file wifi_component_esp8266.cpp.
| const char * esphome::wifi::get_op_mode_str | ( | uint8_t | mode | ) |
Definition at line 406 of file wifi_component_esp8266.cpp.
| const LogString * esphome::wifi::get_signal_bars | ( | int8_t | rssi | ) |
Definition at line 412 of file wifi_component.cpp.
| void esphome::wifi::netif_set_addr | ( | struct netif * | netif, |
| const ip4_addr_t * | ip, | ||
| const ip4_addr_t * | netmask, | ||
| const ip4_addr_t * | gw ) |
| WiFiComponent * esphome::wifi::global_wifi_component |
Definition at line 950 of file wifi_component.cpp.
| struct esphome::wifi::SavedWifiFastConnectSettings esphome::wifi::PACKED |