We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I have a vendor defined hid device with Usage Page: 0xFF00 and Usage: 0x01. I can read it through CreateFile, ReadFile function on Windows XP. However, the data rate (500 msec after 2 packets received) is far lower than the MCU transmission rate (15-byte/packet in 5ms).
Could anyone give me a hint on this situation? Thanks a lot !!!!
Danny
Thanks for the detailed explanation on the report descriptor!
As you said the "ReadFile" will wait until the it get the input report. Yes, it is true. Those 500ms delay time is mostly on running "ReadFile" function. Does Bulk and Interrupt Transfer help this situation because I findthat USBlyze could read those data without 500ms delay. Or is there any tricky thing to deal with "ReadFile" function? Or It is the limitation set up by Windows?
Thanks!
Just delete WaitForSingleObject(). Maybe, it makes the trouble.
Tsuneo