beautypg.com

Power_off (*), Read_data (*), Write_data (*) – ACS ACK30 Smart Keyboard User Manual

Page 24: Acr30

background image

ACR30 Reference Manual
Version 3.3 January 2009

Page 24 of 44

ACR30

9.2.1.2.

POWER_OFF (*)

This command powers off the card inserted in the card reader.
Command format

Instruction

Code

Data length

81

H

00

H


Response data format

No

response

data

9.2.1.3.

READ_DATA (*)

To read the specified number of bytes from the specified address of the card inserted. The bytes are
read from the card with LSB first, i.e., the bit at card address 0 is regarded as the LSB of byte 0.

Command format

Instruction

Code

Data length

Data

ADDR

LEN

90

H

03

H

00

H

ADDR

Byte address of first byte to be read from the card

LEN

Number N of data bytes to be read from the card

(0 < N

≤ MAX_R)


Response data format

BYT

E 1

BYT

E 2

BYT

E 3

...

...

BYT

E N

BYTE x

Data bytes read from the card memory

9.2.1.4.

WRITE_DATA (*)

To write one byte to the specified address of the card inserted. The byte is written to the card with
LSB first, i.e., the bit at card address 0 is regarded as the LSB of byte 0.

Two different WRITE modes are available for this card type, which are distinguished by a flag in the
command data field:

a) Write

The byte value specified in the command is written to the specified address. This command
can be used for writing personalization data and counter values to the card.