11.06.2014 Views

TAGnology_TAGid -125kHz_Protocol.pdf - RFID Webshop

TAGnology_TAGid -125kHz_Protocol.pdf - RFID Webshop

TAGnology_TAGid -125kHz_Protocol.pdf - RFID Webshop

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

February 1999 Rev. 1.2 Communication Reader-Host<br />

3.7.8 HT1_Read_Page<br />

Reads a page (4 bytes) of a selected HITAG 1 transponder.<br />

If no transponder is selected, a NOTAG message will be generated even if there is a transponder<br />

in the communication field of the antenna.<br />

Using the byte -crypto- you define whether you want to work in Plain or in Crypto Mode.<br />

Access to the secret area is only possible in Crypto Mode after a mutual authentication.<br />

If -crypto- equals 1 (Crypto Mode) and you did not run an authentication procedure before,<br />

Status will be set to -9.<br />

C-Function: void HT1_Read_Page (BYTE_T crypto, BYTE_T pagenr, char *data);<br />

Header-File: Hitag1.H<br />

Serial protocol:<br />

HOST - READ/WRITE DEVICE<br />

0x04 'P' crypto pagenr BCC<br />

crypto:<br />

pagenr:<br />

0x00 ... Plain Mode<br />

0x01 ... Crypto Mode<br />

page number<br />

READ/WRITE DEVICE - HOST<br />

n+2 Status data[0] ....... data[3] BCC<br />

n = 0 if an error occurred (error code in Status).<br />

n = 4 if data were read from a transponder (Status = 0).<br />

Status: 0 ... no error<br />

-1 ... SERIAL ERROR<br />

-3 ... NOTAG<br />

-9 ... CRYPTOBLOCK NOT INIT<br />

Page 23 (107)<br />

Protokoll HTRM801 V1.2/C

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!