Virtual Serial Port Tools - Advanced serial port configurations for your custom ports usage scenario
Docs

IConfigurableDevice Interface

This is a base interface, that derives from IDevice and supports alias and shared ports.

Declaration

interface IConfigurableDevice extends ${IDevice} {
    // Properties
    ${baudRate}: number;
    ${dataBits}: number;
    ${parity}: ${PortParity};
    ${stopBits}: ${PortStopBits};
    ${flowControl}: ${PortFlowControl};
}
public interface IConfigurableDevice : ${IDevice}
{
    // Properties
    uint ${baudRate} { get; set; }
    uint ${dataBits} { get; set; }
    ${PortParity} ${parity} { get; set; }
    ${PortStopBits} ${stopBits} { get; set; }
    ${PortFlowControl} ${flowControl} { get; set; }
}
struct IConfigurableDevice : IDevice
{
    // Properties
    unsigned ${baudRate};  // get set 
    unsigned ${dataBits};  // get set 
    ${PortParity} ${parity};  // get set 
    ${PortStopBits} ${stopBits};  // get set 
    ${PortFlowControl} ${flowControl};  // get set 
};

IConfigurableDevice Properties

baudRate

baudRate: number;
uint baudRate { get; set; }
unsigned baudRate;  // get set 

Baud rate override.

dataBits

dataBits: number;
uint dataBits { get; set; }
unsigned dataBits;  // get set 

Data bits override.

parity

parity: ${PortParity};
${PortParity} parity { get; set; }
${PortParity} parity;  // get set 

Parity override.

stopBits

stopBits: ${PortStopBits};
${PortStopBits} stopBits { get; set; }
${PortStopBits} stopBits;  // get set 

Stop bits override.

flowControl

flowControl: ${PortFlowControl};
${PortFlowControl} flowControl { get; set; }
${PortFlowControl} flowControl;  // get set 

Flow control override.