Skip to content

Commit

Permalink
Fixed a transfer CRC computation mistake; the previous text was in a …
Browse files Browse the repository at this point in the history
…disagreement with the conclusions reached in OpenCyphal-Garage/uavcan.github.io#36
  • Loading branch information
pavel-kirienko committed Nov 16, 2018
1 parent 36a9895 commit 7f37525
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion specification/transport_layer/transport_layer.tex
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@ \subsubsection{Transfer CRC}\label{sec:transfer_crc}
The transfer CRC is computed over the entire payload of the transfer.
Certain transport implementations\footnote{Such as CAN FD.} may require a short sequence of padding bytes
to be added at the end of the transfer payload due to the low granularity of the frame payload length property;
in that case, the padding bytes are not to be included in the CRC computation.
in that case, the padding bytes must be included in the CRC computation as well,
as if they were part of the useful payload.

The resulting CRC value is appended to the transfer in the \emph{big-endian byte order}
(most significant byte first),
Expand Down

0 comments on commit 7f37525

Please sign in to comment.