mik3y / usb-serial-for-android

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.
MIT License
4.83k stars 1.58k forks source link

Cannot open a port at port.open() #434

Closed Suzumushi123 closed 2 years ago

Suzumushi123 commented 2 years ago

Hi, I'm using ESP32 to connect my Android phone. When I connect these devices and try to transit data, it throws an exception that means failng to open a port. The following is what I tried.

  1. I used ProbeTable to resister vendor-id and product-id of ESP32.
  2. I checked the port that I'm tring to open is not null.
  3. I tried the same situation with Arduino Uno, which results in success of opening the port.

Would you give me some hints to solve these issues?

kai-morich commented 2 years ago

please verify that your ESP32 runs software that initializes & uses USB CDC communication