Public Member Functions

CSerialPort Class Reference

#include <SerialPort.h>

List of all members.

Public Member Functions

 CSerialPort (void)
virtual ~CSerialPort (void)
void ClosePort ()
bool ReadByte (BYTE &resp)
bool ReadByte (BYTE *&resp, UINT size)
bool WriteByte (BYTE bybyte)
bool OpenPort (CString portname)
bool SetCommunicationTimeouts (DWORD ReadIntervalTimeout, DWORD ReadTotalTimeoutMultiplier, DWORD ReadTotalTimeoutConstant, DWORD WriteTotalTimeoutMultiplier, DWORD WriteTotalTimeoutConstant)
bool ConfigurePort (DWORD BaudRate, BYTE ByteSize, DWORD fParity, BYTE Parity, BYTE StopBits)

Constructor & Destructor Documentation

CSerialPort::CSerialPort ( void   )
CSerialPort::~CSerialPort ( void   ) [virtual]

Member Function Documentation

void CSerialPort::ClosePort (  )
bool CSerialPort::ConfigurePort ( DWORD  BaudRate,
BYTE  ByteSize,
DWORD  fParity,
BYTE  Parity,
BYTE  StopBits 
)
bool CSerialPort::OpenPort ( CString  portname )
bool CSerialPort::ReadByte ( BYTE &  resp )
bool CSerialPort::ReadByte ( BYTE *&  resp,
UINT  size 
)
bool CSerialPort::SetCommunicationTimeouts ( DWORD  ReadIntervalTimeout,
DWORD  ReadTotalTimeoutMultiplier,
DWORD  ReadTotalTimeoutConstant,
DWORD  WriteTotalTimeoutMultiplier,
DWORD  WriteTotalTimeoutConstant 
)
bool CSerialPort::WriteByte ( BYTE  bybyte )

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines