Document Version 1.2
Last revised on
2017-09-26
Page 48 of 92
Reference Manual for uTrust 4701F and uTrust 4711F Readers
6.3.3.1.
READER_SETMODE
This Escape command sets the current mode of the reader. Applications may call this function, to set
the desired mode. Typically, this call is used to switch between the ISO7816, EMV, Memory card and
NFC test mode operations. Upon power on the reader will reset to the default ISO7816 mode.
Input:
The first byte of the input buffer contains the escape code value and the second one contains the
value for the desired mode of operation. The output buffer field shall be NULL.
Byte0
Byte1
Escape code (0x01)
Mode
The following table defines the values for the Mode parameter:
Mode
Value
Remarks
ISO 7816
0x00
ISO 7816 mode – Applicable for both contact slot and contactless
slot
EMV
0x01
EMV – Applicable only for contact slot and ignored by contactless
interface
Synchronous 0x02
Memory card mode (Synchronous) – Applicable only for contact
slot and ignored by contactless interface
NFC Test
0x04
NFC Test Mode – Applicable only for contactless interface
ISO mode uses APDU mode of data transfer and is used for normal operation. This is the default mode
of the reader on Power up.
EMV mode also uses APDU mode of data transfer and is used for EMV test purposes. This mode has
more stringent checks for Smartcard detection and Communication as per EMV4.2 spec.
Synchronous mode is used for communicating only with Memory cards.
NFC test mode is used to ignore deactivate-activate sequence during SCardConnect.
(PC_TO_RDR_ICCPOWERON - 0x62, and PC_TO_RDR_ICCPOWEROFF – 0x63)
Output:
Output buffer
NULL