Deluo TRISTAR25 User Manual
Page 20
Deluo Electronics http://www.deluo.com
20
Message Footer:
The Message Footer consists of 3 or 4 bytes:
Byte #1 - checksum of the Message Body (it is calculated by summing all bytes in the
Message Body and taking the sum modulo 256)
Byte #2 - when Byte #1 equals DLE (0x10), DLE (0x10) is sent out as the 2nd byte of the
message footer; otherwise it is not sent.
Byte #3 - DLE (0x10). If checksum is not 0x10, this DLE character becomes Byte #2
Byte #4 - ETX (0x03). If checksum is not 0x10, this ETX character becomes Byte #3