-
Notifications
You must be signed in to change notification settings - Fork 75
Description
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:
- I have read the Troubleshooting Guide and this is not covered
- I have done a quick search of previous issues and this needs addressing
Please provide a clear and concise description of what the problem is below:
Platform
- linux-x86-64
- Ubuntu 22.04
- hid4java 0.8.0
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