SerialPortFR

Serial Port Fiber Ready

Constructors

this
this(string exmode, void delegate(Duration) slp)

Construct SerialPortFR using extend mode string.

this
this(string port, string mode, void delegate(Duration) slp)
this
this(string port, uint baudRate, void delegate(Duration) slp)
this
this(string port, uint baudRate, string mode, void delegate(Duration) slp)
this
this(string port, Config conf, void delegate(Duration) slp)

Members

Functions

ioPause
Duration ioPause()

Calc pause for sleep in read and write loops

readLoop
void[] readLoop(void[] arr, Duration timeout, Duration frameGap)

Read data by parts, sleep between checks.

sleep
void sleep(Duration dt)

Preform pause

writeLoop
void writeLoop(const(void[]) arr, Duration timeout)

Write all data by parts

Variables

sleepFunc
void delegate(Duration dt) sleepFunc;

extended delegate for perform sleep

Inherited Members

From SerialPortNonBlk

read
void[] read(void[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.
write
ptrdiff_t write(const(void[]) arr)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta