From 211f689cdf8acaf45a53fe035a1b1d0fac8a40d7 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Mon, 21 Nov 2022 17:34:20 +0100 Subject: [PATCH] decuments recently added checksums --- docs/formats.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/formats.html b/docs/formats.html index 3eb76b2..2bee92d 100644 --- a/docs/formats.html +++ b/docs/formats.html @@ -594,6 +594,18 @@

Implemented checksum functions

href="https://en.wikipedia.org/wiki/Longitudinal_redundancy_check">Wikipedia.
%<hexlrc>
One byte. The LRC for the hex digits. (Other characters are ignored.)
+
%<leybold>
+
One byte. Used by some Leybold products. 255-bytesum%255 (+32 if result would be <32)
+
%<brksCryo>
+
One byte. Used by Brooks Cryopumps.
+
%<CPI>
+
One byte. Used by TRIUMF CPI RF amplifier.
+
%<bitsum> or %<bitsum8>
+
One byte. Number of 1 bits in all characters.
+
%<bitsum16>
+
Two bytes. Number of 1 bits in all characters.
+
%<bitsum32>
+
Four bytes. Number of 1 bits in all characters.