CLOUD
47
X
0
F
R
EFERENCE
M
ANUAL
90
6.3.5.14. CONTACT_READ_INSERTION_COUNTER
This Escape command is supported through the
READER_GENERIC_ESCAPE
command and
retrieves the number of times a contact smart card has been inserted into the reader.
Input:
The first five bytes of the input buffer follow APDU structure as per [PCSC3-AMD1]. The 6
th
byte
is the Escape code 0x00 to identify the command.
Byte0 Byte1 Byte2 Byte3 Byte4 Byte5
Le
0xFF
0x70
0x04
0xE6
0x01
0x00
(Escape
code)
4 (Insertion counter is a 4 byte
value)
Output:
Byte0
Byte1
Byte2
Byte3
Byte4 Byte5
Insertion counter value
SW1
SW2
BIT31-BIT24 BIT23-BIT16 BIT15-BIT8 BIT7-BIT0 0x90
0x00
In case of any error, only SW1 and SW2 set with error status will be returned.