modbus ~master (2020-09-04T11:08:08Z)
Dub
Repo
SerialPortConnection
modbus
connection
rtu
class
SerialPortConnection :
Connection
{
protected
SerialPort
sp
;
this
(SerialPort sp);
inout
(
SerialPort
)
port
();
Duration
readTimeout
[@property getter];
Duration
writeTimeout
[@property getter];
Duration
readTimeout
[@property setter];
Duration
writeTimeout
[@property setter];
void
write
(const(void)[] msg);
void
[]
read
(void[] buf, CanRead cr);
void
reconnect
();
}
Constructors
this
this
(SerialPort sp)
Members
Functions
port
inout
(
SerialPort
)
port
()
read
void
[]
read
(void[] buf, CanRead cr)
Undocumented in source. Be warned that the author may not have intended to support it.
reconnect
void
reconnect
()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void
write
(const(void)[] msg)
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
readTimeout
Duration
readTimeout
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
readTimeout
Duration
readTimeout
[@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
writeTimeout
Duration
writeTimeout
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
writeTimeout
Duration
writeTimeout
[@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
sp
SerialPort
sp
;
Inherited Members
From Connection
readTimeout
Duration
readTimeout
[@property getter]
writeTimeout
Duration
writeTimeout
[@property getter]
readTimeout
Duration
readTimeout
[@property setter]
writeTimeout
Duration
writeTimeout
[@property setter]
CanRead
alias
CanRead
=
serialport
.
base
.
SerialPort
.
CanRead
Undocumented in source.
write
void
write
(const(void)[] data)
Write data to connection
read
void
[]
read
(void[] buffer, CanRead cr)
Read data from connection
reconnect
void
reconnect
()
Meta
Source
See Implementation
modbus
connection
rtu
classes
SerialPortConnection