|
esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
|
The connection's encryption mode does not match the device: a plaintext client reached a device that requires Noise, or an encrypted client reached a plaintext-only device. More...
#include <exception.hpp>


The connection's encryption mode does not match the device: a plaintext client reached a device that requires Noise, or an encrypted client reached a plaintext-only device.
A HandshakeError so callers that treat encryption setup failures uniformly still catch it, but its message is self-explanatory and names the corrective action (add or drop the PSK).