Members
(inner, constant) DeviceConnectivityStatus
Properties:
Name | Type | Description |
---|---|---|
Connected |
1 |
|
Disconnected |
2 |
(inner, constant) DeviceOperationalStatus
Properties:
Name | Type | Description |
---|---|---|
Operational |
1 |
|
Unknown |
2 |
|
Error |
4 |
|
Inactive |
8 |
Type Definitions
Descriptor :Object
Properties:
Name | Type | Description |
---|---|---|
vendorId |
Number |
USB Vendor ID |
productId |
Number |
USB Product ID |
DeviceInfo :Object
Properties:
Name | Type | Description |
---|---|---|
status |
Status |
Information about the status of this device. |
driverVersion |
String |
The version of the driver |
device |
USBDeviceInfo |
The device info from the USB API |
manufacturer |
String |
The manufacturer name |
model |
String |
The model name |
currentFirmware |
String |
The current firmware version |
requiresSupportedFirmware |
Boolean |
If this driver requires the peripheral to have a specific firmware version |
supportedFirmwares |
Array.<String> |
Array of supported firmware versions |
supportedDescriptors |
Array.<module:StandardDriverInterface~Descriptor> |
List of support device vendorId, productId pairs. |
Status :Object
Properties:
Name | Type | Description |
---|---|---|
connectivityStatus |
DeviceConnectivityStatus | |
operationalStatus |
DeviceOperationalStatus |
USBDeviceInfo :Object
Properties:
Name | Type | Description |
---|---|---|
device |
Number |
USB Handle ID |
vendorId |
Number |
USB Vendor ID |
productId |
Number |
USB Product ID |
version |
Number |
USB BCD Device |
productName |
String |
Product Name |
manufacturerName |
String |
Manufacturer Name |
serialNumber |
String |
Serial No |