Read_memory_card, Write_memory_card – ACS ACR33U-A1 SmartDuo Smart Card Reader User Manual

Page 27

Advertising
background image

ACR33U-A1 – Reference Manual

[email protected]

Version 1.02

www.acs.com.hk

Page 27 of 60

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


Advertising