Class SerialRead
Represents an operator that reads a sequence of bytes from a serial port.
public class SerialRead : Source<byte[]>
- Inheritance
-
SerialRead
- Inherited Members
Properties
- Count
Gets or sets the maximum number of bytes to read. Fewer bytes may be read if there are not enough bytes in the input buffer before the read timeout.
- PortName
Gets or sets the name of the serial port.
Methods
- Generate()
Reads a single buffer of bytes from a serial port and surfaces the result through an observable sequence.
- Generate<TSource>(IObservable<TSource>)
Reads a sequence of bytes from a serial port, where each new buffer is read only when an observable sequence emits a notification.