3 - MTPPSCRAPCL Functions
IPAD, DynaPro, DynaPro Go, and DynaPro Mini| PIN Encryption Devices | Programmer’s Reference (Microsoft Windows Store)
Page 20
3.22
requestSetEMVTags
This function sends the EMV Tag report to the device to read or write EMV Tags. For additional
information, see
int requestSetEMVTags(
int tagType,
int tagOperation,
byte [] inputTLVData,
inputDataLength,
byte database,
byte transactionType,
byte[] reserved);
Parameter
Description
tagType
EMV tag to set or get:
0x00 – Reader tags
0x80 – Application tags
Lower 7 bits indicate which application slot of operation
operation
Type of operation to be performed:
4 – Write EMV Reader tags
5 – Write EMV Application tags
0xFF – Set to factory defaults
inputTLVData
TLV data block to send to the device
inputDataLength
Length of the TLV data block
database
Database Selector:
00 – Contact L2 EMV Tags
01 – PayPass-MasterCard
02 – PayWave-VISA
03 – EspressPay-AMEX
04 – Discover
transactionType
Transaction Type:
0x00 – Payment
0x01 – Cash
0x09 – Purchase with Cashback
0x20 – Refund
reserved
Reserved Bytes
Return Value:
Returns a value (0: Success, Non-Zero: Error)
3.23
setCAPublicKey
This function sets / deletes the corresponding CA Public Key, depending on the operation specified. For
additional information, see
int setCAPublicKey(
int operation,