Svccom3Setdeviceaddr() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

svcCom3SetDeviceAddr()

The svcCom3SetDeviceAddr() function allows the application to set the ECR
device address that the terminal is going to respond to. This is valid only in COM3
ECR tailgate mode: MODE_SIO_INT. The ECR device address must be set before
x
the M
800 series terminal will respond to a poll from the ECR. If the terminal is not
in MODE_SIO_INT, the device address will still be set successfully, but will be
ignored.
Prototype
short svcCom3SetDeviceAddr(int fd, char da)
Parameters
File descriptor returned when opening a serial port with ecrOpen().
fd
A 1 byte value to set the ECR device address to. The legal values are
da
defined as follows:
SIO_DEVADDR_64
SIO_DEVADDR_65
SIO_DEVADDR_65
SIO_DEVADDR_69
Return Values
This function returns 0 upon success and a negative value if unsuccessful in
setting address.
S
ERVICE
svcCom3SetDeviceAddr()
X
M
800 S
P
ERIES
ROGRAMMERS
F
UNCTIONS
181
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents