Appendix A - Examples
DynaPro Mini| PIN Encryption Device | Programmer’s Manual (Commands)
Page 88 of 128 (
D99875629-43
)
Appendix A
Examples
A.1
How to Get MSR/PIN Data from the Device for a Bank Simulation
This section provides a byte-by-byte example of transmitting commands on various devices using a USB
connection, an 802.11 wireless connection, an Ethernet connection, or an Apple 30-pin connection. All
data shown in this section is in hexadecimal format. 802.11 wireless, Ethernet, and USB connections
require bytes to be transmitted in least significant byte (little endian) order; iOS requires bytes to be
transmitted in most significant byte (big endian) order, so iOS command strings will appear as the byte-
by-byte reverse of the others.
1)
Command 0x03 - Request Swipe Card
to the device, which expands to the
following bytes:
a)
C0: Ethernet packet header (802.11 wireless and Ethernet only)
b)
01: Execute command in Get mode (802.11 wireless, Ethernet, & iOS only)
c)
03: Command ID (03=
Command 0x03 - Request Swipe Card
d)
20: Wait time (20=32 seconds)
e)
00: Display message ID (00=swipe card/idle)
f)
01: Beep prompt tone for card swipe (01=one beep)
g)
C0: Ethernet packet terminator (802.11 wireless and Ethernet only)
Sample command data of Command 0x03 - Request Swipe Card
03 20 00 01
USB format of command
C0 01 03 20 00 01 C0
802.11 wireless and Ethernet format of command
01 03 20 00 01
iOS format of command (Note MSB order)
2)
to the host, which expands to the following
Command 0x03 - Request Swipe Card
had failed (i.e. ACK status not = 00), the device
would not have returned a device state input report to the host:
a)
C0: Ethernet packet header (802.11 wireless and Ethernet only)
b)
02: Response to command (802.11 wireless and Ethernet only)
c)
01: Report ID (01=
d)
Command 0x03 - Request Swipe Card
e)
03: Command ID of the command being ACKed (03=
Command 0x03 - Request Swipe Card
f)
C0: Ethernet packet terminator (802.11 wireless and Ethernet only)
Sample response for Command 0x01 - Response ACK
01 00 03
USB format of command
C0 02 01 00 03 C0
802.11 wireless and Ethernet format of command
01 00 03
iOS format of command (Note MSB order)
3)
The device prompts the cardholder to swipe his or her card, and sends