Skip to main content

Checksums

Geoffrey Hunter
mbedded.ninja Author

Fletcher's Checksum

Transmitter Methodology

  1. Calculate checksum on raw data
  2. Using the raw data and the newly found checksum, calculate the checkbytes
  3. Add the checkbytes to the end of the data packet
  4. Transmit data

Receiver Methodology

  1. Receive data packet
  2. Calculate checksum (including the checkbytes)
  3. Make sure checksum equals 0, if so, data passed the checksum test