HT-CM400 NXP Semiconductors, HT-CM400 Datasheet - Page 21

no-image

HT-CM400

Manufacturer Part Number
HT-CM400
Description
Ht Cm400; Ht Rm440 Family; Ht Rm800 Family Interface Protocol Reader - Host
Manufacturer
NXP Semiconductors
Datasheet
98-02-10
3.7.6 ReadPage
Reads a page (4 bytes) of a selected HITAG 1 transponder.
If no transponder is selected, a NOTAG message will be generated even if there is a transponder
in the communication field of the antenna.
Using the byte -crypto- you define whether you want to work in Plain or in Crypto Mode.
Access to the secret area is only possible in Crypto Mode after a mutual authentication.
If -crypto- equals 1 (Crypto Mode) and you did not run an authentication procedure before,
Status will be set to -9.
C-Function: void proloc_ReadPage (BYTE_T crypto, BYTE_T pagenr, char *data);
Header-File: PROLIB6.H
Serial protocol:
HOST - READ/WRITE DEVICE
crypto:
pagenr:
READ/WRITE DEVICE - HOST
n = 0 if an error occurred (error code in Status).
n = 4 if data were read from a transponder (Status = 0).
Status:
0x04
n+2
Status
0x00 ... Plain Mode
0x01 ... Crypto Mode
page number
-1 ...
-3 ...
-9 ...
'P'
0 ... no error
SERIAL ERROR
NOTAG
CRYPTOBLOCK NOT INIT
data[0]
crypto
pagenr
.......
Page 21 (104)
Rev. 1.0
data[3]
BCC
BCC
Communication Reader-Host
Htswp.doc/HS

Related parts for HT-CM400