Connect Android device using Virtual COM Port device

Therefore, I need to connect an Android device with this .

The robot runs an API command interpreter on a USB port. Connection to the robot is via a USB cable. The driver converts the USB port connection to the Com port connection.

I have a htc hero with Android 2.4.4 on board. But I can buy a 4.0 tablet if I need to.

I found a tutorial on the Serial library. This library allows you to connect to other Bluetooth devices using virtual serial ports (RFCOMM). I want to do the same, but using a usb connection.

I also found an API to connect, read and write data through these serial ports , but I don’t think I really need it.

I am in the development process, so any help would be appreciated. I am looking for a sample library or code that allows me to use a virtual com port on Android. something like this .

edited by:

Found something here not sure if this will help.

+4
source share

Source: https://habr.com/ru/post/1439627/


All Articles