USB Host Class Driver on ESP32-S3 for Android Open Accessory (AOA)

raymondshi
Posts: 6
Joined: Fri Jul 09, 2021 2:46 am

USB Host Class Driver on ESP32-S3 for Android Open Accessory (AOA)

Postby raymondshi » Thu Jun 16, 2022 10:30 pm

Hi there,

I am looking to run the usb-host-lib example on an ESP32-S3, to connect to an Android device which should run in Accessory mode.

I am trying to implement a class driver for the Android Open Accessory (AOA) in the usb-host-lib, that will send required control requests to the Android device, e.g.,

[Codebox]
requestType: USB_DIR_OUT | USB_TYPE_VENDOR
request: 52
value: 0
index: string ID
data zero terminated UTF8 string sent from accessory to device
[/Codebox]

As I am new to the usb host library, can someone please shed some lights or share some code snippets on how to implement the control transfer using the new usb host library API.

Thanks
Raymond

Who is online

Users browsing this forum: No registered users and 120 guests