You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've used hidapi in Mac and it works great!
However, when I try it in WinXP, the dev.write operation fails with a "The parameter is incorrect" message.
(it enumerates the devices correctly, it opens my device correctly, but dev.write fails)
with a "The parameter is incorrect" message.
(it enumerates the devices correctly, it opens my device correctly, but dev.write fails)
The report number at the beginning is wrong. Make sure the first byte is
the report number. There are cases where it will appear to work on Mac
if you don't do this, but it's really just a quirk in the way it has to
be implemented. Experiment with the test GUI until you get it right.
You are right; my application didn't send the right report, but it was working somehow in mac.
Now that the application is corrected, it works both in mac and win.
Hello,
I've used hidapi in Mac and it works great!
However, when I try it in WinXP, the dev.write operation fails with a "The parameter is incorrect" message.
(it enumerates the devices correctly, it opens my device correctly, but dev.write fails)
I've compiled it with the free version of visualstudio:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express
and also with MinGW.
Any idea?
What can I look at?
Regards,
David
The text was updated successfully, but these errors were encountered: