Constants CAA_SerialCom.library

( CAA_SerialCom.library)

In order to configure the COM port a pointer on an array of COM.PARAMETER is transmitted. The array contains pairs of parameter IDs and associated values corresponding to the configuration parameters. 

These constants depend on the platform and the implementation. The following constants are Windows specific in terms of their employment within the implementation of SysCom. The table indicates which member of the Windows structure DCB the parameter is assigned to.

Id

Name  of CAA.Parameter_Constants

corresponds to DCB value

0x00000001

udiPort

Port number

0x00000002

udiStopBits

StopBits

0x00000003

udiParity

Parity

0x00000004

udiBaudrate

Baudrate

0x00000005

udiTimeout

Timeout

0x00000006

udiBufferSize

Buffersize of the serial interface

0x00000007

udiByteSize

Number of data bits/BYTE, 4-8

0x00000008

udiBinary

binary mode, no EOF check

0x00000009

udiOutxCtsFlow

CTS handshaking on output

0x0000000A

udiOutxDsrFlow

DSR handshaking on output

0x0000000B

udiDtrControl

DTR Flow control

0x0000000C

udiDsrSensitivity

DSR Sensitivity

0x0000000D

udiRtsControl

Rts Flow control

0x0000000E

udiTXContinueOnXoff

XOFF continues Tx

0x0000000F

udiOutX

XON/XOFF out flow control 

0x00000010

udiInX

XON/XOFF in flow control

0x00000011

udiXonChar

Tx AND Rx XON character 

0x00000012

udiXoffChar

Tx AND Rx XOFF character

0x00000013

udiXonLim

Transmit XON threshold                              

0x00000014

udiXoffLim

Transmit XOFF threshold

udiPort: Port, for example 1 for COM1

udiTimeout: Device timeout in ms

udiBufferSize: Size of device buffer