APG8201-B2
– Reference Manual
Version 1.00
www.acs.com.hk
Page 11 of 48
www.acs.com
.hk
7.0. USB Communication Protocol (CCID)
APG8201-B2 shall establish an interface to the host through the USB connection. A specification,
namely CCID, has been released within the industry defining such a protocol for the USB chip-card
interface devices. CCID covers all the protocols required for operating smart cards and PIN. The
configurations and usage of USB endpoints on APG8201-B2 shall follow the CCID specification.
There are several essential CCID command protocols that APG8201-B2 needs to handle which are
enumerated in the succeeding sections.
7.1. PC to Reader
7.1.1.
PC_to_RDR_IccPowerOn
This command activates the card slot and returns ATR from the card.
Offset
Field
Size
Value
Description
0
bMessageType
1
62h
-
1
dwLength
4
00000000h Message-specific data length
2
bSlot
1
00-FFh
Identifies the slot number for this
command
5
bSeq
1
00-FFh
Sequence number for command
6
bPowerSelect
1
01h
Voltage that is applied to the ICC:
01h
– 5 V
7
abRFU
2
-
Reserved for future use
The response to this command message is the
RDR_to_PC_DataBlock
response message and the
data returned is the Answer To Reset (ATR) data.
7.1.2.
PC_to_RDR_IccPowerOff
This command deactivates the card slot.
Offset
Field
Size
Value
Description
0
bMessageType
1
63h
-
1
dwLength
4
00000000h Message-specific data length
5
bSlot
1
00-FFh
Identifies the slot number for this
command
6
bSeq
1
00-FFh
Sequence number for command
7
abRFU
3
-
Reserved for future use
The response to this message is the
RDR_to_PC_SlotStatus
message.