ESPHome  2023.5.5
Data Structures | Functions
esphome::network Namespace Reference

Data Structures

struct  IPAddress
 

Functions

bool is_connected ()
 Return whether the node is connected to the network (through wifi, eth, ...) More...
 
network::IPAddress get_ip_address ()
 
std::string get_use_address ()
 Get the active network hostname. More...
 

Function Documentation

◆ get_ip_address()

IPAddress esphome::network::get_ip_address ( )

Definition at line 32 of file util.cpp.

◆ get_use_address()

std::string esphome::network::get_use_address ( )

Get the active network hostname.

Definition at line 44 of file util.cpp.

◆ is_connected()

bool esphome::network::is_connected ( )

Return whether the node is connected to the network (through wifi, eth, ...)

Definition at line 15 of file util.cpp.