This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Composite USB Bulk device with specific Class, Subclass and Protocol values

I am using the USBDBulkCompositeInit() interface to create a composite entry for which I would like to specify the class, subclass and protocol fields in the interface descriptor. But I have not found an API to accomplish this. After the call to USBDBulkCompositeInit() I have attempted to modify the descriptors contained in tBulkInstance structure at sPrivateData->sDevInfo.ppsConfigDescriptors but I am not seeing the values I expect sent back in the GET_DESCRIPTOR request from the host. What is the appropriate mechanism to specify these values while using the usb bulk composite interface?

  • Hello Kashif,

    Did you recompile the usblib after making the changes and use the new usblib.lib instead of the one that comes with TivaWare?

    Regards
    Amit
  • No, I am hoping to avoid introducing new dependencies in our project. I am usingt the existing version of usblib.lib and wish to simply modify the class, subclass and protocol values returned in the interface descriptor of the composite bulk interface with values I specify myself. How can this be done?
  • Hello Kashif,

    The usblib performs handling of the device based on the device class. It is not possible to pass any value to the fields w/o having the suitable composite drivers updated.

    Regards
    Amit