ESPHome
2024.12.2
|
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 = esp_ip4_addr_t |
using | esphome_wifi_event_id_t = arduino_event_id_t |
using | esphome_wifi_event_info_t = arduino_event_info_t |
Functions | |
const LogString * | get_signal_bars (int8_t rssi) |
const char * | get_auth_mode_str (uint8_t mode) |
std::string | format_ip4_addr (const esphome_ip4_addr_t &ip) |
const char * | get_op_mode_str (uint8_t mode) |
const char * | get_disconnect_reason_str (uint8_t reason) |
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) |
std::string | format_ip_addr (struct ipv4_addr ip) |
std::string | format_ip_addr (struct ip_addr ip) |
void | event_handler (void *arg, esp_event_base_t event_base, int32_t event_id, void *event_data) |
std::string | format_ip6_addr (const esp_ip6_addr_t &ip) |
Variables | |
WiFiComponent * | global_wifi_component |
struct esphome::wifi::SavedWifiSettings | PACKED |
using esphome::wifi::bssid_t = typedef std::array<uint8_t, 6> |
Definition at line 121 of file wifi_component.h.
typedef IPAddress esphome::wifi::esphome_ip4_addr_t |
Definition at line 386 of file wifi_component_esp32_arduino.cpp.
typedef arduino_event_id_t esphome::wifi::esphome_wifi_event_id_t |
Definition at line 493 of file wifi_component_esp32_arduino.cpp.
typedef arduino_event_info_t esphome::wifi::esphome_wifi_event_info_t |
Definition at line 494 of file wifi_component_esp32_arduino.cpp.
Definition at line 65 of file wifi_component.h.
Enumerator | |
---|---|
WIFI_POWER_SAVE_NONE | |
WIFI_POWER_SAVE_LIGHT | |
WIFI_POWER_SAVE_HIGH |
Definition at line 195 of file wifi_component.h.
|
strong |
Enumerator | |
---|---|
IDLE | |
CONNECTING | |
CONNECTED | |
ERROR_NETWORK_NOT_FOUND | |
ERROR_CONNECT_FAILED |
Definition at line 88 of file wifi_component.h.
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 81 of file wifi_component_esp_idf.cpp.
std::string esphome::wifi::format_ip4_addr | ( | const esphome_ip4_addr_t & | ip | ) |
Definition at line 388 of file wifi_component_esp32_arduino.cpp.
std::string esphome::wifi::format_ip6_addr | ( | const esp_ip6_addr_t & | ip | ) |
Definition at line 583 of file wifi_component_esp_idf.cpp.
std::string esphome::wifi::format_ip_addr | ( | struct ipv4_addr | ip | ) |
Definition at line 392 of file wifi_component_esp8266.cpp.
std::string esphome::wifi::format_ip_addr | ( | struct ip_addr | ip | ) |
Definition at line 399 of file wifi_component_esp8266.cpp.
const char * esphome::wifi::get_auth_mode_str | ( | uint8_t | mode | ) |
Definition at line 361 of file wifi_component_esp32_arduino.cpp.
const char * esphome::wifi::get_disconnect_reason_str | ( | uint8_t | reason | ) |
Definition at line 408 of file wifi_component_esp32_arduino.cpp.
const char * esphome::wifi::get_op_mode_str | ( | uint8_t | mode | ) |
Definition at line 394 of file wifi_component_esp32_arduino.cpp.
const LogString* esphome::wifi::get_signal_bars | ( | int8_t | rssi | ) |
Definition at line 382 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 856 of file wifi_component.cpp.
struct esphome::wifi::SavedWifiFastConnectSettings esphome::wifi::PACKED |