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 reply

    The HID device is sending out packet every 5 ms. It is proved by USBlyze. Although PC receive with low data rate, NO missing packet is found. I can read those packet with continuous frame number. Therefore i think that the hardware would be ok.

    Then I looked into PC side, i found that it took 500 ms to run "ReadFile" function. I have no idea why it happens. Could you give me some hints? Also, how do i know if the hardware support "HidD_GetInputreport" function?

    Thanks

    Danny

Reply
  • Thanks for the reply

    The HID device is sending out packet every 5 ms. It is proved by USBlyze. Although PC receive with low data rate, NO missing packet is found. I can read those packet with continuous frame number. Therefore i think that the hardware would be ok.

    Then I looked into PC side, i found that it took 500 ms to run "ReadFile" function. I have no idea why it happens. Could you give me some hints? Also, how do i know if the hardware support "HidD_GetInputreport" function?

    Thanks

    Danny

Children
More questions in this forum