๐ข This repository has been deprecapted. Codes has been migrated to an Arduino library at ESP32-USB-Host-HID-Bridge.
An experimental project to test USB-OTG Host stack on Espressif ESP32 S2/S3 module. This project is based on sample code on ESP-IDF Programming Guide for ESP32-S3. Only tested to build on PlatformIO with platform:[email protected] on ESP32-S2
- Create tasks like the doc said to intecept as demon and driver tasks
- Fetch endpoints from interfaces, pick one EP-IN to interrupt for in-streaming later
- Get HID Report Descriptor, print it to serial. No parser implemented, need some manual post-processing
- Repeatly, request report packet from EP-IN, print (some of) report packet bytes in binary format to monitoring port
Note: HID Report Descriptor is not parsed due to calibration is needed and will do the job in real life application.
MIT