Struct jac::CobsEncoder::PacketStructure
Inherited by the following classes: jac::CobsEncoder::Packetizer
Public Attributes
Type | Name |
---|---|
std::array< uint8_t, OFFSET_DATA+SIZE_DATA_MAX+SIZE_CHECKSUM > | buffer |
Public Static Attributes
Type | Name |
---|---|
constexpr uint8_t | DELIMITER = = 0x00 |
constexpr size_t | OFFSET_CHANNEL = = OFFSET_COBS + 1 |
constexpr size_t | OFFSET_COBS = = 2 |
constexpr size_t | OFFSET_DATA = = OFFSET_CHANNEL + SIZE_CHANNEL |
constexpr size_t | OFFSET_DELIMITER = = 0 |
constexpr size_t | OFFSET_LENGTH = = 1 |
constexpr size_t | SIZE_CHANNEL = = 1 |
constexpr size_t | SIZE_CHECKSUM = = 2 |
constexpr size_t | SIZE_DATA_MAX = = 254 - SIZE_CHANNEL - SIZE_CHECKSUM |
constexpr size_t | SIZE_LENGTH = = 1 |
Public Attributes Documentation
variable buffer
std::array<uint8_t, OFFSET_DATA + SIZE_DATA_MAX + SIZE_CHECKSUM> jac::CobsEncoder::PacketStructure::buffer;
Public Static Attributes Documentation
variable DELIMITER
variable OFFSET_CHANNEL
variable OFFSET_COBS
variable OFFSET_DATA
variable OFFSET_DELIMITER
variable OFFSET_LENGTH
variable SIZE_CHANNEL
variable SIZE_CHECKSUM
variable SIZE_DATA_MAX
variable SIZE_LENGTH
The documentation for this class was generated from the following file src/jac/link/encoders/cobs.h