OxSerialPort

Serial port.

Hardware independent level

Constructors

this
this(string portName, Speed speed, Parity parity, uint timeOut)

Create new serial port

this
deprecated this(string portName, uint speed, string parity, uint timeOut)

Create new serial port

this
this(Bundle bundle)

Create new serial port

Destructor

~this
~this()
Undocumented in source.

Members

Functions

close
bool close()

Close serial port

isOpen
bool isOpen()

Check if port open

open
bool open()

Open serial port (and setup)

read
ubyte[] read(int byteCount, ReadMode readMode)

read data from port

read
deprecated ubyte[] read(int byteCount, bool wait)

read data from port

write
void write(ubyte[] buf)

write data to port

Meta