Hi,
I use the ESP32S3 serial JTAG/USB for transfering data with an android Smartphone.
In my application, and it is neccessary in Android to ask the user for permission to connect to the USB device.
For this, I call a predefined view calling by : bool permissionGranted = await usbManager.RequestPermissionAsync(driver.Device, this);
In this view, appair the name of the JTAG/serial : USB JTAG/serial debug unit
it is possible to rename "USB JTAG/serial debug unit", in other name on the ESP32S3 chip ?
Thnaks in advance for, your answer.
possible to rename the ESP32S3 USB JTAG/serial debug unit for android ?
-
- Posts: 3
- Joined: Wed Feb 15, 2023 5:49 pm
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: possible to rename the ESP32S3 USB JTAG/serial debug unit for android ?
No, sorry, the USB serial/JTAG unit cannot be renamed. However, the ESP32S3 also has an USB OTG peripheral, switchable to use the same port. That hardware does allow for reconfiguration. (You probably want to look into the TinyUSB examples, I think that has some stuff with custom descriptors.)
-
- Posts: 3
- Joined: Wed Feb 15, 2023 5:49 pm
Re: possible to rename the ESP32S3 USB JTAG/serial debug unit for android ?
Many thanks for your answer.
But,
How to change the USB OTG peripheral in Arduino IDE (or code),
for use Serial not on "USB JTAG/serial debug unit" ?
I don't know the option(s) for change the default USB OTG in Arduino IDE.
I have only enabled the option : USB CDC on boot in Arduino IDE and use Serial.read or Serial.Write
But,
How to change the USB OTG peripheral in Arduino IDE (or code),
for use Serial not on "USB JTAG/serial debug unit" ?
I don't know the option(s) for change the default USB OTG in Arduino IDE.
I have only enabled the option : USB CDC on boot in Arduino IDE and use Serial.read or Serial.Write
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: possible to rename the ESP32S3 USB JTAG/serial debug unit for android ?
Sorry, I don't know enough about Arduino to answer that question.
Who is online
Users browsing this forum: No registered users and 61 guests