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

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
Communication Reader-Host
3.7.7 ReadBlock
Reads a block (16 bytes) of the 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.
The start address is specified by -pagenr-. Data is read from the start address until the end of the
corresponding block. Thus a data length of 4, 8, 12 or 16 bytes is possible.
Use byte -crypto- to 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_ReadBlock (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, 8, 12, 16 depending on the page address if data were read from a transponder (Status = 0).
Status:
Htswp.doc/HS
0x04
n+2
Status
'B'
0x00 ... Plain Mode
0x01 ... Crypto Mode
page number (for start address)
-1 ...
-3 ...
-9 ...
0 ... no error
SERIAL ERROR
NOTAG
CRYPTOBLOCK NOT INIT
data[0]
crypto
pagenr
.......
data[n-1]
Page 22 (104)
Rev. 1.0
BCC
BCC
98-02-10

Related parts for HT-CM400