SerialPort Object
-
portIdString - Unique identifier for the port. -
portNameString - Name of the port. -
displayNameString - A string suitable for display to the user for describing this device. -
vendorIdString - Optional USB vendor ID. -
productIdString - Optional USB product ID. -
serialNumberString - The USB device serial number. -
usbDriverNameString (optional) - Represents a single serial port on macOS can be enumerated by multiple drivers. -
deviceInstanceIdString (optional) - A stable identifier on Windows that can be used for device permissions.
© GitHub Inc.
Licensed under the MIT license.
https://www.electronjs.org/docs/latest/api/structures/serial-port