43 virtual bool isOpen()
const;
Physical layer implementation for a serial port.
virtual bool isOpen() const
Indicate whether the port is open.
virtual bool tx(uint8 *aData, uint16 aSize)
Transmit bytes on the serial port.
Abstract base class for link Layers in the OSI model.
uint32 mBaudRate
The last successfully applied baud rate.
virtual ~TcpIpPort()
Destructor. Close the serial port.
unsigned short int uint16
16-bit unsigned integer
static bool initTcpPort()
virtual const CString & getPortName() const
Get the name of the serial port that is open.
unsigned char uint8
8-bit unsigned integer
virtual void close()
Close the TCP virtual COM port if one is in use.
CString mPortName
Display name of the serial port being used for communication.
virtual bool setBaudRate(uint32 aBaudRate)
Set the baud rate.
unsigned long int uint32
32-bit unsigned integer
Physical layer implementation for a serial port.
virtual uint32 getBaudRate() const
Return the last successfully applied baud rate .
virtual void pumpRx()
Receive and process any data.