8 #ifndef _RAWSERIALLINE_H_ 9 #define _RAWSERIALLINE_H_ 14 #define INVALID_HANDLE_VALUE (-1) 34 typedef unsigned char BYTE;
100 std::string PortName;
101 DWORD SerialPortSpeed;
PlusStatus SetRTS(bool onOff)
int Write(const BYTE *data, int numberOfBytesToWrite)
void SetMaxReplyTime(int maxreply)
SetStdStringMacro(PortName)
int Read(BYTE *data, int maxNumberOfBytesToRead)
Class for reading and writing data through the serial (RS-232) port.
PlusStatus SetDTR(bool onOff)
PlusStatus GetCTS(bool &onOff)
GetStdStringMacro(PortName)
unsigned int GetNumberOfBytesAvailableForReading() const
PlusStatus GetDSR(bool &onOff)
void SetSerialPortSpeed(DWORD speed)
bool IsHandleAlive() const
int GetMaxReplyTime() const