#include <TTY_IO.h>
Public Member Functions | |
Serial_Params (void) | |
Public Attributes | |
int | baudrate |
int | xonlim |
int | xofflim |
unsigned int | readmincharacters |
int | readtimeoutmsec |
bool | parityenb |
const char * | paritymode |
bool | ctsenb |
int | rtsenb |
bool | xinenb |
bool | xoutenb |
bool | modem |
bool | rcvenb |
bool | dsrenb |
int | dtrdisable |
unsigned char | databits |
unsigned char | stopbits |
|
|
|
Specifies the baudrate at which the communnication port operates. |
|
Enable & set CTS mode. Note that RTS & CTS are enabled/disabled together on some systems (RTS/CTS is enabled if either |
|
Data bits. Valid values 5, 6, 7 and 8 data bits. Additionally Win32 supports 4 data bits. |
|
Controls whether DSR is disabled or enabled (Win32). |
|
Controls whether DTR is disabled or enabled (Win32). |
|
Specifies if device is a modem (POSIX). If not set modem status lines are ignored. |
|
Enable/disable parity checking. |
|
Specifies the parity mode. POSIX supports "even" and "odd" parity. Additionally Win32 supports "mark" and "space" parity modes. |
|
Enable/disable receiver (POSIX). |
|
Specifies the minimum number of characters for non-canonical read (POSIX). |
|
Specifies the time to wait before returning from read. Negative value means infinite timeout. |
|
Enable & set RTS mode. Note that RTS & CTS are enabled/disabled together on some systems (RTS/CTS is enabled if either
|
|
Stop bits. Valid values are 1 and 2. |
|
Enable/disable software flow control on input. |
|
Specifies the maximum number of bytes in input buffer before XOFF char is sent. Negative value indicates that default value should be used (Win32). |
|
Specifies the minimum number of bytes in input buffer before XON char is sent. Negative value indicates that default value should be used (Win32). |
|
Enable/disable software flow control on output. |