CONTACTLESS RF CARD READER MODULE
RFCRCheckCRC()
M
X
800 SERIES PROGRAMMERS GUIDE 247
RFCRCheckCRC()
Prototype
int RFCRCheckCRC (char* buff, short len, unsigned short* calcCRC);
Parameters
Return Values
buff Buffer containing the data and CRC, with the CRC being the last 2
bytes of the buffer data.
len Length of the data including the CRC
calcCRC Pointer to store the calculated CRC
1 CRC is valid
0 CRC did not match