Serial Port Monitor - Software Serial Port sniffer, logger & protocol analyzer for Windows
Download Device Monitoring Studio Hide this button

IBridge Interface

This interface consists of methods and properties supported by the Bridge Object.

Declaration

interface IBridge {
    // Properties
    ${firstDevice}: ${IDeviceConfig};
    ${secondDevice}: ${IDeviceConfig};
    ${name}: string;

    // Methods
    ${destroy}(): void;
}
// This interface is not available in managed environment
// This interface is not available in native environment

IBridge Properties

firstDevice

firstDevice: ${IDeviceConfig};
// This property is not available in managed environment
// This property is not available in native environment

Returns the reference to bridge's first device configuration object.

secondDevice

secondDevice: ${IDeviceConfig};
// This property is not available in managed environment
// This property is not available in native environment

Returns the reference to bridge's second device configuration object.

name

name: string;
// This property is not available in managed environment
// This property is not available in native environment

Returns the auto-assigned bridge name.

IBridge Methods

destroy

destroy(): void;
// This method is not available in managed environment
// This method is not available in native environment

Deletes the serial bridge.