Commit Graph

4 Commits

Author SHA1 Message Date
Martin Preuss
7eb462173c 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
4e1f08b567 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
604a85d54b avr: increased COM buffer size to 24 bytes. 2023-04-05 23:39:45 +02:00
Martin Preuss
dc19b84fba avr: added message format descriptions. 2023-04-05 22:56:11 +02:00