SerialPort.h File Reference

#include <unistd.h>
#include <stdint.h>
#include <termios.h>
#include <string>

Classes

class  SerialPortInterface
 Serial port interface class. More...
struct  SERIAL_PORT_MODE
class  SerialPort
 Serial port class. More...

Enumerations

enum  S_FLOW_CONTROL { S_FLOW_NONE = 0, S_FLOW_SOFT, S_FLOW_HARD, S_FLOW_BOTH }
enum  S_PARITY_CONTROL { S_PARITY_NONE = 0, S_PARITY_ODD, S_PARITY_EVEN }

Detailed Description


Enumeration Type Documentation

Serial port flow control mode

Enumerator:
S_FLOW_NONE 

Flow control is disabled

S_FLOW_SOFT 

Sofware flow control (XON/XOFF)

S_FLOW_HARD 

Hardware flow control (RTS/CTS)

S_FLOW_BOTH 

Both hardware and software flow control

Serial port parity mode

Enumerator:
S_PARITY_NONE 

Parity check is disabled

S_PARITY_ODD 

Odd parity check

S_PARITY_EVEN 

Even parity check

Generated on Wed Oct 20 11:13:43 2010 for libspatha by  doxygen 1.6.3