ESPHome 2026.9.0-dev
Loading...
Searching...
No Matches
noise.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 
namespace  esphome::noise
 

Functions

const LogString * esphome::noise::noise_err_to_logstr (int err)
 Convert a noise error code to a readable error.
 
const LogString * esphome::noise::reject_reason_for (int err)
 Reject reason for a failed handshake read.
 
size_t esphome::noise::format_reject_payload (uint8_t *buf, size_t capacity, const LogString *reason)
 Fill buf with a handshake reject payload (status byte plus the reason text, PROGMEM aware); returns the payload length.