Read_protection_bits – ACS ACR38K Smart Keyboard User Manual
Page 38
![background image](/manuals/248165/38/background.png)
ACR38x (CCID) – Reference Manual
Version 6.04
www.acs.com.hk
Page 38 of 58
9.3.6.3. READ_PRESENTATION_ERROR_COUNTER_MEMORY_CARD (SLE
4442 and SLE 5542)
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
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
9.3.6.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
Response Data Format (abData field in the RDR_to_PC_DataBlock)
PROT 1 PROT 2 PROT 3 PROT 4 SW1 SW2
Where:
PROT y
Bytes containing the protection bits from protection memory
SW1, SW2
= 90 00h if no error
The arrangement of the protection bits in the PROT bytes is as follows:
PROT 1
PROT 2
…
P8
P7
P6
P5
P4
P3
P2
P1
P16
P15
P14
P13
P12
P11
P10
P9
..
..
..
..
..
..
P18
P17