User's Manual

Table Of Contents
5.3.3. PC/SC 2.0 compliant ATR for contactless interface ............................................. 27
5.4. Firmware ...................................................................................................................... 30
5.4.1. CCID transport protocol ........................................................................................ 30
5.4.2. Automatic PPS for the contactless interface ......................................................... 31
6. Commands description ........................................................................................................ 32
6.1. Generic APDU .............................................................................................................. 32
6.1.1. Get UID Command ............................................................................................... 32
6.1.2. Escape command APDU ...................................................................................... 34
6.2. Set of APDU for contactless storage user tokens ........................................................ 35
6.2.1. STORAGE_CARD_CMDS_READ_BINARY ........................................................ 35
6.2.2. STORAGE_CARD_CMDS_WRITE_BINARY ...................................................... 37
6.2.3. STORAGE_CARD_CMDS_LOAD_KEYS ............................................................ 39
6.2.4. STORAGE_CARD_CMDS_AUTHENTICATE ...................................................... 40
6.2.5. STORAGE_CARD_CMDS_VALUE_BLOCK ....................................................... 42
6.3. Set of APDU for ISO/IEC14443-4 user tokens ............................................................ 43
6.3.1. T=CL Command .................................................................................................... 43
6.3.2. T=CL user command ............................................................................................ 44
6.4. Set of APDU defined by SCM Microsystems ............................................................... 45
6.4.1. MIFARE DESFire Commands .............................................................................. 45
6.5. Escape commands for the contactless interface ......................................................... 46
6.5.1. Sending escape commands to SDI011 ................................................................ 46
6.5.2. Escape command codes ....................................................................................... 46
6.5.3. READER_GETCARDINFO ................................................................................... 47
6.5.4. READER_LED_CONTROL_BY_FW .................................................................... 48
6.5.5. READER_LEDCONTROL .................................................................................... 48
6.5.6. READER_CNTLESS_GET_MFRC_REV ............................................................. 48
6.5.7. READER_CNTLESS_GET_ATS_ATQB .............................................................. 49
6.5.8. READER_CNTLESS_GET_TYPE ....................................................................... 49
6.5.9. READER_CNTLESS_SET_TYPE ........................................................................ 49
6.5.10. READER_CNTLESS_RF_SWITCH ..................................................................... 50
6.5.11. READER_CNTLESS_RAW_CFG ........................................................................ 50
6.5.12. READER_CNTLESS_RAW_XMIT_EX ................................................................ 51
6.5.13. READER_ CNTLESS_DISABLE_PPS ................................................................. 52
6.5.14. READER_SWITCH_RF_ON_OFF ....................................................................... 52
6.5.15. READER_CNTLESS_848KBPS ........................................................................... 53
6.5.16. READER_CNTLESS_BAUDRATE ....................................................................... 54
6.5.17. READER_CNTLESS_FORCE_BAUDRATE_PCSC_REV2 ................................ 55
6.6. Escape commands for the contact interface ................................................................ 56
6.6.1. Sending escape commands to SDI011 ................................................................ 56
6.6.2. Escape command codes ....................................................................................... 56
6.6.3. READER_SETMODE ........................................................................................... 56
6.6.4. READER_GETMODE ........................................................................................... 57
6.6.5. READER_APDU_TRANSFER.............................................................................. 57
6.6.6. READER_SWITCH_SPEED ................................................................................. 58
6.6.7. READER_SWITCH_PROTOCOL......................................................................... 58
6.6.8. READER_DISABLE_PPS ..................................................................................... 59
6.6.9. READER_GETIFDTYPE ...................................................................................... 59
6.6.10. READER_GETINFO_EXTENDED ....................................................................... 60
7. Annexes ............................................................................................................................... 61
7.1. Annex A Status words table ...................................................................................... 61
7.2. Annex B Sample code using escape commands through Escape IOCTL ............... 62
7.3. Annex C - SCM Proprietary CLA bytes ........................................................................ 67