Skip to content

Struct dxl2_parser

ClassList > dxl2_parser

Incremental parser state for a byte stream. More...

  • #include <dxl2_protocol.h>

Public Attributes

Type Name
uint8_t buffer
In-progress wire packet, header to CRC.
size_t length
Number of bytes currently in buffer.

Detailed Description

Keep one instance per input stream and initialize it before feeding bytes.

Public Attributes Documentation

variable buffer

In-progress wire packet, header to CRC.

uint8_t dxl2_parser::buffer[DXL2_MAX_PACKET_SIZE];


variable length

Number of bytes currently in buffer.

size_t dxl2_parser::length;



The documentation for this class was generated from the following file inc/dxl2_protocol.h