Document Version 1.2
Last revised on
2017-09-26
Page 66 of 92
Reference Manual for uTrust 4701F and uTrust 4711F Readers
6.3.4.17.
CNTLESS_P2P_SWITCH_MODES
This Escape command is used to switch the device between the reader/writer and P2P modes of
operation and to query the current mode. By default, the device is in the reader/writer mode.
Input:
The first byte of input buffer contains the escape code.
The second byte either sets the mode or contains a code to retrieve the setting.
Additional data bytes will be needed for Initiator/Target mode.
Offset
Description
Detailed description
0
0xE9
Switch mode
1
0 – P2P Initiator mode
1 – P2P Target mode
2 – Reader / writer mode
0xFF – Get current mode
For the switch to Initiator / Target mode, the
bytes from offset 0x02 give additional
information as described below
Offset
Initiator Mode Bytes
Detailed description
2
RFU
3
RFU
4
Timeout Low Byte
5
Timeout High Byte
6
N
Number of General Bytes
7 to N+7
General bytes to be sent in
ATR-REQUEST