Author Topic: HID endpoints  (Read 13416 times)

kender

  • Member
  • ***
  • Posts: 1
HID endpoints
« on: May 11, 2011, 05:16:29 pm »
Folks,

In GenericHID application you can specify VID and PID, but it doesn’t let you specify endpoints.  Do all HID devices have predetermined set of endpoints?  I’m curious about this, because I’m designing an instrument with low data rate, and it could work as an HID class.

Any suggestion, insight or reference is really appreciated!

Cheers,
- Nick

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: HID endpoints
« Reply #1 on: May 11, 2011, 05:37:36 pm »
The application doesn't have to know or care what endpoints the device uses. The lower-level software handles that from the information in the descriptors returned during enumeration. In fact, WriteFile may use a control or interrupt transfer depending on whether the HID has an interrupt OUT endpoint.

Jan