Trailer; Packet_Parms; Packet Mode - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

D
D
EVICE
RIVERS

Packet Mode

Trailer

Packet_parms

Packet Mode
94
M
X
800 S
P
ERIES
ROGRAMMERS
The value contained in the trailer field depends on the defined protocol.
Because the trailer field consists of different types, only one type is valid at
any time. If tailgate mode is selected as the protocol, then the
ECRtailgate_parms will be the valid field. All future mutually exclusive
protocols will be defined here.
The packet_parms field is used for Packet Mode. It is defined outside the trailer
field as it is valid for different types of protocols to work in conjunction with packet
mode. A serial port may be configured for RS232 packet mode or as tailgate with
Visa protocol enabled which uses packet mode. This structure must be filled in
prior to calling startPktMode().
Packet mode protocol manages packet-based protocols over any of the serial
ports. It supports the definition of a packet start and end character as well as error
detection characters (such as LRC/CRC). The packet mode library will buffer
incoming data until a complete packet is received. Once a complete packet is in
the receive buffer, the library will call a callback function to deliver the message to
the application. Outgoing message must be fully defined including start, end, and
error detection characters before writing to the packet library.
Packet mode protocol has been implemented as a static library named:
libvfiprot.a
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents