Open Collective
来源:Electron
浏览 279
扫码
分享
2023-02-14 21:56:46
USBDevice Object
deviceId
string - 设备唯一标识符vendorId
Integer - USB 供应商 IDproductId
Integer - USB 产品 IDproductName
string (optional) - Name of the device.serialNumber
string (可选) - USB 设备序列号manufacturerName
string (optional) - The manufacturer name of the device.usbVersionMajor
Integer - The USB protocol major version supported by the deviceusbVersionMinor
Integer - The USB protocol minor version supported by the deviceusbVersionSubminor
Integer - The USB protocol subminor version supported by the devicedeviceClass
Integer - The device class for the communication interface supported by the devicedeviceSubclass
Integer - The device subclass for the communication interface supported by the devicedeviceProtocol
Integer - The device protocol for the communication interface supported by the devicedeviceVersionMajor
Integer - The major version number of the device as defined by the device manufacturer.deviceVersionMinor
Integer - The minor version number of the device as defined by the device manufacturer.deviceVersionSubminor
Integer - The subminor version number of the device as defined by the device manufacturer.