Click here to Skip to main content
15,943,085 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a usb hid device under development.
When I send a report with WriteFile() (Win32) only every other report is received. WriteFile returns report len + 1 in the lpNumberOfBytesWritten parameter, which is correct (+1 for the report id, which I set to zero).
I am 99% sure its not a device issue.

Any ideas why only every other report gets through?

[edit]
The device has an interupt out end point, so this end point in being used, not ep0.
Posted
Updated 16-Aug-12 3:56am
v3

Can really tell unless you show us some code. Perhaps youll find something useful in these articles:

http://www.developerfusion.com/article/84338/making-usb-c-friendly/[^]
http://www.usbhidnetclass.org/[^]

Good luck :)
 
Share this answer
 
Thanks Kenneth, I am having second thoughts about it not being the device.
Snoopy shows the packets going out.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900