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.