ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
esphome::FrameOption Struct Reference

Base of the FrameFormat options; each option overrides only its own members. More...

#include <frame_reader.h>

Inheritance diagram for esphome::FrameOption:
esphome::CheckFirstBytes< BYTES, CHECK > esphome::FrameMinLength< LEN > esphome::WarnIfLongerThan< MAX, WARN >

Static Public Member Functions

static constexpr bool check (const uint8_t *)
 
static constexpr bool fits (size_t)
 

Static Public Attributes

static constexpr size_t MIN = 0
 
static constexpr size_t CHECK_AT = 0
 
static constexpr size_t WARN_MAX = 0
 

Detailed Description

Base of the FrameFormat options; each option overrides only its own members.

Definition at line 135 of file frame_reader.h.

Member Function Documentation

◆ check()

static constexpr bool esphome::FrameOption::check ( const uint8_t * )
inlinestaticconstexpr

Definition at line 139 of file frame_reader.h.

◆ fits()

static constexpr bool esphome::FrameOption::fits ( size_t )
inlinestaticconstexpr

Definition at line 140 of file frame_reader.h.

Field Documentation

◆ CHECK_AT

size_t esphome::FrameOption::CHECK_AT = 0
staticconstexpr

Definition at line 137 of file frame_reader.h.

◆ MIN

size_t esphome::FrameOption::MIN = 0
staticconstexpr

Definition at line 136 of file frame_reader.h.

◆ WARN_MAX

size_t esphome::FrameOption::WARN_MAX = 0
staticconstexpr

Definition at line 138 of file frame_reader.h.


The documentation for this struct was generated from the following file: