Could you please provide an API with methods that match the methods in the hidapi. I think it will be very helpful to provide both high level API and also low level API. And even the current high level can be implemented with the new low level API.
For example, please add new class LowLevelHidapi with methods such as:
List < HidDeviceInfo > enumerate(int vendorId, int productId);
int write(Pointer<hid_device> dev, Uint8List data);
Uint8List? readTimeout(Pointer<hid_device> dev, int length, int milliseconds); // return null if error, empty Uint8List if no data
Thanks and I hope this will be supported soon.
Could you please provide an API with methods that match the methods in the hidapi. I think it will be very helpful to provide both high level API and also low level API. And even the current high level can be implemented with the new low level API.
For example, please add new class LowLevelHidapi with methods such as:
List < HidDeviceInfo > enumerate(int vendorId, int productId);
int write(Pointer<hid_device> dev, Uint8List data);
Uint8List? readTimeout(Pointer<hid_device> dev, int length, int milliseconds); // return null if error, empty Uint8List if no data
Thanks and I hope this will be supported soon.