
3 - Command Set
DynaPro Mini| PIN Encryption Device | Programmer’s Manual (Commands)
Page 32 of 128 (
D99875629-43
)
3.4.4
Command 0x04 - Request PIN Entry
This command directs the device to prompt the cardholder to enter a PIN by displaying one of five
predetermined messages (see PIN Mode in
).
The English on-screen prompts will look like this:
Figure 3-3 - DynaPro Mini Initial PIN Prompt
If an error occurs, the device will terminate the command and report the error in ACKSTS of
. For a full list of error codes, see
Appendix C Status and Message Table, Table
If no error occurs, when the command completes (PIN entry done, cardholder or operator cancelled, or
timeout), the device will send
Report 0x24 - PIN Response Report
successful, the report will also contain the PIN KSN (if using a DUKPT PIN Key, otherwise the PIN
KSN will be zero) and the encrypted PIN block (EPB) data. The EPB format will depend on the PIN
option and Session State (see
Report 0x20 - Device State Report
). If there is no PAN (from card swipe
or sent via command), the EPB will use ISO format 1. If a PAN exists, the PIN option will be used to
determine if the created PIN block will be ISO format 0 or ISO format 3. If the host set the PIN Mode
byte in the command to “Verify PIN,” the device will prompt the cardholder to enter the PIN twice, and
will generate an EPB only if both entries match. The EPB is encrypted under the current PIN DUKPT
key as DES or TDES depending on the injected key type. If the host set the Wait Msg bit in the
command’s PIN Options byte, the device will display a “Please Wait” message during the delay as the
unit is checking for keypad tamper, then will display the Enter PIN message.
The selected language will remain active until the host sends
. The device
will then switch to the default device language set in the contact database using
Table 3-4 - Usage Table for Command 0x04
Bit
7
6
5
4
3
2
1
0
Byte 0
0x04
Byte 1
Wait Time in seconds, (1 - 255; 0 = 256 seconds)
Byte 2
PIN Mode:
0 = Enter PIN
1 = Enter PIN Amount
2 = Reenter PIN Amount
3 = Reenter PIN
4 = Verify PIN
Byte 3
Max PIN length (<=12)
Min PIN length (>=4)