Document Title Here
Document Title Here
Document Title Here
ACR38x Reference Manual (CCID)
Version 6.02
Page 18 of 20
www.acs.com.hk
8.2. Commands Accessed via PC_to_RDR_XfrBlock
8.2.1.
GET_READER_INFORMATION
This command returns relevant information about the particular ACR38x 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 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 ACR38x (CCID). 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 inserted in the reader and whether the card is powered up:
00
H
: no card inserted
01
H
: card inserted, not powered up
03
H
: card powered up