write
Writes the provided bytes to the serial port.
Parameters
Bytes to write to the serial port
Throws
If operation takes longer than the time specified by defaultWriteTimeout
Writes the provided bytes to the serial port.
Parameters
Bytes to write to the serial port
Time to wait in milliseconds before aborting the request prematurely
Throws
If operation takes longer than the time specified by timeout
Writes the provided bytes to the serial port in an asynchronous manner.
Return
Deferred result containing the total bytes which were written to the serial port. May throw a cancellation exception
Parameters
Bytes to write to the serial port
Coroutine scope within which to run this operation
Writes the provided bytes to the serial port in an asynchronous manner.
Return
Deferred result containing the total bytes which were written to the serial port. May throw a cancellation exception
Parameters
Bytes to write to the serial port
Time to wait in milliseconds before aborting the request prematurely
Coroutine scope within which to run this operation