beautypg.com

Present_code (only sle 4442) (*), Acr30 – ACS ACK30 Smart Keyboard User Manual

Page 32

background image

ACR30 Reference Manual
Version 3.3 January 2009

Page 32 of 44

ACR30


Command format

Instruction

Code

Data length

Data

LEN

ADDR

BYTE 1

...

...

BYTE

N

94

H

LEN

Number of data bytes to be write protected, N, + 2

ADDR

Byte address in the card of the first byte to be write protected. The high byte of the
address is specified as the first byte of ADDR.

BYTE x

Byte values to be compared with the data in the card starting at address ADDR. BYTE 1
is compared with the data at address ADDR; BYTE N is compared with the data at
address ADDR+N-1.


Response data format

No

response

data

9.2.3.6.

PRESENT_CODE (only SLE 4442) (*)

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

The following actions are executed by the ACR30:

- 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

Instruction Code

Data length

Data

CODE

92

H

03

H

CODE

Three bytes secret code (PIN)


Response data format

ERRCNT

CODE

ERRCNT

The value of the presentation error counter after the code presentation.

CODE

The three bytes secret code read from the card.

If the correct code has been presented to the card, the value of ERRCNT is 07

H

and the

value of CODE is identical to the code data specified in the command.