12#include "esphome/components/modem/modem_component.h"
34 if (modem::global_modem_component !=
nullptr)
35 return modem::global_modem_component->is_connected();
bool is_connected() const
bool is_connected() const
EthernetComponent * global_eth_component
std::array< IPAddress, 5 > IPAddresses
const char * get_use_address()
Get the active network hostname.
ESPHOME_ALWAYS_INLINE bool is_connected()
Return whether the node is connected to the network (through wifi, eth, ...)
network::IPAddresses get_ip_addresses()
bool is_disabled()
Return whether the network is disabled (only wifi for now)
OpenThreadComponent * global_openthread_component
WiFiComponent * global_wifi_component