Knobs controlling a single Connection. Defaults mirror aioesphomeapi.
Definition connection_options.hpp:12
std::chrono::milliseconds connect_timeout
Overall deadline for TCP connect + handshake + HelloResponse.
Definition connection_options.hpp:33
bool login
Send a login (AuthenticationRequest) right after HelloRequest.
Definition connection_options.hpp:26
std::string client_info
Client identification reported to the device in HelloRequest.
Definition connection_options.hpp:14
std::string expected_name
Optional expected device name; if set and the device reports a different name the handshake fails (gu...
Definition connection_options.hpp:21
std::chrono::milliseconds keepalive_timeout
How long to wait for a PingResponse before declaring the link dead.
Definition connection_options.hpp:39
std::chrono::milliseconds keepalive_interval
How often to send a keepalive PingRequest once connected.
Definition connection_options.hpp:36
std::string noise_psk
Optional pre-shared Noise key (base64, 32 bytes). Empty ⇒ plaintext.
Definition connection_options.hpp:17
std::string password
Optional plaintext API password (deprecated ESPHome auth).
Definition connection_options.hpp:30