ESPHome
2023.5.5
esphome
esphome
components
network
util.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include "
ip_address.h
"
5
6
namespace
esphome
{
7
namespace
network {
8
10
bool
is_connected
();
12
std::string
get_use_address
();
13
IPAddress
get_ip_address
();
14
15
}
// namespace network
16
}
// namespace esphome
esphome::network::get_use_address
std::string get_use_address()
Get the active network hostname.
Definition:
util.cpp:44
esphome::network::is_connected
bool is_connected()
Return whether the node is connected to the network (through wifi, eth, ...)
Definition:
util.cpp:15
ip_address.h
esphome
Definition:
a4988.cpp:4
esphome::network::get_ip_address
network::IPAddress get_ip_address()
Definition:
util.cpp:32
Generated by
1.8.13