Skip to content

SafeSerialPort ​

An improved System.IO.Ports.SerialPort that enhances stability with unreliable and/or nonstandard USB serial adapters.

Kind: Class

Namespace: ConnectorLib

Inheritance: SerialPort → IComponent → IDisposable

Public Constructors

SafeSerialPort()

Public Member Functions

void

Open()

void

Write(ReadOnlySpan buffer)

Writes a specified number of bytes to the serial port using data from a buffer.