background image

 

7.1.2.3. 

RDR_to_PC_Parameters 

This message is sent by the smart card reader in response to 

PC

_

to

_

RDR

_

GetParameters

PC

_

to

_

RDR

_

ResetParameters

 and 

PC_to_RDR_SetParameters

 messages. 

Offset Field  Size 

Value 

Description 

bMessageType 

82h 

 

dwLength 

 

Size of extra bytes of this message 

bSlot 

 

Same value as in 

Bulk

-

OUT

 message 

bSeq 

 

Same value as in 

Bulk

-

OUT

 message 

bStatus 

 

Slot status register as defined in CCID 
section 4.2.1 

bError 

 

Slot error register as defined in CCID 
section 4.2.1 and this specification 
section 5.2.8 

bProtocolNum 

 

Specifies what protocol data structure 
follows. 

00h

 = Structure for protocol T=0 

01h

 = Structure for protocol T=1 

The following values are reserved for 
future use. 

80h

 = Structure for 2-wire protocol 

81h

 = Structure for 3-wire protocol 

82h

 = Structure for I2C protocol 

10 

abProtocolData

Structure 

Byte 

array 

 

Protocol Data Structure as summarized 
in section 5.2.3. 

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 

FF

 

H

 

09

 

H

 

00

 

H

 

00

 

H

 

10

 

H

 

 

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

 

 

Document Title Here 

Document Title Here 

Document Title Here

 

ACR101 PC/SC Memory Card Access 

Version 1.0

 

Page 16 of 19

 

[email protected] 

www.acs.com.hk 

Summary of Contents for ACR101

Page 1: ...ACR101 SIMicro CCID Smart Card and Micro SD Reader Reference Manual Subject to change without prior notice info acs com hk www acs com hk...

Page 2: ...otection 7 6 0 USB Interface 8 6 1 Communication Parameters 8 6 2 Endpoints 8 7 0 Communication Protocol 9 7 1 Command to the ACR101 CCID 10 7 1 1 CCID Command Pipe Bulk OUT Messages 10 7 1 2 CCID Bul...

Page 3: ...for contactless applications such as logical and physical access Designed to access SIM sized smart cards and for data or application storage it is perfect for GSM solutions such as E Government E Ba...

Page 4: ...3 V 1 8 V cards o Reads and writes onto all microprocessor cards with the T 0 T 1 protocol o Supports memory cards o Supports Spec 11 11 compliant GSM cards o Short circuit protection Memory Card Supp...

Page 5: ...In Windows Explorer the device is detected as a removable disk The ACR101 CCID is powered from the USB port without other external power supply 1 GB Flash Memory USB Interface Computer USB 2 0 Hub Co...

Page 6: ...onds Indicates smart card interface part is powered up and in the standby state Either the smart card has not been inserted or the smart card has not been powered up if it is inserted Lighting up Indi...

Page 7: ...carried out by the reader through the PPS when the card inserted in the reader supports both protocol types Whenever an MCU based card supports only one protocol type T 0 or T 1 the reader automatica...

Page 8: ...power supply 6 2 Endpoints The ACR101 CCID uses the following endpoints to communicate with the host computer Control Endpoint 0 For setup and control purposes Bulk OUT Endpoint 1 For the command to b...

Page 9: ...l commands sent to the smart card reader have to be sent synchronously i e bMaxCCIDBusySlots is equal to 1 The supported CCID features by ACR101 CCID smart card interface are indicated in its Class De...

Page 10: ...PIN Verification 53 bMaxCCIDBusySlots 1 01h Only 1 slot can be simultaneously busy 7 1 Command to the ACR101 CCID In a normal operation the ACR101 CCID acts as a slave device with regards to the comm...

Page 11: ...1 63h 1 dwLength 4 00000000h Size of extra bytes of this message 5 bSlot 1 Identifies the slot number for this command 6 bSeq 1 Sequence number for command 7 abRFU 3 Reserved for future use The respon...

Page 12: ...GetParameters Get slot parameters Offset Field Size Value Description 0 bMessageType 1 6Ch 1 DwLength 4 00000000 h Size of extra bytes of this message 5 BSlot 1 Identifies the slot number for this com...

Page 13: ...5h Offset Field Size Value Description 10 bmFindexDindex 1 B7 4 FI Index into the table 7 in ISO IEC 7816 3 1997 selecting a clock rate conversion factor B3 0 DI Index into the table 8 in ISO IEC 7816...

Page 14: ...essage is the RDR_to_PC_Parameters message 7 1 2 CCID Bulk IN Messages The Bulk IN messages are used in response to the Bulk OUT messages ACR101 CCID shall follow the CCID Bulk IN Messages as specifie...

Page 15: ...Bulk OUT message 6 bSeq 1 Same value as in Bulk OUT message 7 bStatus 1 Slot status register as defined in CCID section 4 2 1 8 bError 1 Slot error register as defined in CCID section 4 2 1 and this s...

Page 16: ...abProtocolData Structure Byte array Protocol Data Structure as summarized in section 5 2 3 7 1 3 Commands Accessed via PC_to_RDR_XfrBlock 7 1 3 1 GET_READER_INFORMATION This command returns relevant i...

Page 17: ...ether the card is powered up 00H no card inserted 01H card inserted not powered up 03H card powered up 7 2 Mass Storage Mass Storage Device Class specifies all the protocols required for data transact...

Page 18: ...12k and 1024k bits 03H Atmel AT88SC153 secure memory card 04H Atmel AT88SC1608 secure memory card 05H Infineon SLE4418 and SLE4428 06H Infineon SLE4432 and SLE4442 07H Infineon SLE4406 SLE4436 and SLE...

Page 19: ...be returned by the ACR38 Error Code Status FFH SLOTERROR_CMD_ABORTED FEH SLOTERROR_ICC_MUTE FDH SLOTERROR_XFR_PARITY_ERROR FCH SLOTERROR_XFR_OVERRUN FBH SLOTERROR_HW_ERROR F8H SLOTERROR_BAD_ATR_TS F7H...

Reviews: