Table of Contents

Class SerialPortConfiguration

Namespace
Bonsai.IO.Ports
Assembly
Bonsai.System.dll

Represents the set of configuration parameters used to create a new serial port connection.

public class SerialPortConfiguration
Inheritance
SerialPortConfiguration
Inherited Members

Properties

BaudRate

Gets or sets the serial baud rate.

DataBits

Gets or sets the number of data bits per byte.

DiscardNull

Gets or sets a value indicating whether null bytes are ignored when transmitted between the port and the receive buffer.

DtrEnable

Gets or sets a value indicating whether the Data Terminal Ready (DTR) signal should be enabled during serial communication.

Encoding

Gets or sets the byte encoding used for pre- and post-transmission conversion of text.

Handshake

Gets or sets the handshaking protocol for serial port transmission of data.

NewLine

Gets or sets the new line separator used to delimit reads from the serial port.

Parity

Gets or sets the parity bit for the SerialPort object.

ParityReplace

Gets or sets the byte that replaces invalid bytes in the data stream when a parity error occurs.

PortName

Gets or sets the name of the serial port.

ReadBufferSize

Gets or sets the size of the read buffer, in bytes. This is the maximum number of read bytes which can be buffered.

ReceivedBytesThreshold

Gets or sets the number of bytes received into the internal input buffer before the read event is fired.

RtsEnable

Gets or sets a value indicating whether the Request to Send (RTS) signal should be enabled during serial communication.

StopBits

Gets or sets the number of stop bits per byte.

WriteBufferSize

Gets or sets the size of the write buffer, in bytes. This is the maximum number of bytes which can be queued for write.