You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
804 B
35 lines
804 B
namespace MultiTerm.Protocols.Serial;
|
|
|
|
public interface ISerialProtocolSettings : IProtocolSettings
|
|
{
|
|
/// <summary>
|
|
/// Port for communication, e.g. COM3 or com50.
|
|
/// </summary>
|
|
string PortName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Serial Baud rate.
|
|
/// </summary>
|
|
int BaudRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// The type of parity to use.
|
|
/// </summary>
|
|
Parity Parity { get; set; }
|
|
|
|
/// <summary>
|
|
/// The standard length of data bits per byte.
|
|
/// </summary>
|
|
int DataBits { get; set; }
|
|
|
|
/// <summary>
|
|
/// Number of stop bits to use.
|
|
/// </summary>
|
|
StopBits StopBits { get; set; }
|
|
|
|
/// <summary>
|
|
/// Handshaking protocol for serial port transmission of data.
|
|
/// </summary>
|
|
Handshake Handshake { get; set; }
|
|
|
|
}
|
|
|