5. Response:
~NNNNSPOKCR LF
Where NNNN is the received packet ID in ASCII hex digits.
When calculating the CRC, the polynomial for the 16-bit CRC is:
CRC-CCITT: 0x1021 = x
Initial value: 0000
Final XOR Value: 0
For a code example, see:
CRC example:
Data = "123456789"
Result => 0x31C3
VS-3232DN-EM – Protocol 3000
16
12
5
+ x
+ x
+ 1
http://sanity-free.org/133/crc_16_ccitt_in_csharp.html
Kramer Electronics Ltd.
123
Need help?
Do you have a question about the VS-3232DN-EM and is the answer not in the manual?