Identiv uTrust 3720F Reference Manual

Contactless reader and contactless reader w/keyboard interface
Hide thumbs Also See for uTrust 3720F:
Table of Contents

Advertisement

Quick Links

Reference Manual for
uTrust 3720F Contactless Reader
and
uTrust 3721F Contactless Reader w/Keyboard
Interface
For Part #: 905592-* and 905593-*
Document Version: 1.00, Last Revised On: 2020-04-10

Advertisement

Table of Contents
loading

Summary of Contents for Identiv uTrust 3720F

  • Page 1 Reference Manual for uTrust 3720F Contactless Reader uTrust 3721F Contactless Reader w/Keyboard Interface For Part #: 905592-* and 905593-* Document Version: 1.00, Last Revised On: 2020-04-10...
  • Page 2 Reference Manual for uTrust 3720F and uTrust 3721F Readers Abstract This document contains in-depth information about the hardware and software features of the uTrust 3720 F Contactless Reader and uTrust 3721 F Contactless Reader with keyboard interface. Audience This document is intended for system integrators and software developers.
  • Page 3: Table Of Contents

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Table of Contents 1. Legal information ......................7 1.1. Disclaimers ........................7 1.2. FCC, ISED Statement ....................... 7 1.3. Licenses........................... 8 1.4. Trademarks ........................8 2. Introduction to the manual ................... 9 2.1.
  • Page 4 Reference Manual for uTrust 3720F and uTrust 3721F Readers Utilities ........................23 5.2. Driver ........................... 23 5.3. 5.3.1. uTrust 372x F listing ....................... 23 uTrust 3720 F is listed by PC/SC applications as ................23 5.3.2. Supported operating systems ..................23 5.3.3.
  • Page 5 Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.3.1. READER_GET_IFDTYPE ......................49 6.3.3.2. READER_LED_CONTROL ......................50 6.3.3.3. READER_GET_INFO_EXTENDED ....................51 6.3.3.4. READER_LED_CONTROL_BY_FW ....................52 6.3.3.5. READER_GENERIC_ESCAPE ....................... 52 6.3.4. Specific for Contactless Interface....................53 6.3.4.1. CNTLESS_GET_CARD_INFO ...................... 53 6.3.4.2.
  • Page 6 Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.4.2.5. Load MIFARE ULC Authentication Keys into Reader ..............81 7. Annexes ........................82 7.1. Annex A – Status words table ..................82 7.2. Annex B – Sample code using escape commands ............83 7.3.
  • Page 7: Legal Information

    1.1. Disclaimers The content published in this document is believed to be accurate. However, Identiv does not provide any representation or warranty regarding the accuracy or completeness of its content, or regarding the consequences of your use of the information contained herein.
  • Page 8: Licenses

    Open Source Software. If the document contains technical drawings related to Identiv Inc. products, they are provided for documentation purposes only. Identiv Inc. does not grant you any license to its designs.
  • Page 9: Introduction To The Manual

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 2. Introduction to the manual 2.1. Objective of the manual This manual provides an overview of the hardware and software features of the uTrust 372x F contactless smart card readers (uTrust 3720 F and uTrust 3721 F).
  • Page 10: Definition Of Various Terms And Acronyms

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 2.4. Definition of various terms and acronyms Term or Acronym Expansion APDU Application Protocol Data Unit Answer to Reset, defined in ISO7816 Answer to select, defined in ISO/IEC 14443 Byte Group of 8 bits...
  • Page 11: References

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 2.5. References Document reference in the Description of the referenced document Document Issuer manual Identification cards — Integrated circuit cards —Part ISO/IEC 7816-3 ISO / IEC 3:Cards with contacts — Electrical interface and...
  • Page 12: Conventions For Bits And Bytes

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Document reference in the Description of the referenced document Document Issuer manual Interoperability Specification for ICCs and PC/SC Workgroup Personal Computer Systems PCSC3-SUP2 Part 3. Supplemental Document for Contactless ICCs CCID...
  • Page 13: General Information About Utrust 372X F

    3721 F perfectly fits environments where access to HF/LF contactless cards with data read as keyboard input is required. As for all Identiv Inc. products, uTrust 372x F is designed to offer best in class interoperability. 3.2. uTrust 372x F key features ●...
  • Page 14: Utrust 372X F Ordering Information

    The color of the casing ● The logo ● The product label ● The USB strings Terms and conditions apply, please contact your local Identiv representative or send an email to sales@identiv.com. Document Version 1.00 Last revised on Page 14 of 87 2020-04-10...
  • Page 15: Contactless Communication Principles And Utrust 372X F Usage Recommendations

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 3.6. Contactless communication principles and uTrust 372x F usage recommendations uTrust 372x F is a dual interface reader capable of reading contactless user tokens. The following paragraph focuses on a few specifics of contactless communication to outline usage recommendations in order to ensure best user experience.
  • Page 16: Recommendations

    For this reason, Identiv has implemented in its driver only one slot.
  • Page 17: Applications Provided By Identiv Inc

    Applications provided by Identiv Inc. Identiv Inc. does not provide payment or transport applications or PKI or CAC applications. Identiv Inc. provides a few utilities for evaluation purposes that can function with uTrust 372x F. They are covered in Section 5.2.
  • Page 18: Utrust 372X F Characteristics

    LF analog circuitry to handle communication with LF cards; this peripheral is not present in HF only variants The controller embeds flash memory that contains the firmware developed by Identiv to handle all the RF communication protocols and the CCID communication protocol with the host. The flash can be upgraded once the device is deployed in the field, hence enabling firmware upgrades to add and potentially patch features.
  • Page 19: Software Architecture

    If there is none, the driver may always be downloaded from https://ccid.apdu.fr/. Additionally, Identiv provides a proprietary driver for all the supported operating systems (except Chrome OS where inbox driver is sufficient).
  • Page 20: Quick Reference Data

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 4.2. Quick reference data 4.2.1. uTrust 372x F Physical Charteristics Item Characteristic Value 905592 HF + LF 88 gms 905592-1 HF 85 gms 905592-2 LF 88 gms Weight 905593 HF + LF...
  • Page 21: Other Data

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 4.2.3. Other data 4.2.3.1. General Parameter Value/Description Clock of the device controller 24MHz PC/SC 2.0 Operating temperature range -20º to 70ºC Operating humidity range Up to 95%RH non condensing Certifications and compliances USB, CE, FCC, WHQL, WEEE, RoHS3, REACH 4.2.3.2.
  • Page 22: Contactless Hf Interface

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 4.2.3.3. Contactless HF interface Parameter Value/Description RF carrier frequency 13.56MHz +/-50ppm Maximum supported ISO14443: 848Kbps card baud-rate ISO15693: 52Kbps MIFARE: Classic 1K and 4K, MIFARE mini, MIFARE Plus, ● DESFire, DESFire EV1, DESFire EV2, DESFire Light ●...
  • Page 23: Software Modules

    Nevertheless, due to some limitations of the available CCID drivers under some circumstances, Identiv does provide a dedicated driver for this reader, as well, which is available through Windows Update or on the Identiv support pages.
  • Page 24: Pc/Sc 2.0 Compliant Atr For Contactless Interface

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 5.3.3. PC/SC 2.0 compliant ATR for contactless interface When a user credential is placed on the reader, initialization, anti-collision is done. The user credential is automatically activated and an ATR is built as defined in the PC/SC specification. For further information, please refer to section 3.1.3.2.3 of [PCSC3] and to [PCSC3-SUP].
  • Page 25 Reference Manual for uTrust 3720F and uTrust 3721F Readers Example of the ATR built for contactless storage tokens: MIFARE Classic 4K MIFARE Ultralight Document Version 1.00 Last revised on Page 25 of 87 2020-04-10...
  • Page 26: Atr For Iso/Iec 14443-4 User Tokens

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 5.3.3.2. ATR for ISO/IEC 14443-4 user tokens The credential exposes its ATS or application information which is mapped to an ATR. The table describes how this mapping is done. Byte# Value...
  • Page 27: Atr For Iso/Iec 15693 Tokens

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 5.3.3.3. ATR for ISO/IEC 15693 tokens The credential exposes its ATS or application information which is mapped to an ATR. The table describes how this mapping is done. Byte# Value Designation...
  • Page 28: Atr For Lf Tokens

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 5.3.3.4. ATR for LF tokens The credential exposes its ATS or application information which is mapped to an ATR. The table describes how this mapping is done. Byte# Value Designation Description...
  • Page 29: Firmware

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 5.4. Firmware 5.4.1. CCID transport protocol uTrust 372x F implements a transport protocol that is compliant with USB Device Class: Smart Card CCID Specification for Integrated Circuit(s) Cards Interface Devices Revision 1.10.
  • Page 30: Hid Transport Protocol

    Reference Manual for uTrust 3720F and uTrust 3721F Readers The following sub-sections discuss when and why these error codes are returned: 5.4.1.3.1. HW_ERROR This error code is returned when a hardware short circuit condition is detected, during application of power to the card or if any other internal hardware error is detected.
  • Page 31: Commands Description

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6. Commands description 6.1. Generic APDU 6.1.1. Working with DESFire and MIFARE Plus tokens To work with DESFire EV1 and MIFARE Plus tokens, please refer to the according application notes [AN337] and [AN338], respectively.
  • Page 32: Papdu_Escape_Cmd

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.1.3. PAPDU_ESCAPE_CMD Usually escape commands are transmitted through SCardControl as defined in PCSC API using IOCTL_CCID_ESCAPE. But on some environments, the driver will block this IOCTL unless the registry has been edited to allow it. Hence this vendor specific APDU was defined to transmit Escape...
  • Page 33: Supported Pseudo Apdu (Contactless Interface)

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.2. Supported Pseudo APDU (Contactless Interface) All Pseudo APDUs specific to Contactless Interface supported in the reader are explained in this section 6.2.1. PAPDU_MIFARE_READ_BINARY This command is used to read data from a Mifare card. Refer to section 3.2.2.1.8 of [PCSC3] for details.
  • Page 34: Papdu_Mifare_Update_Binary

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.2.2. PAPDU_MIFARE_UPDATE_BINARY This command is used to update the non-volatile memory of a Mifare card. Refer to section 3.2.2.1.9 of [PCSC3] for further details. Command APDU: Command Data Update Binary 0xFF...
  • Page 35: Papdu_Mifare_Load_Keys

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.2.3. PAPDU_MIFARE_LOAD_KEYS This command is used to load the key to the volatile memory of the reader. It can be used for all kinds of contactless cards. Refer to section 3.2.2.1.4 of [PCSC3] for further details.
  • Page 36: Papdu_Mifare_Read_Sector

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Response APDU: Data Status Word SW1, SW2 Example: 1. Load Key A unencrypted and authenticate for block 6 (sector 1, actually) with that key: APDU: FF 82 00 60 06 FF FF FF FF FF FF...
  • Page 37: Papdu_Mifare_Read_Sector_Ex

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.2.6. PAPDU_MIFARE_READ_SECTOR_EX This command read the specified sector from a Mifare Classic card (all the 4 blocks of the sector, including the Key block) or the entire content of Mifare UL/UL C cards.
  • Page 38: Papdu_Mifare_Value_Blk_Old

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.2.8. PAPDU_MIFARE_VALUE_BLK_OLD This command increments or decrements the data in a Value Block on a Mifare Classic card. Command APDU: Command Data Increment / Decrement OLD Block Num Data where P2 codes the block number.
  • Page 39: Papdu_Mifare_Value_Blk_New

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.2.9. PAPDU_MIFARE_VALUE_BLK_NEW This command increments or decrements the value of a data object if the card supports it. Refer to section 3.2.2.1.10 of [PCSC3-AMD1] for further details. Command APDU: Command Data...
  • Page 40: Papdu_Tcl_Pass_Thru (T=Cl Pass Thru)

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Error Status Description XX SW1 SW2 XX = number of the bad data object in the APDU; 00 = general error of APDU; 01 = error in the 1 data object;...
  • Page 41: Papdu_Iso14443_Part3_Pass_Thru (Mifare Pass Thru)

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.2.11. PAPDU_ISO14443_PART3_PASS_THRU (Mifare Pass Thru) This command is used to send raw data using Type A standard framing to a card. CRC bytes will be appended automatically. The reader will not add transport protocol data to the raw data – e.g. PCB, NAD, CID etc.
  • Page 42: Papdu_Felica_Req_Service

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Response APDU: Data Status Word 16 bytes of NFCID2 + 2 bytes of System Code (sent only if SW1, SW2 the RFU byte is 0x01) 6.2.14. PAPDU_FELICA_REQ_SERVICE This command issues a REQ SERVICE as defined in JIS 9.6.2. P1. On receiving this command an NFC Forum tag type 3 will respond with the area key version of the specified area and the service key version of the specified service.
  • Page 43: Papdu_Felica_Write_Blk

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Command APDU: Command Data Service FeliCa REQ Number of Number 2*(P1 + P2) Code List, Response service of blocks Block List Response APDU: Data Status Word 8 bytes IDm + Status Flag 1 + Status Flag 2 + No.
  • Page 44: Papdu_Nfc_Type1_Tag_Rid

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.2.19. PAPDU_NFC_TYPE1_TAG_RID This command issues a RID to get the tag’s identification data. Command APDU: Command Data TYPE1 Tag RID Response APDU: Data Status Word HR0 HR1 UID0 UID1 UID2 UID3...
  • Page 45: Papdu_Nfc_Type1_Tag_Write_E

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Where P2 codes the address of the memory byte in the following way: Bit numbers Description b7 – b3 Block # (value between 0x0 and 0xE) b2 – b0 Byte # within the block (value between 0 and 7)
  • Page 46: Papdu_Nfc_Type1_Tag_Rseg

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Where P2 codes the address of the memory byte in the following way: Bit numbers Description b7 – b3 Block # (value between 0x0 and 0xE) b2 – b0 Byte # within the block (value between 0 and 7)
  • Page 47: Papdu_Nfc_Type1_Tag_Write_E8

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Response APDU: Data Status Word 8 bytes of data SW1, SW2 6.2.26. PAPDU_NFC_TYPE1_TAG_WRITE_E8 This command issues a WRITE8 to erase and then write a block of eight bytes. Please note that this command only works on Topaz tags in dynamic memory model.
  • Page 48: Escape Commands For The Utrust 372X F

    REG_DWORD value named ‘EscapeCommandEnable’ in the registry to a value of ‘1’. When using the Identiv supplied driver, this will not be necessary. For Windows XP and Windows Vista, the key to hold the value for uTrust 3720 F would be HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_04E6&PID_5612\ Device-...
  • Page 49: Escape Command Codes

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.2. Escape command codes Escape commands can be used by an application to configure uTrust 372x F to function in a mode that is not its default configured mode or to get specific information. To put the uTrust 372x F back into its default mode, it either has to be unplugged and plugged again or the application can send the same Escape command again.
  • Page 50: Reader_Led_Control

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.3.2. READER_LED_CONTROL This Escape command is used to toggle the LED state. LED control by firmware should be disabled using the escape command READER_LED_CONTROL_BY_FW to see proper LED change when using this IOCTL.
  • Page 51: Reader_Get_Info_Extended

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.3.3. READER_GET_INFO_EXTENDED This Escape command is used to get the firmware version, reader capabilities, and Unicode serial number of the reader. Input: The first byte of the input buffer contains the escape code.
  • Page 52: Reader_Led_Control_By_Fw

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.3.4. READER_LED_CONTROL_BY_FW This Escape command is used to enable/disable LED control by firmware. Input: The first byte of the input buffer contains the escape code. The second byte specifies if LED control by firmware should be disabled or enabled.
  • Page 53: Specific For Contactless Interface

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.4. Specific for Contactless Interface ESCAPE COMMAND ESCAPE CODE CNTLESS_GETCARDINFO 0x11 CNTLESS_GET_ATS_ATQB 0x93 CNTLESS_GET_TYPE 0x94 CNTLESS_SET_TYPE 0x95 CNTLESS_CONTROL_PPS 0x99 CNTLESS_RF_SWITCH 0x96 CNTLESS_CONTROL_848 0x9D CNTLESS_GET_BAUDRATE 0x9E CNTLESS_CONTROL_RETRIES 0xA7 CNTLESS_CONTROL_POLLING 0xAC CNTLESS_FORCE_BAUDRATE 0xAD...
  • Page 54: Cntless_Get_Ats_Atqb

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Card to Reader communication baud rate BYTE is defined as follows: b0 – 212kbps supported (direction reader to card) b1 – 424kbps supported (direction reader to card) b2 – 848kbps supported (direction reader to card) b3 –...
  • Page 55: Reader_Cntless_Get_Type

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.4.3. READER_CNTLESS_GET_TYPE This escape command retrieves the type of cards which the reader is configured to poll for. The input buffer shall contain the escape command code in the first byte and an optional extension specifier 0xFF in the second byte.
  • Page 56: Cntless_Control_Pps

    Reference Manual for uTrust 3720F and uTrust 3721F Readers The input buffer shall contain two or three bytes Byte0 Byte1 Byte3 Description 0x00 Type A 0x01 Type B Escape code(0x95) 0x02 Type A + type B 0xFF Bitmask See the following table...
  • Page 57: Cntless_Rf_Switch

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Output: No response is returned for set state. For Get State 1 byte response is received. Output buffer NULL or current state 6.3.4.6. CNTLESS_RF_SWITCH This Escape command can be used to switch the RF field ON or OFF.
  • Page 58: Cntless_Get_Baudrate

    Reference Manual for uTrust 3720F and uTrust 3721F Readers If B1 of the input buffer is 0xFF, the output buffer is a BYTE buffer with following possible values Output buffer Description 0x00 848Kbps is disabled 0x01 848Kbps is enabled 6.3.4.8.
  • Page 59: Cntless_Control_Retries

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.4.9. CNTLESS_CONTROL_RETRIES This Escape command is used to enable/disable CRC/PROTOCOL/TIMEOUT error retries which are enabled by default for contactless cards. Input: The first byte of input buffer contains the escape code.
  • Page 60: Cntless_Force_Baudrate

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.4.11. CNTLESS_FORCE_BAUDRATE This escape command can be used to restrict the baud rate for contactless cards to certain values. The input buffer is Byte # Value Description 0xAD Escape command code...
  • Page 61: Cntless_Get_Card_Details

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.4.12. CNTLESS_GET_CARD_DETAILS This Escape command is used to get details about the PICC placed in the field of the reader. Input: The first byte of input buffer contains the escape code.
  • Page 62: Cntless_Is_Collision_Detected

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Byte # Value Description IFSC MBLI SFGI B3–B10 8 Bytes NFCID2 Request service command response time parameter (see JIS6319 specification) Request response command response time parameter Authentication command response time parameter...
  • Page 63: Cntless_Felica_Pass_Thru

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.4.14. CNTLESS_FELICA_PASS_THRU This Escape command is used as a pass through to send FeliCa commands to FeliCa cards. Input: The first byte of input buffer contains the escape code followed by FeliCa command to be sent to the card.
  • Page 64: Specific For Keyboard Interface

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.5. Specific for Keyboard Interface 6.3.5.1. READER_CONTROL_KEYBOARD_SLOT To enable or disable status of keyboard interface in SRAM, or to get current status of keyboard interface. Command APDU: Byte0 Byte1 Byte2 Byte3...
  • Page 65: My-D Move Specific Commands

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.6. my-d Move Specific Commands 6.3.6.1. Access This APDU performs password verification with my-d card. Command APDU: opcode Password 0xFF 0xFD 0x04 0x01 0x05 0xB2 4 bytes 0x00 Response: Data Status Word 6.3.6.2.
  • Page 66: Write 2 Blocks (8 Bytes)

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.6.4. Write 2 Blocks (8 bytes) This APDU writes 8 bytes of data to my-d move at block specified. Command APDU: opcode Block No Data 0xFF 0xFD 0x06 0x01 0x0A 0xA1...
  • Page 67: Read 2 Blocks (8 Bytes)

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.6.7. Read 2 Blocks (8 bytes) This APDU reads 8 bytes of data from my-d move at block specified. Command APDU: opcode Block No 0xFF 0xFD 0x01 0x01 0x02 0x31 1 byte...
  • Page 68: Iso15693 Specific Commands

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.7. ISO15693 Specific Commands This sections explains the APDU that are supported for ISO15693 cards. Command APDU: Data 0xFF 0xFC 0x00 0x00 Number of bytes Command as described Expected number of...
  • Page 69: Lock Block

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Response: Data Status Word Example to write data bytes “01 02 03 04” to block number 0x0F APDU: FF FC 00 00 06 21 0F 01 02 03 04 RESPONSE: 90 00 6.3.7.3.
  • Page 70: Write Multiple Blocks

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.7.5. Write Multiple Blocks This APDU writes 4 bytes of data to each consecutive block, for number of blocks, starting from block number specified. Command APDU: Data 0xFF 0xFC 0x00 0x00...
  • Page 71: Lock Afi

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.7.7. Lock AFI This APDU locks the AFI value on the card. Upon successful execution of this command, the AFI can no longer be updated. Command APDU: Data 0xFF 0xFC 0x00...
  • Page 72: Get System Info

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Response: Data Status Word Example to lock DSFID APDU: FF FC 00 00 01 2A RESPONSE: 90 00 6.3.7.10. Get System Info This APDU retrieves the system information from the card. The system information includes UID, DSFID, AFI, memory size and manufacturer information.
  • Page 73: Read Multiple Block Security Status

    Reference Manual for uTrust 3720F and uTrust 3721F Readers Bits in Info flags byte provide information about the presence or absence of other fields. Info flags is formatted as below: Value Description DSFID not present DSFID present AFI not present...
  • Page 74: Traverse

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.3.7.12. Traverse Traverse APDU is used to send the “Raw Card Command” in data field to the card without any card specific processing by the reader and returns the raw response data from the card. The reader only takes care of protocol specific processing (like CRC, Prologue field,…).
  • Page 75 Reference Manual for uTrust 3720F and uTrust 3721F Readers Response: Data Status Word Response from card The response from card is returned raw without any processing. Reception of any response from the card is considered as success irrespective of the content of the response. The calling application needs to process the specific response from card.
  • Page 76: Reader Key Management

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.4. Reader Key Management The uTrust 372x F reader provides provision to store card keys in its non-volatile memory. The reader can store custom/user card keys. An authenticated user can later refer to them during card communication using key numbers.
  • Page 77: Load Reader Authentication Pin Into Reader

    Reference Manual for uTrust 3720F and uTrust 3721F Readers When a card specific Authenticate APDU is received from host, the appropriate keys are fetched from non-volatile memory of reader and used for authentication. This command does not require the presence of a card over the reader.
  • Page 78: Load Desfire Authentication Keys Into Reader

    Reference Manual for uTrust 3720F and uTrust 3721F Readers MIFARE key data Key Number Key Type (1 byte) (1 byte) (6 bytes) Where, Key Number – any value from 0x00 to 0x4F Key Type - 0x60 (Key Type A) for 0x61 (Key Type B)
  • Page 79 Reference Manual for uTrust 3720F and uTrust 3721F Readers  3KTDES: (Key 1, Key 2, Key 3 can be any value) Reader Load Keys shall fail if any of the command parameters is invalid. Response: Data Status Word Examples: 1. Load TDES PICC Master Key = “11 22 33 44 55 66 77 88 12 34 56 78 12 34 56 78”, with...
  • Page 80: Load Mifare Plus Authentication Keys Into Reader

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 6.4.2.4. Load MIFARE Plus Authentication Keys into Reader The following command can be used to load MIFARE Plus AES authentication keys into the reader. Command APDU: Data 0xFF 0x00 0x00 0x00...
  • Page 81: Load Mifare Ulc Authentication Keys Into Reader

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 2. Load Card Master Key (a special key) = “11 22 33 44 55 66 77 88 88 77 66 55 44 33 22 11” at PCD Key Number 01 APDU: FF 00 00 00 15 07 03 01 00 90 11 22 33 44 55 66 77 88 88 77 66 55 44 33 22 11 RESPONSE: 90 00 6.4.2.5.
  • Page 82: Annexes

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 7. Annexes 7.1. Annex A – Status words table Description 0x90 0x00 NO ERROR 0x63 0x00 NO INFORMATION GIVEN 0x65 0x81 MEMORY FAILURE 0x67 0x00 LENGTH INCORRECT 0x68 0x00 CLASS BYTE INCORRECT...
  • Page 83: Annex B - Sample Code Using Escape Commands

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 7.2. Annex B – Sample code using escape commands // File Name: uTrust 372x F Escape.h #ifndef _uTrust_372xF_ESCAPE_H_ #define _uTrust_372xF_ESCAPE_H_ #ifdef __cplusplus extern"C" { #endif #pragma pack(1) typedef struct BYTE byMajorVersion;...
  • Page 84 Reference Manual for uTrust 3720F and uTrust 3721F Readers // File Name: uTrust 372x F Escape.c #include <windows.h> #include <winbase.h> #include <stdio.h> #include <conio.h> #include "winscard.h" #include "winerror.h" #include "uTrust 372xF Escape.h" VOID main(VOID) SCARDCONTEXT ContextHandle = -1; SCARDHANDLE CardHandle;...
  • Page 85 Reference Manual for uTrust 3720F and uTrust 3721F Readers printf("protocols:\t\t%04x\n", strReaderInfo.wSupportedProtocols); printf("input device:\t\t%04x\n", strReaderInfo.winputDevice); printf("personality:\t\t%d\n", strReaderInfo.byPersonality); printf("maxslots:\t\t%d\n", strReaderInfo.byMaxSlots); printf("serial no length:\t%d\n", strReaderInfo.bySerialNoLength); printf("serial no:\t\t"); for (i = 0; i <strReaderInfo.bySerialNoLength; i++) { if (strReaderInfo.abySerialNumber[i] != 0) { printf("%c", strReaderInfo.abySerialNumber[i]); } else { printf("SCardControl failed: %08X\n", ret);...
  • Page 86: Annex C - Mechanical Drawings

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 7.3. Annex C – Mechanical drawings 7.3.1. Reader (without stand) NOTE: All dimensions on these mechanical drawings are in millimeters. Document Version 1.00 Last revised on Page 86 of 87 2020-04-10...
  • Page 87: Reader With Stand

    Reference Manual for uTrust 3720F and uTrust 3721F Readers 7.3.2. Reader with Stand Document Version 1.00 Last revised on Page 87 of 87 2020-04-10...

This manual is also suitable for:

Utrust 3721f

Table of Contents