One frame type for LengthFrameReader: a FrameHeader, a length rule from above, then any of the options FrameMinLength, CheckFirstBytes and WarnIfLongerThan.
More...
#include <frame_reader.h>
template<class HEADER, class LENGTH, class... OPTIONS>
struct esphome::FrameFormat< HEADER, LENGTH, OPTIONS >
One frame type for LengthFrameReader: a FrameHeader, a length rule from above, then any of the options FrameMinLength, CheckFirstBytes and WarnIfLongerThan.
Definition at line 190 of file frame_reader.h.
◆ Length
template<class HEADER , class LENGTH , class... OPTIONS>
◆ header_byte()
template<class HEADER , class LENGTH , class... OPTIONS>
◆ FIRST
template<class HEADER , class LENGTH , class... OPTIONS>
◆ FIXED_LENGTH
template<class HEADER , class LENGTH , class... OPTIONS>
| size_t esphome::FrameFormat< HEADER, LENGTH, OPTIONS >::FIXED_LENGTH = frame_reader_detail::FIXED_LENGTH<LENGTH> |
|
staticconstexpr |
◆ HEADER_LEN
template<class HEADER , class LENGTH , class... OPTIONS>
◆ MIN_LEN
template<class HEADER , class LENGTH , class... OPTIONS>
◆ SHORTEST
template<class HEADER , class LENGTH , class... OPTIONS>
Initial value:=
constexpr size_t RULE_MIN
Definition at line 206 of file frame_reader.h.
◆ WARN_MAX
template<class HEADER , class LENGTH , class... OPTIONS>
| size_t esphome::FrameFormat< HEADER, LENGTH, OPTIONS >::WARN_MAX = std::max<size_t>({0, OPTIONS::WARN_MAX...}) |
|
staticconstexpr |
The documentation for this struct was generated from the following file: