SerialPort オブジェクト
- portId文字列 - ポートの一意の識別子。
- portName文字列 - ポートの名前。
- displayName文字列 (オプション) - このデバイスを説明するためにユーザーに表示するのに適した文字列。
- vendorId文字列 (オプション) - USBベンダーID。
- productId文字列 (オプション) - USB製品ID。
- serialNumber文字列 (オプション) - USBデバイスのシリアル番号。
- usbDriverName文字列 (オプション) macOS - macOS上の単一のシリアルポートは、複数のドライバによって列挙される場合があります。
- deviceInstanceId文字列 (オプション) Windows - デバイスのパーミッションに使用できるWindows上の安定した識別子。