Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write function not working on MAC OS X 10.7.5 #57

Open
GoogleCodeExporter opened this issue Mar 28, 2015 · 1 comment
Open

Write function not working on MAC OS X 10.7.5 #57

GoogleCodeExporter opened this issue Mar 28, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Establish connection to HID device
2. Write data to HID Device

What is the expected output? What do you see instead?
Data should be written successfully to device, but instead an IOException 
occures in the Native method write of HIDDevive. Here is the actual exeption

java.io.IOException: 
    at com.codeminders.hidapi.HIDDevice.write(Native Method)

What version of the product are you using? On what operating system?
hidapi-1.1.jar on OS X 10.7.5

Please provide any additional information below.
I have no issues reading data from the device, only the write method that 
throws an exception. I've also tested the same java application on a win7 where 
it could write without throwing an exception.

Original issue reported on code.google.com by [email protected] on 17 Oct 2013 at 12:52

@GoogleCodeExporter
Copy link
Author

Found the Issue!
I was not setting the correct buffer size, forgot that the report number had to 
be included...

Original comment by [email protected] on 17 Oct 2013 at 4:19

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant