e Checksum</H4>
<P>The checksum is a 16-bit value used to verify the integrity of the data in the packet. It only present if data
is present. <BR>
The checksum is calculated by taking the lower 16 bits of the sum of the data bytes, as shown below:</P>
<PRE>int calculateChecksum(unsigned char* data, unsigned short datalength) {
&nbsp;&nbsp; unsigned short x, checksum;
&nbsp;&nbsp; for(x=0; x&lt;datalength; x++) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; checksum+=data[x];&nbsp; //overflow automatically limits to 16 bi