Checksums
Fletcher’s Checksum
Transmitter Methodology
- Calculate checksum on raw data
- Using the raw data and the newly found checksum, calculate the checkbytes
- Add the checkbytes to the end of the data packet
- Transmit data
Receiver Methodology
- Receive data packet
- Calculate checksum (including the checkbytes)
- Make sure checksum equals 0, if so, data passed the checksum test