![ACS ACR38 Smart Скачать руководство пользователя страница 30](http://html.mh-extra.com/html/acs/acr38-smart/acr38-smart_reference-manual_2841731030.webp)
ACR38 Reference Manual
version 1.9 February 2006
Response data format
Header
Status
Data length
SW1
SW2
LEN
01
H
SW1, SW2
= 90
H
00
H
if no error
8.2.6.6 PRESENT_CODE_MEMORY_CARD (only SLE 4428)
To submit the secret code to the memory card to enable the write operation with the SLE4428 card. The
following actions are executed:
-
search a ‘1’ bit in the presentation error counter and write the bit to ‘0’
-
present the specified code to the card
-
try to erase the presentation error counter
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
P1
P2
MEM_L
CODE
MSB
LSB
Byte 1
Byte 2
01
H
A0
H
00
H
07
H
FF
H
20
H
00
H
00
H
02
H
CODE
Two bytes secret code (PIN)
Response data format
Header
Status
Data length
ERRCNT
CODE
SW1
SW2
LEN
Byte 1
Byte 2
01
H
ERRCNT
The value of the presentation error counter after the code presentation.
CODE
The two bytes secret code read from the card.
SW1, SW2
= 90
H
00
H
if no error
If the correct code has been presented to the card, the value of ERRCNT is FF
H
and the value of CODE is
identical to the code data specified in the command.
8.2.6.7 READ_PRESENTATION_ERROR_COUNTER_MEMORY_CARD (only SLE 4428)
To read the presentation error counter for the secret code.
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
P1
P2
MEM_L
MSB
LSB
01
H
A0
H
00
H
05
H
FF
H
B1
H
00
H
00
H
00
H
Advanced Card Systems Ltd.
Page 30 of 43