22 #include <arpa/inet.h>    100     char command_type[4] = {0};
   101     for (
int i = 0; i < 3; i++) {
   104     command_type[4] = 
'\0';
   108     char command[15] = {0};
   132     const char * token = NULL;
   133     while (message_buffer[i-1] != 0x03) {
   139           throw SickIOException(
"SickLMS1xxMessage::ParseMessage: strtok() failed!");
   145         if ((token = strtok(NULL,
" ")) == NULL) {
   146           throw SickIOException(
"SickLMS1xxMessage::ParseMessage: strtok() failed!");
   157         throw SickIOException(
"SickLMS1xxMessage::ParseMessage: Message Exceeds Max Message Length!");  
   191     std::cout << 
"Command Code: " << 
GetCommand() << std::endl;
   192     std::cout << std::flush;
 
#define SICK_LMS_1XX_MSG_TRAILER_LEN
Sick LMS 1xx length of the message trailer. 
Defines simple utility functions for working with the Sick LMS 1xx laser range finder units...
#define SICK_LMS_1XX_MSG_HEADER_LEN
Sick LMS 1xx message header length in bytes. 
#define SICK_LMS_1XX_MSG_PAYLOAD_MAX_LEN
Sick LMS 1xx maximum payload length.