Hi List,

I have a requirement to perform a check sum. I sort of understand what
that means, but am pretty much in the dark.

The sentence in the manual says "The tail of the message consists of two

character checksum (hexadecimal notation) followed by a carriage return
then a line feed. The checksum consists of the byte-wise exclusive OR of

all bytes in the message"

Can someone help me working out the "...byte-wise exclusive OR of all
bytes in the message"

A typical message looks like $PMGNCMD,VERSION* followed by the check sum

of the message, which in this case is 28 and includes the $ and the *.

Thanks very much for your help

David



_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html
List Archive http://www.mail-archive.com/gxnet@lists.geosoft.com

Reply via email to