UsbDevice class
UsbDevice holds the USB device information
This is used to determine which Usb Device to open.
Constructors
- UsbDevice(int vid, int pid, String productName, String manufacturerName, int deviceId, String serial)
Properties
- deviceId → int
-
The device id is unique to this Usb Device until it is unplugged.
when replugged this ID will be different.
final
- manufacturerName → String
-
final
- pid → int
-
Product Id
final
- productName → String
-
final
- serial → String
-
The Serial number from the USB device.
final
- vid → int
-
Vendor Id
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
create(
[String type = "", int iface = -1 ]) → Future< UsbPort> - Creates a UsbPort from the UsbDevice. [...]
-
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited