You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a WebUSB web-page. It all works if I use the standard ESP32S3 Dev Module out of the box.
However, if I try to customize the productName and manufacturerName of my ESP32S3 module, then the CLAIM INTERFACE of my web-application does no longer work.
Inside my Web-application (i.e. not so important whtat it does), the interace-claim is important in order to send or receive cmds to or from the ESP32 module.
Normally the interface-Nr is equal to 1 for my ESP32S3 Dev Module. But as soon as I mutate prod- and manuf-Names, then my Web-Application can't claim the interface no more.
await usbDevice.claimInterface(pairedDevice, x); // normally x=1 ....but not if I mutate prod- and manuf-Names...
I tried x=0....100
All with failure.....
I run this Arduino code (see Sketch below) to customize my productionName and manufacturerName
Any idea how to get the CLAIM INTERFACE running again? Is there more USB cmds that I can apply to maybe define the interface ?
Changing VID, PID, ProductName and MnufacturerName is recognized by the HOST Operating System?
Can you see those ids in the USB devices list (lsusb or some other command/GUI)?
Yes, it shows the new productName and is recognized by webUSB.
However, after running above setup, for programming with the ArduinoIDE I need to hardware-reset the ESP32S3 since the port is no longer recognized otherwise... (The HW-reset is done by holding IO0 to GND while connecting to USB and then release IO0 again...)
So in short, other than the inconvenience of needing to hw-reset again and again, the above code works.
However, I have another problem as trying to describe:
The claimInterface is no longer working as it was before. i.e. if I run an ESP32S3 out of the box (i.e. without the above setup but as delivered), the claimInterface works. If I apply the above code, it no longer can find any interfaces. Why ???
Is there a better way to change VID, PID, ProductName and MnufacturerName to keep claimInterface working ?
Board
ESP32S3 Dev Module
Device Description
plain module on breadboard
Hardware Configuration
no special HW configuration
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
macOS 15.1
Flash frequency
80 Mhz
PSRAM enabled
yes
Upload speed
115200
Description
I am running a WebUSB web-page. It all works if I use the standard
ESP32S3 Dev Module
out of the box.However, if I try to customize the
productName
andmanufacturerName
of my ESP32S3 module, then the CLAIM INTERFACE of my web-application does no longer work.Inside my Web-application (i.e. not so important whtat it does), the interace-claim is important in order to send or receive cmds to or from the ESP32 module.
Normally the interface-Nr is equal to 1 for my ESP32S3 Dev Module. But as soon as I mutate prod- and manuf-Names, then my Web-Application can't claim the interface no more.
I tried x=0....100
All with failure.....
I run this Arduino code (see Sketch below) to customize my productionName and manufacturerName
Any idea how to get the CLAIM INTERFACE running again? Is there more USB cmds that I can apply to maybe define the interface ?
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: