Ccitt crc-16 calculation, Ccitt crc-16, Calculation – ThingMagic Autonomous Configuration Tool User Manual
Page 27
Processing Data from the Reader
Autonomous Configuration Tool v1.0 User Guide
27
CCITT CRC-16 Calculation
The same CRC calculation is performed on all messages from the reader. The CRC is
calculated on the Data Length, Command, Status Word, and Data bytes. The header
(SOH, 0xFF) is not included in the CRC.
A sample implementation of the CCITT CRC-16 algorithm can be found in the
autonomous reading zip package (autoread-1.25.x.x.zip) in the corresponding
subdirectory for Java, C# and C
C#: ReceiveAutonomousReading.cs |
CalcReturnCRC
()
Java: SerialTransport.java |
calcCrc()
C: receiveAutonomousReading.c |
tm_crc()