SerialPort Object

    • String - Unique identifier for the port.
    • portName String - Name of the port.
    • vendorId String - Optional USB vendor ID.
    • String - Optional USB product ID.
    • String (optional) - Represents a single serial port on macOS can be enumerated by multiple drivers.
    • deviceInstanceId String (optional) - A stable identifier on Windows that can be used for device permissions.