Jef Driesen
554855cc7d
Add the 16-bit CRC-ANSI functions
...
Yet another family of 16-bit CRC function. The only difference with the
already available CRC-CCITT algorithm is the choice of the polynomial.
2023-03-23 19:31:01 +01:00
Jef Driesen
27b471e76b
Document the properties of the CRC functions
2023-03-23 19:30:23 +01:00
Jef Driesen
00033e4af0
Rename the 32-bit CRC functions
...
The new names make it easier to identify the normal and reflected
variant of the CRC function.
2023-03-23 19:30:23 +01:00
Jef Driesen
d327aea6ff
Add a reflected variant of the 16-bit CRC-CCITT
...
The reflected variant of a CRC does reverse the bits of each input byte
and requires a different lookup table for an efficient implementation.
2023-03-23 19:28:37 +01:00
Jef Driesen
12f44f3410
Add an extra parameter for the xorout value
...
This change allows to calculate some more variants of the CRC-CCITT
algorithm with a single function.
2023-03-23 19:28:24 +01:00
Jef Driesen
71a149d776
Add support for Liquivision dive computers
2020-07-09 17:02:32 +02:00
Jef Driesen
da2582237f
Add an extra parameter for the initial CRC value
...
This allows to calculate different variants of the CRC-CCITT algorithm
with a single function.
2019-01-08 15:20:05 +01:00
Jef Driesen
afff8b450f
Add BLE support for the Suunto Eon Steel devices
...
The main difference with the USB HID communication is that the BLE data
stream is encoded using HDLC framing with a 32 bit CRC checksum. Due to
this encoding, the data packets can no longer be processed one by one
(as is done for the USB HID packets). The entire HDLC encoded stream
needs to be received before it can be processed. This requires some
additional buffering.
2018-04-03 21:52:20 +02:00
Florian Klink
fc008312b5
Remove trailing whitespaces
...
Most of them appear in the disclaimers, but some are in the code as
well.
2014-03-19 09:16:07 +01:00
Jef Driesen
e5fea5a370
Added a checksum function for the Oceanic VT Pro version string.
2009-02-05 10:05:15 +00:00
Jef Driesen
596af5a17b
Add LGPL license headers.
2008-10-05 20:14:18 +00:00
Jef Driesen
7c03ddcb15
Moved all the checksum functions to a common file.
2008-07-30 08:56:08 +00:00