Added description of the LRC checksum to the documentation
This commit is contained in:
@ -589,6 +589,11 @@ In input, the next byte or bytes must match the checksum.
|
|||||||
href="http://www.ietf.org/rfc/rfc1950.txt">RFC 1950</a>.</dd>
|
href="http://www.ietf.org/rfc/rfc1950.txt">RFC 1950</a>.</dd>
|
||||||
<dt><code>%<hexsum8></code></dt>
|
<dt><code>%<hexsum8></code></dt>
|
||||||
<dd>One byte. The sum of all hex digits. (Other characters are ignored.)</dd>
|
<dd>One byte. The sum of all hex digits. (Other characters are ignored.)</dd>
|
||||||
|
<dt><code>%<lrc></code></dt>
|
||||||
|
<dd>One byte. The Longitudinal Redundancy Check according to <a target="ex"
|
||||||
|
href="https://en.wikipedia.org/wiki/Longitudinal_redundancy_check">Wikipedia</a>.</dd>
|
||||||
|
<dt><code>%<hexlrc></code></dt>
|
||||||
|
<dd>One byte. The LRC for the hex digits. (Other characters are ignored.)</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<a name="regex"></a>
|
<a name="regex"></a>
|
||||||
|
Reference in New Issue
Block a user