beautypg.com

2 report 0xa1 – set or get emv tag(s) (mac), 1 setting emv tags, 2 getting emv tags – MagTek DynaPro Mini Programmer's99875629 User Manual

Page 64: Report 0xa1 – set or get emv tag(s) (mac), Setting emv tags, Getting emv tags, 3 - command set

background image

3 - Command Set

DynaPro Mini| PIN Encryption Device | Programmer’s Reference (Commands)


Page 64

Bit

7

6

5

4

3

2

1

0

Byte
4..127

Data block:
If EMV Cardholder Interaction Status ID from Byte 1 = 0x02, value 0x1 indicates Amount
Confirmed, or value 0x2 indicates Amount Not Confirmed.

If EMV Cardholder Interaction Status ID from Byte 1=0x04, data is a string representing
application preferred name, or label chosen by cardholder.

If EMV Cardholder Interaction Status ID from Byte 1=0x0A, value 0x1 indicates Credit, or
value 0x2 indicates Debit

If EMV Cardholder Interaction Status ID from Byte 1=0x20, data is in TLV format.

Otherwise, no data.

3.6.2 Report 0xA1 – Set or Get EMV Tag(s) (MAC)

This command allows the host to modify or read a single or group of EMV tags. It can assign the
database of EMV tags a label using tag DFDF26, and read the checksum back using tag DFDF27.

3.6.2.1 Setting EMV Tags

To set EMV tag(s), the host should first use Report 0x10 – Send Big Block Data to Device to send data
to the device. Data must be in TLV format (see EMV 4.3 Book 3 Appendix B) and must include the
device serial number and MAC signature (AMK MAC variant). After sending the data, the host should
issue the command as follows:

Table 3-63 - Usage Table for Report 0xA1 (Set form)

Bit

7

6

5

4

3

2

1

0

Byte 0

0xA1

Byte 1

Specifies which EMV tag group to set: Bits 6 and 7 specify Terminal or Application
group.

00=Terminal
10=Application

If bit 6 and 7 are set to Application, bits 0-5 specify the
Application group (0-9) to set.

Byte 2

Operation:
0x01=Write Operation
0xFF=Set to Factory defaults (see Appendix H Factory Defaults)

Byte 3

Database Selector:
00 – Contact L2 EMV Tags

Byte 4..8

Reserved


The device will report an error 0x80 in ACKSTS of Report 0x01 – Response ACK if it detects a system
error. If the system is not available, the device will report an error 0x8A in ACKSTS of Report 0x01 –
Response ACK
.

3.6.2.2 Getting EMV Tags

To get EMV Tag(s), the host should send Report 0x10 – Send Big Block Data to Device to indicate the
EMV tags to be retrieved. The data should indicate which tags to be retrieved, and must include the