Files
electron/docs/api/structures/serial-port.md
trop[bot] 580c04e69f docs: fix SerialPort typing (#38582)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
2023-06-05 10:19:16 +02:00

641 B

SerialPort Object

  • portId string - Unique identifier for the port.
  • portName string - Name of the port.
  • displayName string (optional) - A string suitable for display to the user for describing this device.
  • vendorId string (optional) - The USB vendor ID.
  • productId string (optional) - The USB product ID.
  • serialNumber string (optional) - The USB device serial number.
  • usbDriverName string (optional) macOS - Represents a single serial port on macOS can be enumerated by multiple drivers.
  • deviceInstanceId string (optional) Windows - A stable identifier on Windows that can be used for device permissions.