APG8201-B2
– Reference Manual
Version 1.00
www.acs.com.hk
Page 19 of 48
www.acs.com
.hk
bSendBuffer[3]=00h;
bSendBuffer[4]=00h;
bSendBuffer[5]=02h;
dwSendBufferLen=06h
SCARDStatus = SCardControl( hSAM, SCARD_CTL_CODE(3500), bSendBuffer,
dwSendBufferLen, bRecvBuffer, dwRecvBufferLen, &dwRecvBufferLen);
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Not
used
Not
used
Not
used
Not
used
Not
used
616CFlag
EMVMode
PPSMode
Table 1
: ReaderOptions Bit Structure
7.1.8.
PC_to_RDR_Secure
This command enters the PIN for verification or modification.
Offset
Field
Size
Value
Description
0
bMessageType
1
69h
-
1
dwLength
4
-
Size of
abData
field of this message
5
bSlot
1
00-FFh
Identifies the slot number for this
command
6
bSeq
1
00-FFh Sequence number for command
7
bBWI
1
00-FFh
Used to extend the CCIDs Block Waiting
Timeout for this current transfer. The
CCID will timeout the block after “this
number multiplied by the Block Waiting
Time” has expired.
8
wLevelParameter
2
0000h
RFU (TPDU exchange level)
10
abData
Byte
array
-
The value depends of
wLevelParameters
. When
wLevelParameters
is 0000h or 0001h
abData
=
abPINOperationDataStructure
.
7.1.8.1.
abPINOperationDataStructure
Offset
Field
Size
Value
Description
10
bPINOperation
1
00-06h
Used to indicate the PIN operation:
00h: PIN Verification
01h: PIN Modification
11
abPINDataStructure
Byte
array
-
PIN Verification Data Structure or
PIN Modification Data Structure
7.1.8.2.
PIN Verification Data Structure
Offset
Field
Size
Value
Description