Author Topic: ASF4: USB host function driver - how to access the device descriptor?  (Read 449 times)

0 Members and 1 Guest are viewing this topic.

Offline ubbutTopic starter

  • Regular Contributor
  • *
  • Posts: 100
  • Country: de
Hi,

based on the examples provided by ASF4 I wrote my own compatible USB host function driver which is working fine.


Now, I would like to access the device descriptor from the function driver. I am however not sure how to do this properly.


The "install" function only gets a pointer to the interface descriptor it seems, not the start of the device descriptor.

And by the time this function gets called, the control buffer does not contain the device descriptor anymore


So my questions are:


from a host function driver, how can I access the device descriptor?




Related question:


How can I get the manufacturer and device strings?


thank you
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf