Reference Manual for SCR3310 v2 Contact Desktop Reader
Document Version 1.1
Last revised on 2018-07-19
Page 22 of 40
6.1.2.1:
CONTACT_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 ISO/IEC 7816, EMV
and memory card operations. Upon power on, the reader will reset to the default ISO/IEC 7816
mode.
Input:
The first byte of the input buffer contains the Escape code value and the second one will contain
the value for the desired mode of operation. The output buffer field will be NULL.
Following table gives the value of modes as interpreted by the firmware:
ISO mode uses APDU mode of data transfer and is used for normal operations. 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 smart card detection and communication as per EMV4.2 spec.
Synchronous mode is used for communicating only with memory cards.
Any other value sent as mode is invalid.
The output buffer is
Output buffer
NULL
6.1.2.2:
CONTACT_GETMODE
This Escape command may be used to retrieve the current mode of the reader.
The input buffer is
Output:
Current active reader mode will be returned as a BYTE value.
Byte0
Byte1
Escape code (0x01) Mode
Mode
Value
Remarks
ISO
0x00
ISO/IEC 7816 mode
EMV
0x01
EMV
Synchronous 0x02
memory card mode (Synchronous)
Byte0
Escape code(0x02)