Skip to content

Struct jac::CobsEncoder::PacketStructure

ClassList > 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

constexpr uint8_t jac::CobsEncoder::PacketStructure::DELIMITER;

variable OFFSET_CHANNEL

constexpr size_t jac::CobsEncoder::PacketStructure::OFFSET_CHANNEL;

variable OFFSET_COBS

constexpr size_t jac::CobsEncoder::PacketStructure::OFFSET_COBS;

variable OFFSET_DATA

constexpr size_t jac::CobsEncoder::PacketStructure::OFFSET_DATA;

variable OFFSET_DELIMITER

constexpr size_t jac::CobsEncoder::PacketStructure::OFFSET_DELIMITER;

variable OFFSET_LENGTH

constexpr size_t jac::CobsEncoder::PacketStructure::OFFSET_LENGTH;

variable SIZE_CHANNEL

constexpr size_t jac::CobsEncoder::PacketStructure::SIZE_CHANNEL;

variable SIZE_CHECKSUM

constexpr size_t jac::CobsEncoder::PacketStructure::SIZE_CHECKSUM;

variable SIZE_DATA_MAX

constexpr size_t jac::CobsEncoder::PacketStructure::SIZE_DATA_MAX;

variable SIZE_LENGTH

constexpr size_t jac::CobsEncoder::PacketStructure::SIZE_LENGTH;

The documentation for this class was generated from the following file src/jac/link/encoders/cobs.h