background image

 

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 

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

 

[email protected] 

www.acs.com.hk 

Summary of Contents for AET60 BioCARDKey

Page 1: ...AET60 BioCARDKey Reference Manual Subject to change without prior notice info acs com hk www acs com hk...

Page 2: ...se Length 255 bytes 11 6 2 2 No Transmission Error with Extended Response 12 6 2 3 Transmission Error 12 6 3 Reset Message 13 6 4 Card Status Message 13 6 5 Transmission Protocol 14 7 0 Smart Card Com...

Page 3: ...e that no one else can use their smart card should it become lost or stolen In the present state of the smart card industry different types of smart cards use different commands and different communic...

Page 4: ...biometric application 1 Enrollment Before the identity of an individual can be verified via his her fingerprints it is necessary to capture one or several fingerprint samples This process is called e...

Page 5: ...ecifications of ISO7816 3 with certain restrictions or enhancements to increase the practical functionality of the BioCARDKey 3 2 1 Smart Card Power Supply VCC C1 The current consumption of the insert...

Page 6: ...being removed As a general rule however to avoid any electrical damage a card should only be removed from the reader while it is powered down NOTE The BioCARDKey never does by itself switch on the pow...

Page 7: ...ed along with the device Status LEDs Red LED on the front of the reader indicate the activation status of the smart card interface Red LED Indicates power supply to the smart card is switched on i e t...

Page 8: ...upply for the reader 2 D Differential signal transmits data between BioCARDKey and PC 3 D Differential signal transmits data between BioCARDKey and PC 4 GND Reference voltage level for power supply NO...

Page 9: ...255 N 4 Header Instruction Data length N Data Checksum Header Always 01H to indicate the start of a command Instruction The instruction code of the command to be carried out by the BioCARDKey Data Len...

Page 10: ...the third byte represent data length N Data Data contents of the command For a READ command for example the data bytes would specify the start address and the number of bytes to be read For a WRITE c...

Page 11: ...lification of the command execution status A table listing the possible values of the status bytes SW1 and SW2 and the corresponding meaning is given in Appendix B Data Length Number of subsequent dat...

Page 12: ...a READ_DATA command for example the data bytes would contain the contents of the memory addresses read from the card The data bytes can represent values read from the card and or status information Ch...

Page 13: ...der to the computer are not desired they can be disabled with the SET_NOTIFICATION command Please note that the setting made with this command is volatile and will be lost with the next reader reset o...

Page 14: ...3 H 3 41H A The following example shows the transmission of a command with instruction code A2H and one data byte with the value 3DH The command has the following structure byte 1 2 3 4 5 Header Instr...

Page 15: ...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...

Page 16: ...apt to slower host system speeds The time delay is given by N 0 1msec with N ranging from 0 255 00 FFH The default value is N 0 delay changes only valid on RS232 reader BAUD RATE Selects the baud rate...

Page 17: ...e RESET command only for the case when no card type is selected or when the card type 00H is selected For all other cases please refer to the specific section described for each individual card type C...

Page 18: ...Card Status Message Response data format No response data 7 1 6 SET_PPS_MODE This command selects the PPS mode to be used Command format Instruction Code Data length Data PPS_Mode 07 H 01 H NOTIFY Spe...

Page 19: ...length 80 H 00 H Response data format ATR ATR Answer To Reset as transmitted by the card according to ISO7816 3 NOTE The ATR is only returned in the BioCARDKey response if the communication protocol o...

Page 20: ...ata length Le 0 means no data is expected from the card NOTE With the T 0 communication protocol it is not possible to transmit data to the card and from the card in a single command response pair Hen...

Page 21: ...protocol Command format Instruction Code Data length Data LEN T1 BLOCK FRAME A1 H LEN Length of APDU command data N DATA T1 Block frame to be sent to the card Response data format BYTE 1 BYTE N BYTE x...

Page 22: ...the GET_ACR_STAT command correspond with the respective card types Cyber mouse Card Type Code Card Type 00H Auto select T 0 or T 1 communication protocol 0CH MCU based cards with T 0 communication pro...

Page 23: ...60 04 Card not powered up This status code is also returned in a response if the card was temporarily removed during a card access 60 05 Invalid Instruction Code 60 20 Card failure 60 22 Short circui...

Page 24: ...t is also recommended that before each touch the sensor be cleaned as described in section D 3 Appendix C 2 Periodic Cleaning Dampen a lint free cloth or cotton swab with alcohol or acetone Gently rub...

Reviews: