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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

3.7.10 HT1_Write_Page<br />

Writes a page (4 bytes) to the 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 />

Use byte -crypto- to 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 process before, Status<br />

will be set to -9.<br />

ATTENTION: To substantially increase the data reliability we strictly recommend to read<br />

the previously written data (read after write).<br />

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

Header-File: Hitag1.H<br />

Serial protocol:<br />

HOST - READ/WRITE DEVICE<br />

0x08 'p' crypto Pagenr data[0] ....... data[3] BCC<br />

crypto:<br />

pagenr:<br />

0x00 ... Plain Mode<br />

0x01 ... Crypto Mode<br />

page number<br />

READ/WRITE DEVICE - HOST<br />

0x02 Status BCC<br />

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

-1 ... SERIAL ERROR<br />

-3 ... NOTAG<br />

-4 ... TIMEOUT<br />

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

Page 25 (107)<br />

Protokoll HTRM801 V1.2/C

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

Saved successfully!

Ooh no, something went wrong!