7.0. Smart Card Commands
The commands executed by the BioCARDKey smart card reader can generally be divided into two
categories, namely, Control Commands and Card Commands.
Control Commands control the internal operation of the BioCARDKey. They do not directly affect the
card inserted in the reader and are therefore independent of the selected card type.
Card Commands are directed toward the card inserted in the BioCARDKey. The structure of these
commands and the data transmitted in the commands and responses depend on the selected card
type.
7.1. Control Commands
7.1.1.
GET_ACR_STAT
This command returns relevant information about the particular BioCARDKey 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.
Command format
Instruction
Code
Data length
01
H
00
H
Response data format
INTERNAL
MAX_C MAX_R
C_TYPE
C_SEL
C_STAT
INTERNAL
10 bytes data for internal use only
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 BioCARDKey. 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
15 14 13 12 11 10 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 as specified in a previous
SELECT_CARD_TYPE
command. 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
powered up:
00
H
: no card inserted
01
H
: card inserted, not powered up
03
H
: card powered up
Document Title Here
Document Title Here
Document Title Here
AET60 Reference Manual
Version 1.7
Page 15 of 24
www.acs.com.hk