ESPHome  2023.11.6
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...
 
bool is_disabled ()
 Return whether the network is disabled (only wifi for now) 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 40 of file util.cpp.

◆ get_use_address()

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

Get the active network hostname.

Definition at line 52 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.

◆ is_disabled()

bool esphome::network::is_disabled ( )

Return whether the network is disabled (only wifi for now)

Definition at line 32 of file util.cpp.