Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report Error Output #24

Open
BenAlanSouthall opened this issue Aug 10, 2023 · 1 comment
Open

Report Error Output #24

BenAlanSouthall opened this issue Aug 10, 2023 · 1 comment

Comments

@BenAlanSouthall
Copy link

When hidapitester fails to write, read, etc. (-1 returned), it would be good for it to output the error message obtained from hid_error(). even with the -v flag, I just get e.g. "wrote -1 bytes" - and the situations when I have encountered this in my own application using libusb have had different reasons for this failure, so the tool would be much more helpful if it can help quickly try different things and diagnose errors.

@mcuee
Copy link

mcuee commented Sep 29, 2024

Indeed this is good to have.

BTW, hidapi_error() will be implemendted for libusb backend once libusb/hidapi#698 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants