Present_code_memory_card (sle 4442 and sle 5542), Change_code_memory_card (sle 4442 and sle 5542) – ACS ACR3801 Smart Card Reader User Manual

Page 44

Advertising
background image

ACR3801 – Reference Manual

[email protected]

Version 2.01

www.acs.com.hk

Page 44 of 62

Response Data Format (abData field in the RDR_to_PC_DataBlock)

SW1 SW2

Where:

SW1 SW2 = 90 00h if no error

8.3.6.7. PRESENT_CODE_MEMORY_CARD (SLE 4442 and SLE 5542)

To submit the secret code to the memory card to enable the write operation with the SLE 4442 and

SLE 5542 card, the following actions are executed:

1. Search a ‘1’ bit in the presentation error counter and write the bit to ‘0’.
2. Present the specified code to the card.
3. Try to erase the presentation error counter.


Command Format (abData field in the PC_to_RDR_XfrBlock)

Pseudo-APDU

CLA INS

P1

P2

MEM_L

CODE

Byte 1 Byte 2 Byte 3

FFh

20h

00h

00h

03h

Where:

CODE

Three bytes secret code (PIN)


Response Data Format (abData field in the RDR_to_PC_DataBlock)

SW1

SW2

ErrorCnt

90h

Where:

SW1

= 90h

SW2 (ErrorCnt)

= Error Counter. 07h indicates that the verification is correct. 00h

indicates the password is locked (exceeded the maximum number of

retries). Other values indicate that the current verification has failed.

8.3.6.8. CHANGE_CODE_MEMORY_CARD (SLE 4442 and SLE 5542)

This command is used to write the specified data as new secret code in the card.
The current secret code must be presented to the card with the PRESENT_CODE command prior to

the execution of this command.

Advertising