gary-rowe / hid4java

A cross-platform Java Native Access (JNA) wrapper for the libusb/hidapi library. Works out of the box on Windows/Mac/Linux.
MIT License
229 stars 71 forks source link

Possible incorrect HID packet structure on Windows #13

Closed gary-rowe closed 9 years ago

gary-rowe commented 9 years ago

Getting reports of failures on Windows. See MultiBit HD Issue #379. It could be due to a HID packet misalignment.

Metin-Ljapo commented 9 years ago

hi I had a problem when I tried to build for win 64 bit, the problem was that resource folder is named win32-x86-64 but it was looking for the library under win32-amd64

gary-rowe commented 9 years ago

Thanks for the update. I'll add an issue to put the win64 library under that directory for the 0.3.0 release. So many architecture variants to list...

gary-rowe commented 9 years ago

Verified that "The parameter is incorrect" message is removed when the report ID of 0x00 is provided with a change to the length of the report in HidApi.

gary-rowe commented 9 years ago

Verified that this modification works across all platforms.

Closing.