Appendix A - Examples
DynaPro Mini| PIN Encryption Device | Programmer’s Manual (Commands)
Page 89 of 128 (
D99875629-43
)
a)
C0: Ethernet packet header (802.11 wireless and Ethernet only)
b)
03: Unsolicited response (802.11 wireless and Ethernet only)
c)
20: Report ID (20=
Report 0x20 - Device State Report
d)
02: Device state (02=Wait for card)
e)
08: Session state (08=Card data available)
f)
40: Device status (40=Not authenticated)
g)
47: Device cert status (PIN CRL, PIN CA cert, Device CA cert & Device cert exist)
h)
07: Hardware status (Keypad calibrated, Mag Head programmed, Tamper sensors active)
i)
C0: Ethernet packet terminator (802.11 wireless and Ethernet only)
Sample Report 0x20 - Device State Report
20 02 08 40 47 07
USB format of command
C0 03 20 02 08 40 47 07 C0
802.11 and Ethernet format of command
20 02 08 40 47 07
iOS format of command (Note MSB order)
4)
After the cardholder swipes the card, the device sends back
Report 0x22 - Card Status Report
the host, which expands to the following bytes:
a)
C0: Ethernet packet header (802.11 wireless and Ethernet only)
b)
03: Unsolicited response (802.11 wireless and Ethernet only)
c)
22: Report ID (22=
Report 0x22 - Card Status Report
d)
00: Operation status (00=OK)
e)
00: Card status (00=OK)
f)
01: Card type (01=Financial card)
g)
C0: Ethernet packet terminator (802.11 wireless and Ethernet only)
Sample Report 0x22 - Card Status Report
22 00 00 01
USB format of command
C0 03 22 00 00 01 C0
802.11 wireless and Ethernet format of command
22 00 00 01
iOS format of command (Note MSB order)
5)
If the operation and the card status are OK, the host retrieves the card data from the device by issuing
Command 0x0A - Request MSR Data
, as shown:
Sample Command 0x0A - Request MSR Data:
0A 00
USB format of command
C0 01 0A 00 C0
802.11 wireless and Ethernet format of command
0A 00
iOS format of command (Note MSB order)
6)
7)
The device sends back eight instances of
Report 0x23 - Card Data Report
host interprets as meaning the following (Note that additional headers for Ethernet are not shown):