Document Version 1.2
Last revised on
2017-09-26
Page 53 of 92
Reference Manual for uTrust 4701F and uTrust 4711F Readers
6.3.3.8.
READER_GENERIC_ESCAPE
This Escape command is used to invoke newly defined escape functions and send proprietary
commands to the reader. It is defined in line with vendor specific generic command defined in [PCSC3-
AMD1].
Input:
The first five bytes of the input buffer shall follow APDU structure as per [PCSC3-AMD1]. 6
TH
byte shall
be the command code used to identify the specific command.
Byte0 Byte1 Byte2 Byte3 Byte4
From Byte5 (up to Lc bytes)
5
Byte 5
Byte 6 onwards
0xFF
0x70
0x04
0xE6
Lc (always
> 0)
Cmd
Opcode
Command
parameters or data
Le
(optional)
Output:
Depending on the command, the output shall be Le bytes of data + SW1 + SW2 or SW1+ SW2. The
escape message shall at least return 2 bytes status word SW1, SW2. In case of success, SW1=0x90 and
SW2=0x00 shall be returned. In error scenario, appropriate error status shall be returned (as defined
in Error Code section 8.0).
6.3.3.9.
READER _CONTROL_CONTACT_SLOT
This Escape command is supported through the READER_GENERIC_ESCAPE message.
This command can be used to disable the contact slot until it is re-enabled through the same command
or until the reader is re-plugged. When a dual interface card is placed in the contact slot it will get
detected in both “contact” and “contactless” mode. To enable applications to actively switch the
detection from contact-only mode to contactless-only mode this Escape command can be used along
with CNTLESS_ SWITCH_RF_ON_OFF.
Input
To Enable / Disable / “Get-Current-Status” of Contact Slot
Byte0
CLA
Byte1
INS
Byte2
P1
Byte3
P2
Byte4
Lc
Byte5
Byte6
Byte7
Le
0xFF
0x70
0x04
0xE6
0x03
0x05
(opcode)
0x01
0x00 – to enable
00
0x01 – to disable
0xFF
0x70
0x04
0xE6
0x02
0x05
(opcode)
0x00 - to get current contact
status
00
Byte2 and Byte3 constitute the world wide unique vendor ID as assigned by the USB organization. For
Identiv based readers Byte2 = 0x04 and Byte3 = 0xE6 since it USB Vendor ID is 0x04E6
Output:
If the command is successful, a single byte is returned. This byte indicates the status of contact slot
which needs to be interpreted as below.
Byte 0
Description
0x00
Contact slot is enabled
0x01
Contact slot is disabled