sjackman
September 19th, 2006, 11:29 AM
The spec states that...
The Checksum field is the unsigned, modulo 0x10000, 16-bit additive checksum of the entire packet’s slot data, including START Code.
However, the checksum covers a maximum of 255 bytes, each with a maximum value of 255, so the maximum possible checksum is 65025, or 0xfe01. So the checksum is in fact not modulo at all.
Cheers,
Shaun
The Checksum field is the unsigned, modulo 0x10000, 16-bit additive checksum of the entire packet’s slot data, including START Code.
However, the checksum covers a maximum of 255 bytes, each with a maximum value of 255, so the maximum possible checksum is 65025, or 0xfe01. So the checksum is in fact not modulo at all.
Cheers,
Shaun