if (AddHighByte==false)
Sum+= 0xFF;
ChecksumCalculated = ((Sum>>16)&(Sum&0xFFFF);
ChecksumCalculated = ((ChecksumCalculated>>16)&0xFFFF)
+(ChecksumCalculated&0xFFFF);
return ChecksumCalculated;
}
This function needs a Byte array (ByteTab) containing the command
sequence and this array’s length (Size) as input, it returns the checksum as an
int.
Содержание FMod-TCP BOX 2
Страница 2: ......
Страница 11: ...EEPROM In this case you do not need to send the Save Parameters command ...