Author Topic: What must my application deal with? Setup packet.  (Read 9578 times)

DavidClarke

  • Member
  • ***
  • Posts: 24
What must my application deal with? Setup packet.
« on: May 09, 2019, 08:57:12 am »
Another basic question:

Where does the Setup Packet come from?  Is the HID driver making that or is my application supposed to deal with that?

Now that I have a protocol analyzer working I am seeing things I haven't seen before!

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: What must my application deal with? Setup packet.
« Reply #1 on: May 09, 2019, 03:42:45 pm »
The low-level USB drivers manage the stages of control transfers, including the Setup, Data, and Status stages, in response to requests initiated by the host application, such as HidD_SetFeature and HidD_GetFeature.

DavidClarke

  • Member
  • ***
  • Posts: 24
Re: What must my application deal with? Setup packet.
« Reply #2 on: May 09, 2019, 05:16:43 pm »
OK, I may be reading some of your answers out of order...

Thanks!  I'm sure I will get the hang of this sooner or later!

DavidClarke

  • Member
  • ***
  • Posts: 24
Re: What must my application deal with? Setup packet.
« Reply #3 on: May 09, 2019, 05:22:43 pm »
Success!  Part 1 - I was trying to send a feature report and didn't realize it.