Page 2 of 37
idvation GmbH
Otto-Hesse-Straße 19 / T5 Phone +49 6151 4923021
D-64293 Darmstadt Fax +49 6151 3689296
Table of Contents
1. Introduction ...........................................................................................................................................................4
2. AET62 Contactless Smart Card Reader..............................................................................................................5
2.1. USB Interface..................................................................................................................................................5
3. Implementation......................................................................................................................................................6
3.1. Communication Flow Chart of AET62..........................................................................................................6
3.2. Smart Card Reader Interface Overview .......................................................................................................6
4. PICC Interface Description...................................................................................................................................7
4.1. ATR Generation...............................................................................................................................................7
4.1.1. ATR format for ISO 14443 Part 3 PICCs......................................................................................................7
4.1.2. ATR format for ISO 14443 Part 4 PICCs......................................................................................................8
5. PICC Commands for General Purposes .............................................................................................................9
5.1. Get Data...........................................................................................................................................................9
6. PICC Commands (T=CL Emulation) for Mifare Classic Memory Cards.........................................................10
6.1. Load Authentication Keys...........................................................................................................................10
6.2. Authentication..............................................................................................................................................11
6.3. Read Binary Blocks .....................................................................................................................................14
6.4. Update Binary Blocks..................................................................................................................................15
6.5. Value Block Related Commands................................................................................................................16
6.5.1. Value Block Operation................................................................................................................................16
6.5.2. Read Value Block.......................................................................................................................................16
6.5.3. Restore Value Block...................................................................................................................................17
7. Pseudo-APDUs....................................................................................................................................................19
7.1. Direct Transmit.............................................................................................................................................19
7.2. Bi-Color LED Control...................................................................................................................................19
7.3. Get the Firmware Version of the reader ....................................................................................................20
7.4. Get the PICC Operating Parameter ............................................................................................................20
7.5. Set the PICC Operating Parameter.............................................................................................................21
8. Basic Program Flow for Contactless Applications..........................................................................................22
8.1. How to Access PCSC-Compliant Tags (ISO 14443-4)?............................................................................23
8.2. How to Access DESFire Tags (ISO 14443-4)?...........................................................................................24
8.3. How to Access FeliCa Tags (ISO 18092)? .................................................................................................25
8.4. How to Access NFC Forum Type 1 Tags (ISO 18092), e.g. Jewel and Topaz Tags? ............................25
9. Appendix A. AET62 PCSC Escape Command..................................................................................................29
10. Appendix B. APDU Command and Response Flow for ISO 14443-Compliant Tags....................................32
11. Appendix C. APDU Command and Response Flow for ISO 18092-Compliant Tags....................................33
12. Appendix E. Sample Codes for Setting the LED..............................................................................................35
Figures
Figure 1: AET 62 System Block Diagramm ........................................................................................................................... 4
Figure 2: Communication Flow Chart of AET62 .................................................................................................................... 6
Figure 3: Basic Program Flow for Contactless Applications................................................................................................ 22
Tables
Table 1: USB Interface........................................................................................................................................................... 5
Table 2: ATR format for ISO 14443 Part 3 PICCs................................................................................................................. 7
Table 3: ATR format for ISO 14443 Part 4 PICCs................................................................................................................. 8
Table 4: Get UID APDU Format (5 Bytes)............................................................................................................................. 9
Table 5: Get UID Response Format (UID + 2 Bytes) if P1 = 0x00 ........................................................................................ 9
Table 6: Get ATS of a ISO 14443 A card (ATS + 2 Bytes) if P1 = 0x01................................................................................9
Table 7: Response Codes...................................................................................................................................................... 9