Struct 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.
variable instruction¶
Instruction byte, 0x55 for Status.
variable parameter_length¶
Number of valid bytes in parameters.
variable parameters¶
Unstuffed parameter bytes.
The documentation for this class was generated from the following file inc/dxl2_protocol.h