Skip to content

Class cobs_Component

ClassList > cobs_Component

  • #include <frameComponents.h>

Inherits the following classes: Component

Public Attributes inherited from Component

See Component

Type Name
uint8_t bitPosition
Packet * packet
uint8_t priority
uint8_t size

Public Functions

Type Name
cobs_Component (uint8_t markerByte, uint8_t size, const uint8_t priority=127)
virtual uint8_t decode (uint8_t * packet) override
virtual void encode (uint8_t * packet) override

Public Functions inherited from Component

See Component

Type Name
Component (uint8_t size, const uint8_t priority=0)
virtual uint8_t decode (uint8_t * packet) = 0
virtual void encode (uint8_t * packet) = 0

Protected Attributes

Type Name
uint8_t markerByte
uint8_t size

Protected Functions inherited from Component

See Component

Type Name
void bitReader (uint32_t * dataBits, uint8_t * packet) const
void bitReset (uint8_t * packet) const
void bitWriter (uint32_t dataBits, uint8_t * packet) const

Public Functions Documentation

function cobs_Component

cobs_Component::cobs_Component (
    uint8_t markerByte,
    uint8_t size,
    const uint8_t priority=127
) 

function decode

virtual uint8_t cobs_Component::decode (
    uint8_t * packet
) override

Implements Component::decode


function encode

virtual void cobs_Component::encode (
    uint8_t * packet
) override

Implements Component::encode


Protected Attributes Documentation

variable markerByte

uint8_t cobs_Component::markerByte;

variable size

uint8_t cobs_Component::size;


The documentation for this class was generated from the following file libraries/DynamicPacketCodec/include/frameComponents.h