Closed fink-at-trmc-dk closed 1 year ago
What I'm specifically is curious about here is why the host asks for string descriptor 238. Any ideas are welcome.... //Fink
Hi @fink-at-trmc-dk,
Descriptor with a special number 0xEE (238) is a Microsoft OS String Descriptor.
So it is absolutely OK that a device doesn't have such descriptor and handles it as you have provided in log (no descriptor -> STALL and proceed further work).
If you would like to learn more about this, you can look at the information here: https://learn.microsoft.com/en-us/windows-hardware/drivers/usbcon/microsoft-defined-usb-descriptors
If you have more questions feel free to ask them.
Regards, RJ
Ok Thanks for that. It did shed some light over the situation :-) BR Fink
Hi, I'm having trouble setting up a custom HID device using the TUSB library and hope that you can help :-) The first part of the problem is that the windows host driver asks for more string descriptors than are defined. There might be something wrong with my descriptors or somewhere else - but I hope you are able to guide me in the right direction.
Sorry about the very long log post but it is quite visible what happens here. I have also attached the eclipse on windows based project.
MCU: ESP32-S3 ESP-IDF: ESP-IDF v5.1-dev-3296-g76433e4cb2
Please let me know if you need more input :-)
BR Fink tusb_hid.zip