Commit Graph

4 Commits

Author SHA1 Message Date
Martin Preuss
4ba7b49cdd simplified message handling, switch from XOR checksum to CRC8 with polynomial 0x97.
0x97 allows for detection of all 1-3 bit errors in a message of up to
119 bytes
(see https://www.faa.gov/aircraft/air_cert/design_approvals/air_software/media/TC-14-49.pdf)
2023-04-07 23:22:40 +02:00
Martin Preuss
090122a192 reworked com stack.
- prepared for use of CRC8
- organized code in more files
- recv stats message now contains crc errors and io errors
2023-04-07 19:14:05 +02:00
Martin Preuss
9ba94d714b avr: increased COM buffer size to 24 bytes. 2023-04-05 23:39:45 +02:00
Martin Preuss
1981f7b475 avr: added message format descriptions. 2023-04-05 22:56:11 +02:00