Skip to content

Struct SYN_COBS_Decoder

ClassList > SYN_COBS_Decoder

Streaming COBS frame decoder.

  • #include <syn_cobs.h>

Public Attributes

Type Name
uint8_t * buf
size_t buf_size
SYN_COBS_PacketCallback callback
void * ctx
size_t idx

Public Attributes Documentation

variable buf

uint8_t* SYN_COBS_Decoder::buf;

Receive buffer


variable buf_size

size_t SYN_COBS_Decoder::buf_size;

Buffer capacity


variable callback

SYN_COBS_PacketCallback SYN_COBS_Decoder::callback;

Callback on complete packet


variable ctx

void* SYN_COBS_Decoder::ctx;

User context for callback


variable idx

size_t SYN_COBS_Decoder::idx;

Current write position



The documentation for this class was generated from the following file src/syntropic/proto/syn_cobs.h