PORTS Forum

Ports and Interfaces => USB => Topic started by: DavidClarke on May 09, 2019, 08:57:12 am

Title: What must my application deal with? Setup packet.
Post by: DavidClarke 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!
Title: Re: What must my application deal with? Setup packet.
Post by: Jan Axelson 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.
Title: Re: What must my application deal with? Setup packet.
Post by: DavidClarke 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!
Title: Re: What must my application deal with? Setup packet.
Post by: DavidClarke on May 09, 2019, 05:22:43 pm
Success!  Part 1 - I was trying to send a feature report and didn't realize it.