- this
deprecated this(string exmode, F sf)
deprecated this(string port, string mode, F sf)
deprecated this(string port, uint baudRate, F sf)
deprecated this(string port, uint baudRate, string mode, F sf)
deprecated this(string port, Config conf, F sf)
this(string exmode, F sf)
this(string port, string mode, F sf)
this(string port, uint baudRate, F sf)
this(string port, uint baudRate, string mode, F sf)
this(string port, Config conf, F sf)
- ioPause
Duration ioPause()
Calc pause for sleep in read and write loops
- read
void[] read(void[] buf, CanRead cr)
Undocumented in source. Be warned that the author may not have intended to support it.
- readContinues
void[] readContinues(void[] buf, Duration startTimeout, Duration frameGap, bool expectAnything)
Read data while available by parts, sleep between checks.
- sleep
void sleep(Duration dt)
- sleepFunc
deprecated void sleepFunc(SleepFunc dlg)
extended delegate for perform sleep
- sleepFunc
deprecated void sleepFunc(void function(Duration) fnc)
- sleepFunc
void sleepFunc(void delegate(Duration) @(nogc) dlg)
void sleepFunc(void function(Duration) @(nogc) fnc)
SleepFuncNoGC sleepFunc()
extended delegate for perform sleep
- write
void write(const(void[]) arr)
Undocumented in source. Be warned that the author may not have intended to support it.
- _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)
- checkAbility
void checkAbility(CanRead cr, size_t readed, size_t buffer)
- write
void write(const(void[]) buf)
Serial Port Fiber Ready