SerialPortBlk

Blocking work serialport

Constructors

this
this(string exmode)
this(string port, string mode)
this(string port, uint baudRate)
this(string port, uint baudRate, string mode)
this(string port, Config conf)

Construct SerialPortBlk

Members

Functions

m_read
void[] m_read(void[] )
Undocumented in source. Be warned that the author may not have intended to support it.
m_write
size_t m_write(const(void)[] )
Undocumented in source. Be warned that the author may not have intended to support it.
posixSetup
void posixSetup(Config conf)
Undocumented in source. Be warned that the author may not have intended to support it.
read
void[] read(void[] buf, CanRead cr)
Undocumented in source. Be warned that the author may not have intended to support it.
updTimeouts
void updTimeouts()
Undocumented in source. Be warned that the author may not have intended to support it.
updateTimeouts
void updateTimeouts()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(const(void[]) arr)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From SerialPort

_writeTimeout
Duration _writeTimeout;
_writeTimeoutMult
Duration _writeTimeoutMult;
_readTimeout
Duration _readTimeout;
_readTimeoutMult
Duration _readTimeoutMult;
Undocumented in source.
updateTimeouts
void updateTimeouts()
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()

Read data from serial port while exists

readTimeout
Duration readTimeout [@property getter]
readTimeoutMult
Duration readTimeoutMult [@property getter]
writeTimeout
Duration writeTimeout [@property getter]
writeTimeoutMult
Duration writeTimeoutMult [@property getter]
readTimeout
Duration readTimeout [@property setter]
readTimeoutMult
Duration readTimeoutMult [@property setter]
writeTimeout
Duration writeTimeout [@property setter]
writeTimeoutMult
Duration writeTimeoutMult [@property setter]
CanRead
enum CanRead
read
void[] read(void[] buf, CanRead cr)

Read data from port

checkAbility
void checkAbility(CanRead cr, size_t readed, size_t buffer)
write
void write(const(void[]) buf)

Write data to port

Meta