Skip to content

Support a way to access low level hidapi methods #7

@minhnn-mvn

Description

@minhnn-mvn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions