Svccom3Setbufflushint() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

svcCom3SetBufFlushInt()

The svcCom3SetBufFlushInt() function allows the application to manually
set the buffer flush interval. This value indicates when a record that is less in size
than the Receive Record Threshold is to be released to the host. It sets the
maximum latency, in milliseconds, for receive characters to reside in the
communication processor receive buffer before a record is released. This function
is not valid in tailgate mode: MODE_SIO_INT and will have no effect if used in this
mode. The BFI value is automatically set to the optimum value by the M
series terminal according to the baud rate and the RRT values. This function
should only be used to manually override the automatically calculated value.
Prototype
short svcCom3SetBufFlushInt(int fd, char bfi)
Parameters
File descriptor returned when opening a serial port with either open()
fd
or ecrOpen().
A 1 byte value that indicates the buffer flush interval to be set.
rrt
Return Values
This function returns 0 upon success and a negative value if unsuccessful.
S
ERVICE
svcCom3SetBufFlushInt()
x
X
M
800 S
P
ERIES
ROGRAMMERS
F
UNCTIONS
800
187
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents