@MAXX
PRIME
R
EFERENCE
M
ANUAL
28
6.1.6. CCID_ESC_GET_FW_VERSION
This function code shall be used by the application / driver to retrieve the current firmware
revision of the reader.
The input buffer shall contain the escape code. The reader shall return a WORD parameter
containing the firmware revision.
typedef struct _FW_REV
{
uint8
byFirmwareMajor;
uint8
byFirmwareMinor;
} FW_REV;
6.1.7. CCID_ESC_SET_POWER_ON_RESET_ORDER
This code shall be used by the application / driver to change the smart card power-on
sequence i.e. it shall direct the reader to start the card reset by applying by “Class A” voltage
first and then retry sequentially with the other classes.
The input buffer shall contain the escape code followed by the RESET SEQUENCE data. The
output buffer shall point to a byte and shall return the current RESET SEQUENCE selected.
S.No.
Mode
Value
Remarks
1
Class C
0x00
Starts with Class C voltage. This is
the default mode of the reader.
2
Class A
0x01
Starts with Class A voltage
3
QUERY
0xFF
This is used to retrieve the current
mode of operation.
6.1.8. CCID_ESC_EMV_LOOPBACK
This escape message ID lets the host force the library to perform an EMV Loop-back
application.
The input buffer shall contain the escape function value. The output buffer field shall be NULL.
6.1.9. CCID_ESC_APDU_TRANSFER
This escape message ID exchanges an APDU with the smart card.
The input buffer shall contain the escape function value, followed by the APDU. The output
buffer field shall point to user allocated buffer to the maximum size of 259 bytes.
The maximum number of bytes that can be received / sent is given below.
Transmit:
Case 1, 2, 3 APDU: Max of 256 bytes per APDU
Case 4 APDU: Max of 255 bytes per APDU
Receive:
Max of 259 bytes per APDU