ACR83 – Reference Manual info@acs.com.hk
Version 1.06
www.acs.com.hk
Page 2 of 61
Table of Contents
1.0. Introduction ............................................................................................................. 4
1.1. Reference Documents ........................................................................................................... 4
1.2. Symbols and Abbreviations ................................................................................................... 4
2.0. Features ................................................................................................................... 5
3.0. Supported Card Types ............................................................................................ 6
4.0. Smart Card Interface ............................................................................................... 7
4.1. Smart Card Power Supply VCC (C1) .................................................................................... 7
4.2. Programming Voltage VPP C6 .............................................................................................. 7
4.3. Card Type Selection .............................................................................................................. 7
4.4. Interface for Microcontroller-based Cards ............................................................................. 7
4.5. Card Tearing Protection ......................................................................................................... 7
5.0. Power Supply ........................................................................................................... 8
6.0. USB Interface ........................................................................................................... 9
6.1. Communication Parameters .................................................................................................. 9
6.2. Endpoints ............................................................................................................................... 9
7.0. Communication Protocol ...................................................................................... 10
8.0. PC/SC SCardControl Application Programming Interface ................................. 12
8.1. Specific ScardControl .......................................................................................................... 12
8.2. Smart Card Device IOCTLs ................................................................................................. 13
8.2.1. CM_IOCTL_GET_FEATURE_REQUEST .................................................................. 13
8.2.2. FEATURE_VERIFY_PIN_DIRECT ............................................................................. 14
8.2.3. FEATURE_MODIFY_PIN_DIRECT ............................................................................ 16
8.2.4. FEATURE_IFD_PIN_PROP ....................................................................................... 18
8.2.5. IOCTL_SMARTCARD_GET_FIRMWARE_VERSION ............................................... 19
8.2.6. IOCTL_SMARTCARD_DISPLAY_LCD_MESSAGE .................................................. 20
8.2.7. IOCTL_SMARTCARD_READ_KEY ........................................................................... 20
9.0. Operation Flow for PIN Verification and Modification (PC/SC 2.0 Part 10) ........ 22
10.0. CCID SPE Data Structure ...................................................................................... 23
11.0. PIN Verification Data Structure ............................................................................. 24
11.1. Error Checking (Bit) ............................................................................................................. 25
11.2. Error Checking (Byte) .......................................................................................................... 25
11.3. Verification Example 1 ......................................................................................................... 26
11.4. Verification Example 2 ......................................................................................................... 28
11.5. Verification Example 3 ......................................................................................................... 29
12.0. PIN Modification Data Structure ........................................................................... 32
12.1. Modification (Bit) bConfirmPIN Bit1=0 ................................................................................. 33
12.2. Modification (Bit) bConfirmPIN Bit1=0 Data Structure Error Checking ............................... 34
12.3. Modification (Byte) bConfirmPIN Bit1=0 .............................................................................. 34
12.4. Modification (Byte) bConfirmPIN Bit1=0 Data Structure Error Checking ............................ 34
12.5. Modification (Bit) bConfirmPIN Bit1=1 ................................................................................. 34
12.6. Modification (Bit) bConfirmPIN Bit1=1 Data Structure Error Checking ............................... 35
12.7. Modification (Byte) bConfirmPIN Bit1=1 .............................................................................. 35
12.8. Modification (Byte) bConfirmPIN Bit1=1 Data Structure Error Checking ............................ 36
12.9. Modification Example 1 ........................................................................................................ 36
12.10. Modification Example 2 ........................................................................................................ 38
12.11. Modification Example 3 ........................................................................................................ 40
12.12. Modification Example 4 ........................................................................................................ 42
12.13. Modification Example 5 ........................................................................................................ 45