SerialPort

external interface SerialPort(source)

Properties

Link copied to clipboard
abstract var deviceInstanceId: String?

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

Link copied to clipboard
abstract var displayName: String?

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

Link copied to clipboard
abstract var portId: String

Unique identifier for the port.

Link copied to clipboard
abstract var portName: String

Name of the port.

Link copied to clipboard
abstract var productId: String?

The USB product ID.

Link copied to clipboard
abstract var serialNumber: String?

The USB device serial number.

Link copied to clipboard
abstract var usbDriverName: String?

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

Link copied to clipboard
abstract var vendorId: String?

The USB vendor ID.