CLOUD
47
X
0
F
R
EFERENCE
M
ANUAL
57
Input:
The first byte of the input buffer contains the escape code. The second byte specifies if user
area is to be read or written as described below.
Output:
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).
Byte0
Byte1
Byte2 to Byte251
Value Description
Escape code(0xF0)
1
Read 249 bytes of user data None
2
Write 249 bytes of user data Data to be written
Operation Data (Byte0-BYTE248)
Read
249 bytes of user data
Write
No bytes returned