EasyManuals Logo

VeriFone MX800 Series User Manual

VeriFone MX800 Series
344 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #168 background imageLoading...
Page #168 background image
SERVICE FUNCTIONS
svcGetPortStatus()
168 M
X
800 SERIES PROGRAMMERS GUIDE
svcGetPortStatus()
The svcGetPortStatus() function returns the following information regarding
the port:
Prototype
struct vficomErrCounts *svcGetPortStatus(int inFd, int *buf)
Parameters
Return Values
NOTE
The M
x
800 series terminal does not support the detection of parity errors on the
COM ports due to the limitations of the ARM processor.
inFd The file descriptor associated with the open port device.
buf 4 integer buffer used to return the port signal status information
buf[0] Number of received bytes pending in its input queue.
buf[1] Number of available (free) bytes in its output queue. This is different
than the function svcGetOutQ() where it returns the number of bytes
pending in the output queue.
buf[2] Signal information as defined as follows:
(all bits for corresponding signals are set if hardware supports signal for
that port and the signal is detected to be asserted. Otherwise, bit is not
set.)
buf[3] Reserved
0x80 set if DTR detected
0x40 set if RTS detected
0x20 set if CTS detected
0x10 set if Ring Indicator present
0x08 set if Carrier Detect (CD) present
0x04 set if DSR detected
0x02 Reserved
0x01 Reserved

Table of Contents

Other manuals for VeriFone MX800 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VeriFone MX800 Series and is the answer not in the manual?

VeriFone MX800 Series Specifications

General IconGeneral
BrandVeriFone
ModelMX800 Series
CategoryTouch terminals
LanguageEnglish

Related product manuals