USBDevice 对象
configurationObject (optional) - A USBConfiguration object containing information about the currently selected configuration of a USB device.configurationValueInteger - the configuration value of this configuration.configurationNamestring - the name provided by the device to describe this configuration.interfacesObject[] - An array of USBInterface objects containing information about an interface provided by the USB device.interfaceNumberInteger - the interface number of this interface.alternateObject - the currently selected alternative configuration of this interface.alternateSettingInteger - the alternate setting number of this interface.interfaceClassInteger - the class of this interface. See USB.org for class code descriptions.interfaceSubclassInteger - the subclass of this interface.interfaceProtocolInteger - the protocol supported by this interface.interfaceNamestring (optional) - the name of the interface, if one is provided by the device.endpointsObject[] - an array containing instances of the USBEndpoint interface describing each of the endpoints that are part of this interface.endpointNumberInteger - this endpoint's "endpoint number" which is a value from 1 to 15.directionstring - the direction in which this endpoint transfers data - can be either 'in' or 'out'.typestring - the type of this endpoint - can be either 'bulk', 'interrupt', or 'isochronous'.packetSizeInteger - the size of the packets that data sent through this endpoint will be divided into.
alternatesObject[] - an array containing instances of the USBAlternateInterface interface describing each of the alternative configurations possible for this interface.
configurationsObject[] - An array of USBConfiguration interfaces for controlling a paired USB device.deviceClassInteger - 设备支持的通信接口的设备类.deviceIdstring - 设备唯一标识符deviceProtocol整数 - 设备支持的通信接口的设备协议.deviceSubclassInteger - 设备支持的通信接口的设备子类.deviceVersionMajorInteger - 设备制造商定义的设备主版本deviceVersionMinorInteger - 设备制造商定义的次要版本deviceVersionSubminorInteger - 设备制造商定义的设备 subminor 版本manufacturerNamestring(可选) - 设备的制造商名称。productIdInteger - USB 产品 IDproductNamestring(可选)- 设备名称。serialNumberstring (可选) - USB 设备序列号usbVersionMajorInteger - The USB protocol major version supported by the device.usbVersionMinorInteger - 设备支持的 USB 协议次要版本.usbVersionSubminorInteger - The USB protocol subminor version supported by the device.vendorIdInteger - USB 供应商 ID