beautypg.com

Ccid bulk-in messages, Rdr_to_pc_datablock, Rdr_to_pc_slotstatus – ACS ACR38K Smart Keyboard User Manual

Page 18

background image

ACR38x (CCID) – Reference Manual

[email protected]

Version 6.04

www.acs.com.hk

Page 18 of 58

9.2. CCID Bulk-IN Messages

The Bulk-IN messages are used in response to the Bulk-OUT messages. ACR38x (CCID) shall follow

the CCID Bulk-IN Messages as specified in CCID Rev 1.0 Section 4.2.
This section lists the CCID Bulk-IN Messages to be supported by ACR38x (CCID).

9.2.1.

RDR_to_PC_DataBlock

This command is sent by ACR38x (CCID) in response to PC_to_RDR_IccPowerOn,

PC_to_RDR_XfrBlock and PC_to_RDR_Secure messages.

Offset

Field

Size

Value

Description

0

bMessageType

1

80h

Indicates that a data block is being sent

from the CCID.

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

Rev 1.0 Section 4.2.1.

8

bError

1

Slot error register as defined in CCID

Rev 1.0 Section 4.2.1.

9

bChainParameter

1

00h

RFU (TPDU exchange level).

10

abData

Byte

array

This field contains the data returned by

the CCID.

9.2.2.

RDR_to_PC_SlotStatus

This command is sent by ACR38x (CCID) in response to PC_to_RDR_IccPowerOff,

PC_to_RDR_GetSlotStatus, PC_to_RDR_Abort messages and Class Specific ABORT request.

Offset

Field

Size

Value

Description

0

bMessageType

1

81h

1

dwLength

4

00000000h 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 Rev 1.0 Section 4.2.1.

8

bError

1

Slot error register as defined in

CCID Rev 1.0 Section 4.2.1.