I have a simulator application where I send serial commands to an Android device and vice-versa. In order to work with this application, I need to connect a real Android device via physical RS232 cable and then select the device.
My question is, is there a way to create a virtual serial port connection between the emulator and Mac/Linux PC?
I've seen commands like emulator *emulator-name* -qemu -serial /dev/ttyS0, but I get an error message
qemu-system-i386: -serial /dev/ttyS0: 'serial' is not a valid char driver name
qemu-system-i386: -serial /dev/ttyS0: could not connect serial device to character backend '/dev/ttyS0'