Technical Document #42

Technical Document #42
How do I send a GET_DESCRIPTOR request to my device, using WinDriver?

You can use WinDriver to perform control transfers and send and receive setup packets to/from your device. You can use the control transfers, for example, to send a GET_DESCRIPTOR request to the device.

Please review the USB Control Transfers sections of the WinDriver USB User's Manual for a detailed explanation on how to perform control transfers with WinDriver and a sample of sending a GET_DESCRIPTOR request to the device, both from the DriverWizard and from a WinDriver application. (Note specifically the endian scheme when setting up the packets.)