Other commands access via pc_to_rdr_xfrblock, Get_reader_information – ACS ACR38K Smart Keyboard User Manual
Page 56

ACR38x (CCID) – Reference Manual
Version 6.04
www.acs.com.hk
Page 56 of 58
9.4. Other Commands Access via PC_to_RDR_XfrBlock
9.4.1.
GET_READER_INFORMATION
This command returns relevant information about the particular ACR38x (CCID) 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
FFh
09h
00h
00h
10h
Response Data Format (abData field in the RDR_to_PC_DataBlock)
FIRMWARE
MAX_C MAX_R
C_TYPE
C_SEL C_STAT
Where:
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
Refer to the next section 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