RFID Data Model for Libraries - biblstandard
RFID Data Model for Libraries - biblstandard
RFID Data Model for Libraries - biblstandard
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>RFID</strong> <strong>Data</strong> model <strong>for</strong> libraries Doc 067<br />
Annex D<br />
Cyclic Redundancy Check (CRC)<br />
Example of CRC calculations:<br />
String: "<strong>RFID</strong> tag data model" gives hex(1AEE) that will be encoded with EE at the<br />
lowest memory location and 1A at the next memory location<br />
Example code <strong>for</strong> CRC calculations:<br />
const int crc_poly=0x1021;<br />
int crc_sum;<br />
void update_crc(int c)<br />
{<br />
int i;<br />
bool xor_flag;<br />
c