Struct 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¶
Receive buffer
variable buf_size¶
Buffer capacity
variable callback¶
Callback on complete packet
variable ctx¶
User context for callback
variable idx¶
Current write position
The documentation for this class was generated from the following file src/syntropic/proto/syn_cobs.h