beautypg.com

Commands accessed via pc_to_rdr_xfrblock – ACS ACR100I SIMFlash II User Manual

Page 17

background image

Document Title Here

Document Title Here

Document Title Here

ACR100I Reference Manual

Version 1.00

Page 17 of 20

www.acs.com

.hk

[email protected]

www.acs.com.hk

7.1.3.

Commands Accessed via PC_to_RDR_XfrBlock

7.1.3.1.

GET_READER_INFORMATION

This command returns relevant information about the particular ACR100I model and the current
operating status, such as the firmware version number; the maximum data length of a command and
response; the supported card types; and whether a card is inserted and powered up or not.

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

FF

H

09

H

00

H

00

H

10

H

Response data format (abData field in the RDR_to_PC_DataBlock)

FIRMWARE

MAX_C

MAX_R

C_TYPE

C_SEL

C_STAT

FIRMWARE

10 bytes data for firmware version

MAX_C

The maximum number of command data bytes.

MAX_R

The maximum number of data bytes that can be requested to be transmitted in a

response.

C_TYPE

The card types supported by the ACR100I. This data field is a bitmap with each bit

representing a particular card type. A bit set to '1' means the corresponding card type

is supported by the reader and can be selected with the SELECT_CARD_TYPE

command. The bit assignment is as follows:

Byte

1

2

card type

F

E

D

C

B

A

9

8

7

6

5

4

3

2

1

0

See Appendix A for the correspondence between these bits and the respective card

types.

C_SEL

The currently selected card type. A value of 00

H

means that no card type has been

selected.

C_STAT

Indicates whether a card is physically inserted in the reader and whether the card is