VeriFone MX800 series Programmer's Manual page 106

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

D
D
EVICE
RIVERS
ecrStatus
106
M
X
800 S
P
ERIES
ROGRAMMERS
Copy current status information to caller's 4-integer buffer.
Input messages pending
1st
A value of 0 means no pending message.
A value of greater than 0 means that a message is pending.
The number of bytes available (free) in the output buffer.
2nd
Current signal information for port:
3rd
(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.)
0x80
0x40
0x20
0x10
0x08
0x04
0x02
0x01
Status of ecrWrite() message:
4th
0
1
2
Return Values
The result return code is a pointer to vficomErrCounts structure which is
defined as:
struct vficomErrCounts {
int frame_err;
int over_err;
int parity_err;
};
The pointer to this structure will contain the error counts for the port described by
the file descriptor passed into the function. The error counts provided are for
framing, overrun and parity errors detected for that port. They counts provided are
always total errors counted for that port since it was opened which allows the
application to track if any new errors were detected for that port since the last time
this function was called.
G
UIDE
set if DTR detected
set if RTS detected
set if CTS is detected
set if Ring Indicator is present
set if Carrier Detect (CD)
set if DSR detected
Reserved
Reserved
message ACKed
message pending
message rejected

Advertisement

Table of Contents
loading

Table of Contents