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)
This commit is contained in:
@@ -198,6 +198,7 @@ Offset Length Meaning
|
||||
8 2 packets out
|
||||
10 2 collisions
|
||||
12 2 aborted
|
||||
14 2 no buffer errors
|
||||
|
||||
|
||||
|
||||
@@ -215,5 +216,9 @@ Offset Length Meaning
|
||||
8 2 packets in
|
||||
10 2 crc errors
|
||||
12 2 io errors
|
||||
14 2 no buffer errors
|
||||
16 2 handled packets
|
||||
18 2 missed
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user