AnsweredAssumed Answered

Creating CDC driver using USB Core (VDK)

Question asked by tcmichals on Jun 1, 2010
Latest reply on Jun 1, 2010 by tcmichals

I'm trying to port our RNDIS driver to the USB VDK Core API and running into a issues, the issue is trying to create an entry for a descriptor that is not an endpoint nor an interface for example...



USB Descriptor

  - Configuration Descriptor

    There are 2 Interfaces

   - Interface Descriptor (1)

      - Call management Descriptor <--- What API do I call to create a descriptor and be able to chain it?

      - Abstract control Descriptor <--- same quesiton as above

     - Class Union descriptor <---same quesiton as above

     - End point Descriptor

   - Interface Descriptor (2)

     - End point descriptor

     - end point descriptor


The main issue is RDNIS has some "informational" descriptors besides general Interface, Endpoint, and configuration. So, I'm trying to figure out how to allocate them and chain them into the object tree like the following APIs...


adi_usb_CreateInterface --- creates the interface

adi_usb_AttachInterface --- chain it into the object tree..


adi_usb_CreateEndPoint-- create the object

adi_usb_AttachEndpoint --


Just create a descriptor and chain it myself?