mik3y / usb-serial-for-android

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USB for debug and for device communication

mpiffari opened this issue · comments

Hello folks and @kai-morich ,
A simple question: do you know a way to use USB connection both for debug and for connection with an external USB device?

Hi @Jai-GAY,
is this the only solution available? I've tried this in the past weeks, and it seems so slow (with a Xamarin forms app).

Someone has implemented an hw solution (maybe with particular cable connection)?

Someone has implemented an hw solution (maybe with particular cable connection)?

Don't think so. Power + video + data, yes . Power + data (host) + data (slave), I haven't seen one yet.

so slow (with a Xamarin forms app)

Then it could be your IDE issue not Wifi debugging. you should feedback to the IDE developer. Reasonable for Android Studio.

With external USB device the port is switched to host mode with OTG adapter. When debugging it is in slave mode with regular USB cable. I really doubt that this can be mixed.

@kai-morich thanks for your hints.
So, how did you approach the problem? Did you use wi-fi debugging?

Yes. Use Wi-Fi debugging