ACS ACR83 PINeasy Smart Card Reader User Manual

Page 21

Advertising
background image

ACR83 – Reference Manual

[email protected]

Version 1.05

www.acs.com.hk

Page 21 of 49


bmPINBlockString=48h

SpePINSize=4 bits
SpePINLen=8 bytes


bmPINLengthFormat=04h

SpePINLenPos=4 bits


wPINMaxExtraDigit=010ah

SpePinMax=0ah
SpePinMin=01h


PIN Input = 1 2 3 4 5 6 7 8 0

Point 1: SpePINLen (9) equal to SpePINLen (8) + SpePinPos (1)

Point 2: SpePINPos (1 Byte) >= SpePinLenPos (4 bits) + SpePINSize (4 bits)

Point 3: SpePINLen (9) – SpePinPos (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

SpePINPos

SpePINLen

APDU Command

Header

Lc

Offset SpePINPos (1 Byte)

PIN

00 20 00 01

09

Offset (4 bits)

SpePINSize (4 bits)

Not used

field

PIN

00 20 00 01

09

57h

Input 9 digits

Does not

exist

PIN

00 20 00 01

09

0101

=

0101

0111

1001

(bits)

Does not

exist

PIN

00 20 00 01

09

0101

1001

(59h) (

1001

replace original

0101

0111

)

PIN


How about the PIN management?
Because it is Left and BCD arrangement

PIN (Byte)

Original

00 20 00 01 09 57 30 30 30 30 30 30 30 30

Input

12 34 56 78 0

Result PIN

00 20 00 01 09 59 12 34 56 78 00 30 30 30

Advertising