-
Notifications
You must be signed in to change notification settings - Fork 72
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
hidDataReceived callback never returns more than 64 bytes #159
Comments
Example code:
|
Sample logs from unmodified code:
|
Changing 64 to 400 in the following line:
Renders these logs:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the problem
It seems like hidDataReceived never returns more than 64 bytes of data.
I'm working with a magnetic swipe reader that delivers 337 bytes of data and I only get 64 bytes.
I have downloaded the code and changed readAll to use a buffer of 400 bytes instead and then I get all the data.
You may find that this issue has arisen before, so here is a checklist of useful links to provide assistance and potentially avoid duplicate issues:
Please provide a clear and concise description of what the problem is below:
Platform
To Reproduce
Steps to reproduce the behavior:
Connect a a hidDevice with a interrupt report >64bytes
In the hidDataReceived(final HidServicesEvent event) callback you will never get more than 64 bytes
Expected behavior
Getting all the data when using hidDataReceived call back
The text was updated successfully, but these errors were encountered: