Hello,
I am working with some people that have made an app in QT that communicates with a device through serial port (they look for tty files in /dev/). Their software works fine on a PC with linux. They want to port it on a tablet, the only problem they seem to have is the serial interface. Since most tablets don't have RS232 on them .. they want to use USB communication. After several days of tests the only way I could imagine things working is this : A service written in java works with the USB host (I have this working by now) and “translates” it to another protocol that QT apps can handle. For some reason android, when given a CDC device, doesn’t create a tty file in /dev/ and I found out QT doesn't handle USB host yet.
I need some advice on what should my service send/receive data to, so that their app can be rewritten to use instead of tty-s. We are thinking of using a socket, but since I am fairly new to linux, android and qt I have the sense my decision might not be the best one.
Thank you.