ACR101I – Reference Manual
Version 1.01
www.acs.com.hk
Page 18 of 21
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 smart card reader model and the
current operating status such as the firmware revision 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
specification.
Pseudo-APDU
CLA
INS
P1
P2
Lc
FFh
09h
00h
00h
10h
Command format (
abData
field in the
PC_to_RDR_XfrBlock
)
FIRMWARE
MAX_C
MAX_R
C_TYPE
C_SEL
C_STAT
Response data format (
abData
field in the
RDR_to_PC_DataBlock
)
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 smart card reader. 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
for the correspondence between these bits and the
respective card types.
C_SEL
The currently selected card type. A value of 00h 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 powered up:
00h:
no card inserted
01h:
card inserted, not powered up
03h:
card powered up