3 - Connection Types
DynaPro Go| Handheld PIN Pad Device with MSR/Contact/Contactless | Programmer’s Manual (COMMANDS)
Page 36 of 247 (
D998200136-31
)
3.3.3
How to Receive Data On the 802.11 Wireless Connection
When the device sends unsolicited messages to the host’s listening port via the 802.11 wireless
connection, it uses the same SLIP format documented in section
3.3.2 How to Send Commands Using
. Events occur when the device state changes or when an asynchronous command
(such as a command that requires cardholder interaction) has completed, and in this documentation they
are referred to as
Reports
.
1)
The host must maintain an actively listening TCP socket for the device to connect to at all times.
2)
On receiving an unsolicited message, unpack it according to
on page
, which will label
the message as
Unsolicited transmission for an event
.
3)
Determine the incoming message’s
Report ID
, and look up the corresponding Report ID in this
document (for example,
Report 0x20 - Device State Report
0x20
).
4)
Parse the data in the message according to the report’s documentation.
5)
Respond accordingly (for example, by establishing a mutually authenticated TLS connection with the
device and sending followup commands).