Communicating with serial USB device over Android

后端 未结 3 485
时光取名叫无心
时光取名叫无心 2020-12-01 04:01

I have one custom made device for measuring current. This device can be connected to PC and communication is done over USB. It is based on FTDI chip. I have application writ

3条回答
  •  情书的邮戳
    2020-12-01 04:12

    I think there's currently only one properly maintained library for serial USB communication and it's felHR85/UsbSerial. It supports several USB chips including FTDI (see Devices Supported).

    Unfortunately mik3y/usb-serial-for-android seems to be dead.

    And no, you don't need to root your device for connecting to and communicating with a USB device.

    EDIT: We have a maintained fork of mik3y's library. See kai-morich/usb-serial-for-android

    EDIT2: It seems that all of these libraries are maintained again, mik3y joined forces with kai-morich and they are working together.

提交回复
热议问题