SerialPort

external interface SerialPort(source)

Properties

Link copied to clipboard
abstract external var deviceInstanceId: String?

A stable identifier on Windows that can be used for device permissions.

Link copied to clipboard
abstract external var displayName: String?

A string suitable for display to the user for describing this device.

Link copied to clipboard
abstract external var portId: String

Unique identifier for the port.

Link copied to clipboard
abstract external var portName: String

Name of the port.

Link copied to clipboard
abstract external var productId: String?

The USB product ID.

Link copied to clipboard
abstract external var serialNumber: String?

The USB device serial number.

Link copied to clipboard
abstract external var usbDriverName: String?

Represents a single serial port on macOS can be enumerated by multiple drivers.

Link copied to clipboard
abstract external var vendorId: String?

The USB vendor ID.