2020-09-28 16:22:03 +00:00
|
|
|
# SerialPort Object
|
|
|
|
|
2021-11-16 04:13:18 +00:00
|
|
|
* `portId` string - Unique identifier for the port.
|
|
|
|
* `portName` string - Name of the port.
|
|
|
|
* `displayName` string - A string suitable for display to the user for describing this device.
|
|
|
|
* `vendorId` string - Optional USB vendor ID.
|
|
|
|
* `productId` string - Optional USB product ID.
|
|
|
|
* `serialNumber` string - The USB device serial number.
|
|
|
|
* `usbDriverName` 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.
|