msmidhunms / javahidapi

Automatically exported from code.google.com/p/javahidapi
Other
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 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: