Skip to content

Struct dxl2_packet

ClassList > dxl2_packet

One decoded Protocol 2.0 packet. More...

  • #include <dxl2_protocol.h>

Public Attributes

Type Name
uint8_t id
Packet source/destination ID.
uint8_t instruction
Instruction byte, 0x55 for Status.
uint16_t parameter_length
Number of valid bytes in parameters.
uint8_t parameters
Unstuffed parameter bytes.

Detailed Description

Byte stuffing has been removed from parameters. For a Status Packet (instruction 0x55), the status error byte is the first parameter.

Public Attributes Documentation

variable id

Packet source/destination ID.

uint8_t dxl2_packet::id;


variable instruction

Instruction byte, 0x55 for Status.

uint8_t dxl2_packet::instruction;


variable parameter_length

Number of valid bytes in parameters.

uint16_t dxl2_packet::parameter_length;


variable parameters

Unstuffed parameter bytes.

uint8_t dxl2_packet::parameters[DXL2_MAX_PARAMETER_SIZE];



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