Class ProcessSerialConnection
Namespace: Belay.Core
Assembly: Belay.Core.dll
Process-based serial connection that uses external processes for I/O like mpremote does. This approach avoids the FileStream blocking issues on Linux serial devices.
public sealed class ProcessSerialConnection : IDisposable
Inheritance
object ← ProcessSerialConnection
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
ProcessSerialConnection(string)
Initializes a new instance of the class.
Properties
Gets a value indicating whether the connection is open.
Methods
Closes the serial connection.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Opens the serial connection using process-based configuration.
Reads available data from the port using timeout-controlled cat.
Writes data to the serial port using echo command.