eclipse-threadx/usbx

winsb suppport for usbx device

mendez23 opened this issue · 2 comments

Hello,

usbx device with vendor-specific interface can be managed from Windows via WinUSB generic driver and this driver gets loaded if the usbx device returns a string descriptor at index 0xEE. Is there a way to specify this in usbx? if not, which source file in usbx can be enhanced to add this functionality that the project requires?

Thank you!

String descriptor format and example can be found here: https://github.com/azure-rtos/usbx/blob/7c928b43db68b72970b3effd5a2582eb5a6869c7/samples/demo_usbx.c#L87C1-L110C1

Documentation is here:
https://learn.microsoft.com/en-us/azure/rtos/usbx/usbx-device-stack-3#definition-of-the-strings-of-the-device-framework

To support string index at 0xEE you can add a new entry in string framework.

@xiaocq2001 Thank you!