ACS ACR83 PINeasy Smart Card Reader User Manual
Page 30

ACR83 – Reference Manual
Version 1.05
www.acs.com.hk
Page 30 of 49
wPINMaxExtraDigit=010Ah
SpePinMax=0Ah
SpePinMin=01h
bInsertionOffsetNew (SpeOffsetNew)=01h
SpeOffsetNew =1 byte
bNumberMessage=
02h
Show “Enter New PIN:” and
Show “Enter Confirm PIN”
New PIN Input = 1 2 3 4 5 6 7 8 0
•
Point 1: Lc (0Ah) equal to SpePINLen (09) + SpeOffsetNew (01h)
•
Point 2: SpePINPos (7 bits) >= SpePinLenPos (2 bits) + SpePINSize (4 bits)
•
Point 3: SpePINLen (9) – SpePinPos (7 bits) [act as 1 byte] >= [SpePinMax (0Ah) *
4bits(BCD)] = 5 bytes
: 8 bytes >=5 bytes
•
Point 4: SpePinMax (0Ah) > SpePinMin (01h)
•
Point 5: SpePinMax (0Ah) < 10h
•
Point 6: SpePinMin (01h) >= 01h
Command Header
OffsetNew
SpePINLen
APDU
Header
APDU
Lc
OffsetNew
Offset SpePINPos 7 bits
PIN
00 24 00 01
09
Offset
Offset (2 bits)
SpePINSize
(4 bits)
Not used
field/Does not
exist
PIN
00 24 00 01
09
1 byte
01
Input 9 digits
Offset 6 bit
relative to Lc
PIN
00 24 00 01
09
20
01
=
01
01011
1001
(bits)
1
(bit)=010101
1
PIN
00 24 00 01
09
20
01
1001
1
(
1001
replace original 01
0101
1)
PIN
How about the PIN management?
Because it is Left and BCD arrangement.
PIN (bits)
Original
1 0011 0000 0011 0000 0011 0000 0011 0000 0011 0000
0011 0000 0011 0000 1100 0000
Input 12 34 56 78 0
(change to bit format) 0001 0010 0011 0100 0101 0110 0111 1000 0000