beautypg.com

Memory card – sle 4418/sle 4428/sle 5518/sle 5528, Select_card_type, Read_memory_card – ACS ACR38K Smart Keyboard User Manual

Page 32

background image

ACR38x (CCID) – Reference Manual

[email protected]

Version 6.04

www.acs.com.hk

Page 32 of 58

9.3.5.

Memory Card – SLE 4418/SLE 4428/SLE 5518/SLE 5528

9.3.5.1. SELECT_CARD_TYPE

This command powers up and down the selected card that is inserted in the card reader and performs

a card reset.
Note: This command can only be used after the logical smart card reader communication has been

established using the SCardConnect() API. For details of SCardConnect() API, please refer to PC/SC

specifications.

Command Format (abData field in the PC_to_RDR_XfrBlock)

Pseudo-APDU

CLA INS

P1

P2

Lc

Card Type

FFh

A4h 00h

00h

01h

05h


Response Data Format (abData field in the RDR_to_PC_DataBlock)

SW1 SW2

Where:

SW1 SW2 = 90 00h if no error

9.3.5.2. 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:

MSB Byte Address

= 0000 00A

9

A

8

b is the memory address location of the memory card

LSB Byte Address

= A

7

A

6

A

5

A

4

A

3

A

2

A

1

A

0

b is the 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