Pin verification data structure – ACS ACR83 PINeasy Smart Card Reader User Manual

Page 15

Advertising
background image

ACR83 – Reference Manual

[email protected]

Version 1.05

www.acs.com.hk

Page 15 of 49

11.0. PIN Verification Data Structure

For PIN Verification, we need to understand the PIN Verification Data Structure.
bTimeOut: Number of seconds for key press (00h: default value = 60 seconds)
abPINApdu = CLA INS P1 P2 Lc XX XX XX XX …
Example: abPINApdu = 00 20 00 01 08 FF FF FF FF FF FF FF FFh

bmFormatString (Bit 7):
0h: means the system units is bit
1h: means the system units is byte

Bit 6~3 (SpePinPos): PIN position after format in the APDU command
Bit2 (SpeLeftRight): 0=Left, 1=Right
Bit1~0 (SpePINTyp):
00h: Binary ex: 01 02 03 04 05 06
01h: BCD ex: 12 34 56
10h: ASCII ex: 31 32 33 34 35 36

bmPINBlockString:
Bit7~4 (SpePINSize):
Ex: 2 means 2*2 -1 = 4 - 1 allow maximum 3 digits PIN
If SpePINSize = 0, it means no PIN management.

Bit3~0 (SpePINLen): PIN block size in bytes after justification and formatting

bmPINLengthFormat:
Bit3~0 (SpePINLenPos): Indicate the PIN length position in the APDU command
If SpePINLenPos =0, it means no PIN management.

Bit4: 0: indicates if the SpePINLenPos is in bit or byte unit

wPINMaxExtraDigit:
XX: (SpePinMin) Minimum PIN Size
YY: (SpePinMax) Maximum PIN Size

bNumberMessage:
00h: No message display in LCD
01h: Display one message: LCD will display “Enter PIN:”
FFh: Default value equal to 01h

Advertising