RTU

Undocumented in source.

Constructors

this
this(SerialPortIface spi)
Undocumented in source.

Members

Functions

append
void append(byte v)
Undocumented in source. Be warned that the author may not have intended to support it.
append
void append(ubyte v)
Undocumented in source. Be warned that the author may not have intended to support it.
append
void append(short v)
Undocumented in source. Be warned that the author may not have intended to support it.
append
void append(ushort v)
Undocumented in source. Be warned that the author may not have intended to support it.
append
void append(int v)
Undocumented in source. Be warned that the author may not have intended to support it.
append
void append(uint v)
Undocumented in source. Be warned that the author may not have intended to support it.
append
void append(long v)
Undocumented in source. Be warned that the author may not have intended to support it.
append
void append(ulong v)
Undocumented in source. Be warned that the author may not have intended to support it.
append
void append(float v)
Undocumented in source. Be warned that the author may not have intended to support it.
append
void append(double v)
Undocumented in source. Be warned that the author may not have intended to support it.
append
void append(const(void)[] v)
Undocumented in source. Be warned that the author may not have intended to support it.
messageComplite
bool messageComplite()
Undocumented in source. Be warned that the author may not have intended to support it.
read
Response read(size_t expectedBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send()
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start(ubyte dev, ubyte func)
Undocumented in source. Be warned that the author may not have intended to support it.
tempBuffer
const(void)[] tempBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(T v)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

minimumMsgLength
enum minimumMsgLength;
Undocumented in source.

Variables

buffer
ubyte[256] buffer;
Undocumented in source.
com
SerialPortIface com;
Undocumented in source.
idx
size_t idx;
Undocumented in source.

Inherited Members

From Backend

start
void start(ubyte dev, ubyte func)
Undocumented in source.
append
void append(byte )
Undocumented in source.
append
void append(ubyte )
Undocumented in source.
append
void append(short )
Undocumented in source.
append
void append(ushort )
Undocumented in source.
append
void append(int )
Undocumented in source.
append
void append(uint )
Undocumented in source.
append
void append(long )
Undocumented in source.
append
void append(ulong )
Undocumented in source.
append
void append(float )
Undocumented in source.
append
void append(double )
Undocumented in source.
append
void append(const(void)[] )
Undocumented in source.
messageComplite
bool messageComplite()
Undocumented in source.
tempBuffer
const(void)[] tempBuffer()
Undocumented in source.
send
void send()
Undocumented in source.
Response
struct Response
Undocumented in source.
read
Response read(size_t expectedBytes)
Undocumented in source.

Meta