Table of Contents

Class SerialPortSettings

Namespace
Acuit.Pinpoint.BarCodeScanning
Assembly
Acuit.Pinpoint.BarCodeScanning.dll

Serial port settings.

public class SerialPortSettings
Inheritance
SerialPortSettings
Inherited Members

Properties

BaudRate

Gets or sets the serial baud rate. The default value is 9600.

[GreaterThan(0)]
public int BaudRate { get; set; }

Property Value

int

DataBits

Gets or sets the standard length of data bits per byte. This must be from 5 to 8. The default is 8.

[Range(5, 8)]
public int DataBits { get; set; }

Property Value

int

DtrEnable

Gets or sets a value that enables the Data Terminal Ready (DTR) signal during serial communication. The default is false.

public bool DtrEnable { get; set; }

Property Value

bool

Handshake

Gets or sets the handshaking protocol for serial port transmission of data. The default is None.

public Handshake Handshake { get; set; }

Property Value

Handshake

Parity

Gets or sets the parity-checking protocol. The default is None.

public Parity Parity { get; set; }

Property Value

Parity

PortName

Gets or sets the port for communications, including but not limited to all available COM ports. The default is COM1.

[Required]
public string PortName { get; set; }

Property Value

string

RtsEnable

Gets or sets a value indicating whether the Request to Send (RTS) signal is enabled during serial communication. The default is false.

public bool RtsEnable { get; set; }

Property Value

bool

StopBits

Gets or sets the standard number of stopbits per byte. The default is One.

public StopBits StopBits { get; set; }

Property Value

StopBits