Back to Specification

CRC polynoms used by VSCP

8-bit checksum

The 8-bit checksum used is the DOW checksum.

Formula: X8 + X5 + x4 + 1
Polynomial: 0x18
Initial Reminder: 0x00

16-bit checksum

The 16-bit checksum used is the CCITT checksum.

Formula: X16 + X12 + x5 + 1
Polynomial: 0x1021
Initial Reminder: 0xFFFF

This checksum is used for VSCP Level II datagrams.

32-bit checksum

The 32-bit checksum used is the Ethernet checksum.

Formula: X32 + X26 + X23 + X22 + X16 + X12 + X11 + X10 + X8 + X7 + X5 + X4 + X2 + X1 + 1
Polynomial: 0x04c11db7
Initial Reminder: 0xffffffff
Note that result is inverted.



http://www.netrino.com/Connecting/2000-01/ is a good pointer for code. Free code is alos available in the CANAL/VSCP distribution.

vscp_specification_crc_polynoms.txt · Last modified: 2010/08/19 01:55 (external edit)
Public Domain www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0