Search found 6 matches

by raymondshi
Sun Aug 13, 2023 11:58 pm
Forum: ESP-IDF
Topic: ESP32-S3 problem with usb_host_transfer_submit() - ESP_ERR_INVALID_STATE
Replies: 2
Views: 1755

Re: ESP32-S3 problem with usb_host_transfer_submit() - ESP_ERR_INVALID_STATE

Further debug shows that the ESP_ERR_INVALID_STATE error comes from below lines ... //Check that pipe and port are in the correct state to receive URBs HCD_CHECK_FROM_CRIT(pipe->port->state == HCD_PORT_STATE_ENABLED //The pipe's port must be in the correct state && pipe->state == HCD_PIPE_STATE_ACTI...
by raymondshi
Sun Aug 13, 2023 10:23 am
Forum: ESP-IDF
Topic: ESP32-S3 problem with usb_host_transfer_submit() - ESP_ERR_INVALID_STATE
Replies: 2
Views: 1755

ESP32-S3 problem with usb_host_transfer_submit() - ESP_ERR_INVALID_STATE

Hi there, I have a ESP32-S3-USB-OTG dev board working as USB host for an Android phone. I followed the simple client task example in the ESP-IDF version 5.1 USB host API reference guide, and my USB host application is able to open the device, find the host interface and its endpoints, call usb_host_...
by raymondshi
Thu Jun 16, 2022 10:30 pm
Forum: General Discussion
Topic: USB Host Class Driver on ESP32-S3 for Android Open Accessory (AOA)
Replies: 0
Views: 1450

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

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,...
by raymondshi
Thu Jun 16, 2022 12:30 pm
Forum: ESP-IDF
Topic: USB Host Control Request to Start Android Device in Accessory Mode
Replies: 0
Views: 1762

USB Host Control Request to Start Android Device in Accessory Mode

Hi there, I am trying to use the USB Host peripheral on the ESP32-S3 to communicate with an Android device. I am using the usb_host_lib example and managed to get the Android device descriptor info displayed on the terminal. I've got basic communication working. In order to request the Android devic...
by raymondshi
Tue Aug 10, 2021 7:07 am
Forum: General Discussion
Topic: Flash ESP32 programmatically using Java/Android
Replies: 5
Views: 9997

Re: Flash ESP32 programmatically using Java/Android

Hi there, I come across the posts here today, and am also very interested on flashing ESP32 over the serial connection in Android app. From what I read on https://github.com/espressif/esptool/wiki/ESP32-Boot-Mode-Selection, seems like this can be achieved as follows, 1. Android app instructs ESP32 a...
by raymondshi
Fri Jul 09, 2021 3:24 am
Forum: ESP IoT Solution
Topic: Update ESP32 Firmware Over USB Serial From Android App
Replies: 0
Views: 5040

Update ESP32 Firmware Over USB Serial From Android App

Hi there, I am working on an Android app that is able to connect to an ESP32 device with USB OTA. Now I would like to add some support in the Android app to update the ESP32 device with new firmware version. I am just wondering if there is anyone who has done similar thing in the past, and would be ...