Help for this page

Select Code to Download


  1. or download this
     
    ####    STX                          1 byte (0x02)
    ####    byte count                   8 bytes, leading zeros, inclusive
    + of wrapper (payload length + 18)
    ####    reserved                     8 bytes, all zeros (required and 
    +reserved for future use)
    ####    payload                        (Data record to send)
    ####    ETX                          1 byte (0x03)
    
  2. or download this
     
    my $hex02 = 0x2; 
    my $hex03 = 0x3;
    ...
    # Max length is 300000
    # If hit here, too long ... by a LOT
    print "Formated Message exceeds MaxMessageLength\n\n";