Documentation
    Preparing search index...

    Interface MockSerialPort

    One seeded serial port the mock chooser can pick.

    const port: MockSerialPort = { usbVendorId: 0x2341, usbProductId: 0x0043, displayName: 'Arduino Uno' };
    
    interface MockSerialPort {
        displayName: string;
        usbProductId: number;
        usbVendorId: number;
    }
    Index

    Properties

    displayName: string

    Human-readable name reported in SerialPortInfo.displayName.

    usbProductId: number

    USB product id (unsigned).

    usbVendorId: number

    USB vendor id (unsigned).