- 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
- Receive data packet
- Calculate checksum (including the checkbytes)
- Make sure checksum equals 0, if so, data passed the checksum test
This work is licensed under a Creative Commons Attribution 4.0 International License .