beautypg.com

27 report 0x30 – set / get ksn, Report 0x30 – set / get ksn, 3 - command set – MagTek DynaPro Mini Programmer's99875629 User Manual

Page 52

background image

3 - Command Set

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


Page 52


Otherwise, when the command completes (data entry done, user cancelled, or timeout), the device will
send Report 0x2E – Clear Text User Data Entry Response Report to the host using a USB Interrupt
IN transaction. If data entry is successful, the report will also contain the requested data.

Table 3-40 – Usage Table for Report 0x1F

Bit

7

6

5

4

3

2

1

0

Byte 0

0x1F

Byte 1

Wait time in seconds, (1 – 255; 0 = 256 seconds)

Byte 2

User data mode:
0 = Enter SSN (9 digits)
1 = Enter Zip code (5 digits)
2 = Enter Birthdate (8 digits, in MM/DD/YYYY format)
3 = Enter Birthdate (6 digits, in MM/DD/YY format)

Byte 3

Tones:
0 = No sound
1 = One beep
2 = Two beeps

3.4.27 Report 0x30 – Set / Get KSN

When called in Set mode, this command causes the device to generate a KSN data for transmission to a
host.

Table 3-41 – Usage Table for Report 0x30 (Set mode)

Bit

7

6

5

4

3

2

1

0

Byte 0

0x030

Byte 1

Key ID:
0x00 = MSR DUKPT key KSN


After sending this command to the device and getting the ACKSTS report, issue the same command in
Get mode for the KSN Feature Report (see Table 3-42). If a valid DUKPT key is not available, the data
block will be all zeros.

The KSN reported is only valid for 1 minute. Report 0x31 – Set KSN Encrypted Data should be sent
within the timeout period.

This feature is used for the Token Reversal Function.

Table 3-42 – Usage Table for Report 0x30 (Get mode)

Bit

7

6

5

4

3

2

1

0

Byte 0

0x30

Byte 1

Key ID:
0x00 = MSR DUKPT key KSN