read
Reads the specified number of bytes from the port in an asynchronous manner.
Return
Deferred result containing the bytes which were read from the serial port. May throw a cancellation exception
Parameters
Number of bytes to read from the port
Coroutine scope within which to run this operation
Reads the specified number of bytes from the port in an asynchronous manner.
Return
Deferred result containing the bytes which were read from the serial port. May throw a cancellation exception
Parameters
Number of bytes to read from the port
Time to wait in milliseconds before aborting the request prematurely
Coroutine scope within which to run this operation
Reads the specified number of bytes from the port.
Parameters
Number of bytes to read from the port
Throws
If operation takes longer than the time specified by defaultReadTimeout
Reads the specified number of bytes from the port.
Parameters
Number of bytes to read from the port
Time to wait in milliseconds before aborting the request prematurely
Throws
If operation takes longer than the time specified by timeout