ACR39x – Reference Manual
Version 1.03
www.acs.com.hk
Page 30 of 35
The arrangement of the protection bits in the PROT bytes is as follows:
Where:
Px
is the protection bit of BYTE x in the response data.
‘0’
byte is write protected.
‘1’
byte can be written.
8.4.3.
READ_PRESENTATION_ERROR_COUNTER_MEMORY_CARD (Only
SLE4442 and SLE5542)
This command is used to read the presentation error counter for the secret code.
Command Format (
abData
field in the
PC_to_RDR_XfrBlock
)
Pseudo-APDU
CLA
INS
P1
P2
MEM_L
FFh
B1h
00h
00h
04h
Response Data Format (
abData
field in the
RDR_to_PC_DataBlock
)
ERRCNT
DUMMY 1
DUMMY 2
DUMMY 3
SW1
SW2
Where:
ERRCNT
The value of the presentation error counter. 07h indicates that the last
verification is correct. 00h indicates that the password is locked (exceeded
the maximum number of retries). Other values indicate that the last
verification has failed.
DUMMY
Three bytes dummy data read from the card.
SW1 SW2
= 90 00h if no error.
8.4.4.
READ_PROTECTION_BITS
This command is used to read the protection bits for the first 32 bytes.
Command Format (
abData
field in the
PC_to_RDR_XfrBlock
)
Pseudo-APDU
CLA
INS
P1
P2
MEM_L
FFh
B2h
00h
00h
04h
PROT 1
PROT 2
…
P8
P7
P6
P5
P4
P3
P2
P1
P16
P15
P14
P13
P12
P11
P10
P9
..
..
..
..
..
..
P18
P17