SerialPortConnection

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