Menu

rs232driver.properties

vmacari

This is default RS232 driver properties file. The property serialDriver.portId= must be mandatory specified.

RS232 property file contains a reference to logger property file - [logger.properties]

###############################################
# Wavenis SDK by Coronis - All right reserved #
###############################################

#################################
# serial driver properties file #
#################################

# Id of the serial port (String value)
# serialDriver.portId=<SERIAL PORT NAME>
# for Windows 
# serialDriver.portId=COM6
# for Linux 
# serialDriver.portId=/dev/ttyUSB2

# baudrate used to write and read data on the serial port (int value)
serialDriver.baudRate=9600

# databit used to write and read data on the serial port (int value)
serialDriver.dataBit=8

# stopbit used to write and read data on the serial port (int value)
serialDriver.stopBit=1

# parity bit used to write and read data on the serial port (int value)
serialDriver.parity=0

# listening period (milliseconds) is used to define frequency of checking for data from serial port 
serialDriver.listeningPeriod=20

serialDriver.flowControlMode=0

serialDriver.listeningStatus=true

rs232Driver.radioBoardAckStatus=true

rs232Driver.radioBoardAckTimeout=500

rs232Driver.hostAckStatus=true

rs232Driver.retryNumber=2

# default value "true"
rs232Driver.syncCharacterActivation=true

# default value "true"
rs232Driver.startEndCharactersActivation=true

# default value "true"
rs232Driver.crc16Activation=true

# default value "true" - specify if packet contains length byte
rs232Driver.lengthCharacterActivation=true

# default is 
rs232Driver.loggerFileNameProperties=logger.properties

Related

Wiki: Serial Driver Initialization functions

MongoDB Logo MongoDB