You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rtxlink.md
+11-12Lines changed: 11 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,22 +24,21 @@ the frame length up to the double of the original length, this needs to be taken
24
24
25
25
The frames format is the following:
26
26
27
-
| 0 | 1 | ... | N-1 | N |
28
-
|:---:|:-------:|:----:|:----:|:---:|
29
-
| END | ProtoID | Data |CRC8| END |
27
+
| 0 | 1 | ... | N-2 | N-1 | N |
28
+
|:---:|:-------:|:----:|:----:|:----:|:---:|
29
+
| END | ProtoID | Data |CRCL | CRCH| END |
30
30
31
-
After the star of frame marker, the first byte of each frame is a protocol identifier describing the frame content. The last byte of the frame, following the content and preceding the frame end
32
-
marker contains the CRC-8 of the protocol identifier and data fields. The CRC is computed using the polynomial 0xA6 and ensures a minimum hamming distance of two for data blocks composed by more
33
-
than 2048 bytes.
31
+
After the star of frame marker, the first byte of each frame is a protocol identifier describing the frame content. After the payload data and preceding the frame end marker, the frame contains the
32
+
CRC-16 of the protocol identifier and data fields: the CRC is computed using the CCITT polynomial 0x1021 (CCITT CRC-16 polynomial) and transmittend in little-endian format.
0 commit comments