codeminders / javahidapi

Java API for HID (Human Interface) Devices
Other
10 stars 7 forks source link

Data is being received out of order, writer buffer freezers #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

When I call:

byte[] buf = new byte[65];

.sendFeatureReport(buf); //this return results

.write(buf); //this no works, freezes

//my return

dev.enableBlocking();

//while waiting return
int n = dev.read(buf);

//the result is out of order

The test code is attached.

I appreciate any help, thank you so much.

Original issue reported on code.google.com by mcost...@gmail.com on 29 Jan 2013 at 12:01

Attachments: