Files
esphome-dev/esphome/core/util.h
T
Otto Winter 36f47ade70 Add Captive Portal (#624)
* WIP: Captive Portal

* Updates

* Updates

* Lint

* Fixes
2019-06-09 17:03:51 +02:00

17 lines
416 B
C++

#pragma once
#include <string>
namespace esphome {
/// Return whether the node is connected to the network (through wifi, eth, ...)
bool network_is_connected();
/// Get the active network hostname
std::string network_get_address();
/// Manually set up the network stack (outside of the App.setup() loop, for example in OTA safe mode)
void network_setup_mdns();
void network_tick_mdns();
} // namespace esphome