I solved the problem less professionally by modifying liblary usbtinyusb catching the case responsilbe for setup request in class usbd.c
case DCD_EVENT_SETUP_RECEIVED:
TU_LOG_PTR(USBD_DBG, &event.setup_received);
TU_LOG(USBD_DBG, "\r\n");
// Mark as connected after receiving the 1st setup ...
Search found 2 matches
- Thu Sep 19, 2024 11:39 am
- Forum: ESP-IDF
- Topic: Handling Non-Standard USB Setup Requests on ESP32-S3 with TinyUSB HID
- Replies: 3
- Views: 3703
- Sun Sep 15, 2024 3:07 pm
- Forum: ESP-IDF
- Topic: Handling Non-Standard USB Setup Requests on ESP32-S3 with TinyUSB HID
- Replies: 3
- Views: 3703
Handling Non-Standard USB Setup Requests on ESP32-S3 with TinyUSB HID
Hi,
I’m developing a project using the ESP32-S3 with TinyUSB to implement a USB HID interface. While the basic HID communication works perfectly, I’m having trouble handling non-standard USB setup requests (custom bRequest values) sent from the host. Specifically, I want to process and respond to ...
I’m developing a project using the ESP32-S3 with TinyUSB to implement a USB HID interface. While the basic HID communication works perfectly, I’m having trouble handling non-standard USB setup requests (custom bRequest values) sent from the host. Specifically, I want to process and respond to ...