Loading...
VM-4UHD Packet Protocol Structure
27
8.2 Calculating the CRC
The polynomial for the 16-bit CRC is:
CRC-CCITT: 0x1021 = x16 + x12 + x5 + 1
Initial value: 0000
Final XOR Value: 0
For a code example, see:
http://sanity-free.org/133/crc_16_ccitt_in_csharp.html
CRC example:
Data = “123456789”
Result => 0x31C3
Loading...
Terms of Use | Privacy Policy | DMCA Policy
2006-2020 Rsmanuals.com