HID class
Wrap around the hid_device pointer.
Properties
Methods
-
close(
) → void -
getError(
) → String -
getFeatureReport(
int index, {dynamic buffLen = 1024}) → Future< Uint8List?> -
getIndexedString(
int index, {int max = 256}) → Future< String?> -
getManufacturerString(
{int max = 256}) → Future< String?> -
getProductString(
{int max = 256}) → Future< String?> -
getSerialNumberString(
{int max = 256}) → Future< String?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → int -
call
hid_open
to open the specified device. -
read(
{dynamic len = 1024, dynamic timeout = 0}) → Future< Uint8List?> -
sendFeatureReport(
Uint8List data) → Future< int> -
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List data) → Future< int>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited