beautypg.com

Rdr_to_pc_parameters, Commands accessed via pc_to_rdr_xfrblock, Get_reader_information – ACS ACR101 SIMicro (CCID) User Manual

Page 16

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

0

bMessageType

1

82h

1

dwLength

4

Size of extra bytes of this message

5

bSlot

1

Same value as in 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 specification
section 5.2.8

9

bProtocolNum

1

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