Modification example 4 – ACS ACR83 PINeasy Smart Card Reader User Manual

Page 33

Advertising
background image

ACR83 – Reference Manual

[email protected]

Version 1.05

www.acs.com.hk

Page 33 of 49

Command Header

SpePINPos

SpePINLen

APDU Command

Header

Lc

Offset SpePINPos 1 Byte

PIN

00 24 00 01

09

Offset (4 bits)

SpePINSize (4bits)

Not used

field

PIN

00 24 00 01

09

57h

Input 9 digits

Does not

exist

PIN

00 24 00 01

09

0101

=

0101

0111

1001

(bits)

Does not

exist

PIN

00 24 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 24 00 01 09 57 30 30 30 30 30 30 30 30h

Input

12 34 56 78 0h

Result PIN

00 24 00 01 09 59 12 34 56 78 00 30 30 30h


The whole APDU in byte format will be:

00 24 00 01 09 5

9

12 34 56 78 0

0 30 30 30h

If arrangement is Right:
bmFormatString change to=8Dh

00 24 00 01 08 5

9

30 30 30 3

1 23 45 67 80h

12.12. Modification Example 4

bConfirmPIN Bit1 = 1
(Current/Old PIN entry requested)
System unit is bit.

APDU Command

SpeOffsetOld

SpePINLen

APDU Header APDU

Lc

Maybe not

Offset SpePINPos

Old PIN

CLA INS P1 P2

Lc

Exists

Offset

SpePINLenPos SpePINSize

Not used

field

Old PIN

SpeOffsetNew

SpePINLen

Maybe not

Offset SpePINPos

New PIN

Exists

Offset

SpePINLenPos

SpePINSize

Not used field

New PIN

Advertising