mik3y / usb-serial-for-android

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

can support usb composite devices? #444

Closed jiaowoxiaolu closed 2 years ago

jiaowoxiaolu commented 2 years ago

Hi kai-morich Thank you for your contribution to this program,and I wonder if this program can support usb composite devices? I'm using a linux usb composite device, which is composed of RNDIS, ECM and ACM.When I plugged this device into my phone, the phone recognized PID and VID, but there was no driver.I want to know how to write a program to recognize the ACM serial port in this usb composite device and use it normally.

I look forward to your reply.

kai-morich commented 2 years ago

this library supports composite devices. it checks for appropriate interfaces here

jiaowoxiaolu commented 2 years ago

Thank you for your reply.I will give it a try.