Appendix A - Examples
DynaPro Go| Handheld PIN Pad Device with MSR/Contact/Contactless | Programmer’s Manual (COMMANDS)
Page 152 of 247 (
D998200136-31
)
a)
0xC0: Ethernet packet header (Ethernet Only | 802.11 Wireless Only)
b)
0x03: Unsolicited response (Ethernet Only | 802.11 Wireless Only)
c)
0x20: Report ID (0x20=
Report 0x20 - Device State Report
d)
0x02: Device state (0x02=Wait for card)
e)
0x08: Session state (0x08=Card data available)
f)
0x40: Device status (0x40=Not authenticated)
g)
0x47: Device certificate status (PIN Key Loader Certificate Revocation List, PIN Key Loader
CA certificate, Device CA Certificate, and Device Certificate exist)
h)
0x07: Hardware status (Keypad calibrated, Mag Head programmed, Tamper sensors active)
i)
0xC0: Ethernet packet terminator (Ethernet Only | 802.11 Wireless Only)
Sample Report 0x20 - Device State Report (Hex)
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)
0xC0: Ethernet packet header (Ethernet Only | 802.11 Wireless Only)
b)
0x03: Unsolicited response (Ethernet Only | 802.11 Wireless Only)
c)
0x22: Report ID (0x22=
Report 0x22 - Card Status Report
d)
0x00: Operation status (0x00=OK)
e)
0x00: Card status (0x00=OK)
f)
0x01: Card type (0x01=Financial card)
g)
0xC0: Ethernet packet terminator (Ethernet Only | 802.11 Wireless Only)
Sample Report 0x22 - Card Status Report (Hex)
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)