2using System.Threading.Tasks;
Defines a connection for communicating via OSDP protocol.
A connection whose line rate can be changed while it stays open.
void SetBaudRate(int baudRate)
Changes the baud rate, retuning the connection in place if it is open.
bool DiscardBuffersBeforeWrite
Gets or sets a value indicating whether buffers are discarded before every write.
Task WaitForTransmitCompleteAsync(int frameByteCount, CancellationToken token=default)
Waits until data already written has left the connection.