User's Manual

CAEN RFID API Reference Manual
103
SetRS232 Method
Description:
This method permits to change the serial port settings. Valid settings values depend on the reader model.
Parameters:
Name
Description
baud
The baud rate value to set.
datab
The number of data bits to set.
stopb
The number of stop bits to set.
parity
The parity value to set.
flowc
The flow control value to set.
Syntax:
C# representation:
public void SetRS232(
int baud,
int datab,
int stopb,
CAENRFIDRS232Constants parity,
CAENRFIDRS232Constants flowc)
JAVA representation:
public void SetRS232(
int baud,
int datab,
int stopb,
CAENRFIDRS232Constants parity,
CAENRFIDRS232Constants flowc)
throws CAENRFIDException
C representation:
CAENRFIDErrorCodes CAENRFID_SetRS232(
CAENRFIDHandle handle,
unsigned long baud,
unsigned long datab,
unsigned long stopb,
CAENRFID_RS232_Parity parity,
CAENRFID_RS232_FlowControl flowc);