ESPHome 2025.5.0
Loading...
Searching...
No Matches
util.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4namespace esphome {
5
8
11
14
15} // namespace esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7
bool remote_is_connected()
Return whether the node has any form of "remote" connection via the API or to an MQTT broker.
Definition util.cpp:35
bool api_is_connected()
Return whether the node has at least one client connected to the native API.
Definition util.cpp:17
bool mqtt_is_connected()
Return whether the node has an active connection to an MQTT broker.
Definition util.cpp:26