poxyran
Member
Hi All,
taking into account the advices that @PaulStoffregen gave me in my first post, I'll try to explain in details what I'm trying to do.
Using a Teensy ++ 2.0 I'm trying to write a program to reach a specific code in a Windows Driver. Actually, I'm starting with this code: https://github.com/avivgr/teensy_uvc
This specific code is reached when the USB device is a composite device with an Interface Association Descriptor (IAD) (http://msdn.microsoft.com/en-us/library/windows/hardware/ff540054(v=vs.85).aspx) and an Extended Configuration Descriptor (ECD) (http://www.google.com/patents/US7093031).
The code I pointed is "emulating" a MS LifeCam and has a IAD but it doesn't have an ECD.
I don't know how to start adding this new descriptor to the existing code (if is possible) so that is the first question. I assume you have to define a struct with the ECD header and then the specific device config but then what? Is this ECD going to be after the default config descriptor? Do I need to add code to process that descriptor? where? which are the steps to process that descriptor?. I read that an OS String descriptor (OSSD) has to be processed together with the ECD, where this OSSD has to be located?.
To be honest, I'm a little bit lost. I'm not a regular user of Teensy, I just use it for specific tasks and that's the reason of my post
I think I gave all the necessary information for you to understand what I'm trying to do but if you need more info just ask me.
Thanks in advance.
taking into account the advices that @PaulStoffregen gave me in my first post, I'll try to explain in details what I'm trying to do.
Using a Teensy ++ 2.0 I'm trying to write a program to reach a specific code in a Windows Driver. Actually, I'm starting with this code: https://github.com/avivgr/teensy_uvc
This specific code is reached when the USB device is a composite device with an Interface Association Descriptor (IAD) (http://msdn.microsoft.com/en-us/library/windows/hardware/ff540054(v=vs.85).aspx) and an Extended Configuration Descriptor (ECD) (http://www.google.com/patents/US7093031).
The code I pointed is "emulating" a MS LifeCam and has a IAD but it doesn't have an ECD.
I don't know how to start adding this new descriptor to the existing code (if is possible) so that is the first question. I assume you have to define a struct with the ECD header and then the specific device config but then what? Is this ECD going to be after the default config descriptor? Do I need to add code to process that descriptor? where? which are the steps to process that descriptor?. I read that an OS String descriptor (OSSD) has to be processed together with the ECD, where this OSSD has to be located?.
To be honest, I'm a little bit lost. I'm not a regular user of Teensy, I just use it for specific tasks and that's the reason of my post
I think I gave all the necessary information for you to understand what I'm trying to do but if you need more info just ask me.
Thanks in advance.