Read_memory_card, Write_memory_card – ACS ACR3801 Smart Card Reader User Manual

Page 24

Advertising
background image

ACR3801 – Reference Manual

[email protected]

Version 2.01

www.acs.com.hk

Page 24 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.1.3. READ_MEMORY_CARD

Command Format (abData field in the PC_to_RDR_XfrBlock)

Pseudo-APDU

CLA INS

Byte Address

MEM_L

MSB

LSB

FFh

B0h

Where:

Byte Address

Memory address location of the memory card

MEM_L

Length of data to be read from the memory card


Response Data Format (abData field in the RDR_to_PC_DataBlock)

BYTE 1 … … BYTE N SW1 SW2

Where:

BYTE x

Data read from memory card

SW1 SW2

= 90 00h if no error

8.3.1.4. WRITE_MEMORY_CARD

Command Format (abData field in the PC_to_RDR_XfrBlock)

Pseudo-APDU

CLA INS

Byte Address

MEM_L Byte 1 .... .... Byte n

MSB

LSB

FFh

D0h

Where:

Byte Address Memory address location of the memory card
MEM_L

Length of data to be written to the memory card

Byte x

Data to be written to the memory card

Response Data Format (abData field in the RDR_to_PC_DataBlock)

SW1 SW2

Advertising