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.
Hi,
Am reaching out to inquire about the compatibility of TI's DriverLib with servicing custom string descriptors like 0xEE descriptor requests from the operating system.
Upon examining the bulk USB example provided in TI's DriverLib, I encountered a query regarding the custom index string descriptors like integration of "Microsoft OS string descriptors." Unfortunately, I couldn't locate an appropriate placement for these descriptors within the example.
Could you kindly provide insight into whether TI's DriverLib supports the servicing of custom descriptor requests? Additionally, any guidance or documentation would be greatly appreciated.
Hi,
TivaWare USB library does not support MS string descriptor extension. You are free to modify the driverlib. Please refer to this similar post.
Hi,
Thanks for the reply.
The question is not specific to MS string descriptor extension.
How can I assign a index number in the string descriptor table (Example String descriptor Index 0x40, 0x41) ?
Also the descriptor string table only accepts the entires of 16. Why only 16 string descriptors ? Can we extend the number of entries ?
Hi,
As I mentioned, you can modify the USB library to adapt to your requirements.
Also the descriptor string table only accepts the entires of 16. Why only 16 string descriptors ? Can we extend the number of entries ?
I don't understand where the 16 is coming from. Based on the below code, the number of string descriptors is calculated. If you need to extend the number of entries, you can modify the code as I mentioned earlier.
#define NUM_STRING_DESCRIPTORS (sizeof(g_ppui8StringDescriptors) / \
sizeof(uint8_t *))