esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
Loading...
Searching...
No Matches
Classes | Namespaces
connection.hpp File Reference

Connection: the ESPHome native-API protocol state machine. More...

#include <esphome/api/bytes.hpp>
#include <esphome/api/connection/connection_options.hpp>
#include <esphome/api/connection/connection_state.hpp>
#include <esphome/api/frame/frame_helper.hpp>
#include <esphome/api/proto/proto_message.hpp>
#include <esphome/api/transport/executor.hpp>
#include <esphome/api/transport/transport.hpp>
#include <cstdint>
#include <exception>
#include <functional>
#include <memory>
#include <string>
#include <system_error>
#include <vector>
Include dependency graph for connection.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esphome::api::ServerHello
 Information returned by the device in its HelloResponse. More...
 
class  esphome::api::Connection
 Drives one logical session with an ESPHome device: TCP connect, optional Noise handshake (via the injected frame helper), HelloRequest/HelloResponse, keepalive pings and inbound message dispatch. More...
 

Namespaces

namespace  esphome
 
namespace  esphome::api
 

Detailed Description

Connection: the ESPHome native-API protocol state machine.

Owns the transport + frame helper, drives the handshake, dispatches inbound messages and runs keepalive. No entity semantics live here.