Svccom3Setrxrecthresh() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

S
F
ERVICE
UNCTIONS

svcCom3SetRxRecThresh()

svcCom3SetRxRecThresh()
186
M
X
800 S
P
ERIES
ROGRAMMERS
The svcCom3SetRxRecThresh() function allows the application to set the
receive record threshold (RRT). This threshold is used to set the minimum size of
receive records returned to the host from the communication processor. This
command is not valid in COM3 tailgate mode: MODE_SIO_INT and has no effect if
used in this mode. The value can be in the range of 01-FF and defaults to decimal
value of 96. If this value is set too large then a loss of data can occur due to the
time required to process the larger receive record. If the value is set too small,
then a contention for resources could occur due to the time required to process
the interrupt for each receive record. A value of 0 is not allowed as this would
effectively shut off reception of all data. This value, in conjunction with the Buffer
Flush Interval (BFI), controls how received data is released to host driver for
processing.
Prototype
short svcCom3SetRxRecThresh(int fd, char rrt)
Parameters
File descriptor returned when opening a serial port with either open()
fd
or ecrOpen().
a 1 byte value that indicates the receive record threshold to be set.
rrt
Return Values
This function returns 0 upon success and a negative value if unsuccessful.
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents