mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 20:53:26 +02:00
36f47ade70
* WIP: Captive Portal * Updates * Updates * Lint * Fixes
17 lines
416 B
C++
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
|