GXDN: Gurux Developer Network
Checksum Enumeration
NamespacesGurux.CommonChecksum
Available checksum types.
Members
Member Description
Crc8BitSum
Adds up the bytes. Integer value=21.
If not using .NET Framework, use constant GX_CHK_CRC_8BIT_SUM.

Custom
Custom checksum is used. Integer value=20.
If not using .NET Framework, use constant GX_CHK_CUSTOM.

Fcs16
Count CRC for the FCS16. Expressed as x^16 + x^12 + x^5 + x^0. Polynomial is 0x1021 and seed is 0xFFFF. FinalXOR is 0xFFFF data is reversed and reflection is used. Integer value=19.
If not using .NET Framework, use constant GX_CHK_FCS16.

Crc32BitSum
Adds up the bytes. Integer value=18.
If not using .NET Framework, use constant GX_CHK_CRC_32BIT_SUM.

Crc16BitSum
Adds up the bytes, called also a longitudinal redundancy check (LRC). Integer value=17.
If not using .NET Framework, use constant GX_CHK_CRC_16BIT_SUM.

Crc8Xor
8 Bit Bitwise XOR. Seed is 0. Integer value=16.
If not using .NET Framework, use constant GX_CHK_CRC8_XOR.

Crc8Reverced
CCITT-8 Polynomial. Expressed As: X^8 + X^5 + X^4 + 1. Used in ATM and HEC. Integer value=15.
If not using .NET Framework, use constant GX_CHK_CRC8_REVERSED.

Crc8
8 bit CRC. Expressed as X^8+X^5+X^4+X^3+X^0. Integer value=14.
If not using .NET Framework, use constant GX_CHK_CRC8.

Crc32Reverced
Reversed 32 bit byteorder is used. Integer value=13.
If not using .NET Framework, use constant GX_CHK_CRC32_REVERSED.

Crc24
Polynomial is 0x1864CFB and seed is 0xB704CE. Integer value=12.
If not using .NET Framework, use constant GX_CHK_CRC24.

Crc16Arc
Used in ARC, LHA and BISYNCH. Polynomial is 0x8005 and seed is 0x0. Integer value=11.
If not using .NET Framework, use constant GX_CHK_CRC16_ARC.

Zmodem
Used in ZMODEM. Polynomial is 0x1021 and seed is 0x0. Integer value=10.
If not using .NET Framework, use constant GX_CHK_CRC16_ZMODEM.

Ccitt16Reverced
Used in XMODEM, Kermit. Expressed as X^16 + X^15 + X^10 + X^3 Polynomial is 0x8408 and seed is 0x0. Integer value=9.
If not using .NET Framework, use constant GX_CHK_CRC16_CCITT_REVERSED.

Ibm16
Used in modbus. Expressed as X^16+X^15+X^2+X^0. Integer value=8.
If not using .NET Framework, use constant GX_CHK_CRC16_IBM.

Ccitt16
Expressed as X^16+X^12+X^5+X^0. USed in X.25. Polynomial is 0x1021 and seed is 0xFFFF. Integer value=7.
If not using .NET Framework, use constant GX_CHK_CRC16_CCITT.

Adler32
Adlers 32-bit algorithm is used to compute the checksum. Integer value=6.
If not using .NET Framework, use constant GX_CHK_ADLER32.

Fletcher
Fletchers 16-bit algorithm is used to compute the checksum. Integer value=5.
If not using .NET Framework, use constant GX_CHK_FLETCHER.

Crc32
32-bit algorithm is used to compute the checksum. Integer value=4.
If not using .NET Framework, use constant GX_CHK_CRC32.

Crc16Reverced
Reversed 16-bit algorithm is used to compute the checksum. Integer value=3.
If not using .NET Framework, use constant GX_CHK_CRC16_REVERSED.

Crc16
16-bit algorithm is used to compute the checksum. Integer value=2.
If not using .NET Framework, use constant GX_CHK_CRC16.

Own
Client application provides its own checksums. Integer value=1.
If not using .NET Framework, use constant GX_CHK_OWN.

None
Checksum is not computed. Integer value=0.
If not using .NET Framework, use constant GX_CHK_NONE.

Remarks
If not using .NET Framework, enumeration is GX_CHECKTYPE.

Assembly: Gurux.Common (Module: Gurux.Common) Version: 5.0.0.1