Ir para o conteúdo principal

SerialPort Object

  • 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.