|
ESPHome 2026.8.0-dev
|
Data Structures | |
| struct | IPAddress |
| class | NetworkComponent |
Typedefs | |
| using | IPAddresses = std::array<IPAddress, 5> |
Functions | |
| void | lowercase_ip_str (char *buf) |
| Lowercase hex digits in IP address string (A-F -> a-f for IPv6 per RFC 5952) | |
| bool | is_disabled () |
| Return whether the network is disabled (only wifi for now) | |
| const char * | get_use_address_to (std::span< char, USE_ADDRESS_BUFFER_SIZE > buf) |
| Get the active network address for logging. | |
| network::IPAddresses | get_ip_addresses () |
| ESPHOME_ALWAYS_INLINE bool | is_connected () |
| Return whether the node is connected to the network (through wifi, eth, ...) | |
| using esphome::network::IPAddresses = std::array<IPAddress, 5> |
Definition at line 299 of file ip_address.h.
| IPAddresses esphome::network::get_ip_addresses | ( | ) |
| const char * esphome::network::get_use_address_to | ( | std::span< char, USE_ADDRESS_BUFFER_SIZE > | buf | ) |
Get the active network address for logging.
Returns the explicitly configured use_address when one was set (from the highest-priority interface when network: priority: is configured), otherwise formats "<name>.local" from the runtime device name into buf (so it includes the MAC suffix from name_add_mac_suffix).
|
inline |
| bool esphome::network::is_disabled | ( | ) |
|
inline |
Lowercase hex digits in IP address string (A-F -> a-f for IPv6 per RFC 5952)
Definition at line 80 of file ip_address.h.