2

Starting with Android 3.1, Android devices have limited host support. I have reviewed android.hardware.usb, and I have found very limited references to USB CDC support. I have a self-powered peripheral USB device, that communicates using USB CDC serial. I would like to connect it to an Android phone operating as a host, and read and write to it.

I would prefer to interface using Gingerbread, but could live with Ice Cream sandwich. I have seen posts that discuss this using custom ROMs, and rooted phones, but that is not an option for me.

Is USB CDC serial supported in Android 3.1 or 4.0? If so, are there any good code examples?

Thanks

4

1 回答 1

0

恐怕你是对的,Android API 没有附带 CDC 的类驱动程序。

看看这两个库:

于 2015-01-05T20:32:23.630 回答