16 #ifndef SICK_LD_MESSAGE_HH 17 #define SICK_LD_MESSAGE_HH 21 #include <arpa/inet.h> 24 #define SICK_LD_MSG_HEADER_LEN (8) 25 #define SICK_LD_MSG_PAYLOAD_MAX_LEN (5816) 26 #define SICK_LD_MSG_TRAILER_LEN (1) 43 SickLDMessage(
const uint8_t *
const payload_buffer,
const unsigned int payload_length );
49 void BuildMessage(
const uint8_t *
const payload_buffer,
const unsigned int payload_length );
52 void ParseMessage(
const uint8_t *
const message_buffer );
74 uint8_t
_computeXOR(
const uint8_t *
const data,
const uint32_t length );
Defines the abstract parent class for all Sick messages.