ESP USB HOST Library Issue With Wireless Keypad

MotoDan
Posts: 3
Joined: Fri Feb 18, 2022 3:41 am

ESP USB HOST Library Issue With Wireless Keypad

Postby MotoDan » Tue Dec 23, 2025 3:25 am

Helo all,

I'm woring in Arduino v2.3. using an ESP32 C3 DevKit with the ESP USB HOST library, specifically for USB Keyboards using the hid_host_example.ino, The example code seems to work with hardwired keyboards, but not with the wireless Keypad I'd like to use in my application. I can see the USB D+/D- activity on my scope and it appears that the Keypad is attempting to communicate to the ESP32, but times out with the following error

HOST: Enqueue URB error: ESP_ERR_INVALID_STATE
USB HOST: EP command error: ESP_ERR_INVALID_STATE

I attempted to track down the error in the library, but was unable to locate the error.

I'm hoping there are some parameters I can change in the library that will allow the Keypad to connect.

Any help would be appreciated.
Thanks!

Who is online

Users browsing this forum: ChatGPT-User and 1 guest