Answer the question
In order to leave comments, you need to log in
Programming USB Devices for Android
Good evening! Please tell me in what question, there is a device that currently works through a COM port (HART protocol), you need to change the COM port to USB and then write a program that will work with this device on Android tablets, if anyone has any Any experience in writing programs for USB devices under Android share your experience or any other information.
Answer the question
In order to leave comments, you need to log in
Well, it's not Android that makes the USB, but the Linux kernel that runs in it. If it has an appropriate driver for that USB serial port (FTDI? TUSB3410? PL2303?), it will work and be seen as a normal char device, some /dev/ttyUSB0. Open it as a file and read and write as much as you like. If there is no driver, then everything is more difficult, you will need to port / write, rebuild this kernel, reflash the tablet ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question