This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Reading from a Vendor Defined HID device

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

Parents
  • 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!

    Danny

Reply
  • 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!

    Danny

Children