sandervs / javahidapi

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

Trouble using the writing after using it once #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect to device through the open by id command
2. Write to device and read
3. Then after reading send the exact same command to write

What is the expected output? What do you see instead?
I assume something would come back since I write a buffer to it. The first time 
I use the write command it works and I read the data coming back. Next time I 
use the exact same command it doesn't write anything and since it doesn't write 
anything it doesn't return anything to read. I don't know what I need to do 
since it works the first time and I use the exact same call and it doesn't do 
anything. 

What version of the product are you using? On what operating system?
I am using a Mac

Please provide any additional information below.

Original issue reported on code.google.com by shumper...@gmail.com on 6 Oct 2013 at 6:13