This interface is implemented by a local bridge device.
interface IBridgePortDevice extends ${IDevice} {
// Properties
${bridgePort}: number;
${emulateBaudrate}: boolean;
${emulateTxOverflow}: boolean;
${crossoverProbability}: number;
${DTR}: ${DestinationPins};
${DSR}: ${DestinationPins};
${DCD}: ${DestinationPins};
${RTS}: ${DestinationPins};
${CTS}: ${DestinationPins};
${RI}: ${DestinationPins};
// Methods
${restoreDefaultPins}(): void;
}
public interface IBridgePortDevice : ${IDevice}
{
// Properties
uint ${bridgePort} { get; set; }
bool ${emulateBaudrate} { get; set; }
bool ${emulateTxOverflow} { get; set; }
double ${crossoverProbability} { get; set; }
${DestinationPins} ${DTR} { get; set; }
${DestinationPins} ${DSR} { get; set; }
${DestinationPins} ${DCD} { get; set; }
${DestinationPins} ${RTS} { get; set; }
${DestinationPins} ${CTS} { get; set; }
${DestinationPins} ${RI} { get; set; }
// Methods
void ${restoreDefaultPins}();
}
struct IBridgePortDevice : IDevice
{
// Properties
unsigned ${bridgePort}; // get set
VARIANT_BOOL ${emulateBaudrate}; // get set
VARIANT_BOOL ${emulateTxOverflow}; // get set
double ${crossoverProbability}; // get set
${DestinationPins} ${DTR}; // get set
${DestinationPins} ${DSR}; // get set
${DestinationPins} ${DCD}; // get set
${DestinationPins} ${RTS}; // get set
${DestinationPins} ${CTS}; // get set
${DestinationPins} ${RI}; // get set
// Methods
HRESULT ${restoreDefaultPins}();
};
bridgePort: number;
uint bridgePort { get; set; }
unsigned bridgePort; // get set
Port number of other side of the local bridge.
emulateBaudrate: boolean;
bool emulateBaudrate { get; set; }
VARIANT_BOOL emulateBaudrate; // get set
Turn emulation of baud rate on or off.
By default, Virtual Serial Port Tools does not emulate baud rate.
emulateTxOverflow: boolean;
bool emulateTxOverflow { get; set; }
VARIANT_BOOL emulateTxOverflow; // get set
Turn emulation of output buffer overflow on or off.
By default, Virtual Serial Port Tools does not emulate output buffer overflow.
crossoverProbability: number;
double crossoverProbability { get; set; }
double crossoverProbability; // get set
Single bit crossover probability. May be a floating-point number between 0 and 0.5 (inclusive). Value 0 disables line noise emulation.
By default, Virtual Serial Port Tools does not emulate line noise. Change the value of this property to enable line noise emulation.
DTR: ${DestinationPins};
${DestinationPins} DTR { get; set; }
${DestinationPins} DTR; // get set
Allows configuration of custom pin-out for a local DTR line.
DSR: ${DestinationPins};
${DestinationPins} DSR { get; set; }
${DestinationPins} DSR; // get set
Allows configuration of custom pin-out for a local DSR line.
DCD: ${DestinationPins};
${DestinationPins} DCD { get; set; }
${DestinationPins} DCD; // get set
Allows configuration of custom pin-out for a local DCD line.
RTS: ${DestinationPins};
${DestinationPins} RTS { get; set; }
${DestinationPins} RTS; // get set
Allows configuration of custom pin-out for a local RTS line.
CTS: ${DestinationPins};
${DestinationPins} CTS { get; set; }
${DestinationPins} CTS; // get set
Allows configuration of custom pin-out for a local CTS line.
RI: ${DestinationPins};
${DestinationPins} RI { get; set; }
${DestinationPins} RI; // get set
Allows configuration of custom pin-out for a local RI line.
restoreDefaultPins(): void;
void restoreDefaultPins();
HRESULT restoreDefaultPins();
This method restores default pin-out assignment.