You should be able to use a pty device to do this. It has been a while since I did this kind of thing. The listener creates the device, and the client connects as if they were connecting to a TTY device. Real serial ports appear as /dev/ttyS0, /dev/ttyS1 etc. Pty devices are psuedo terminal devices intended to emulate a terminal interface. If you want to test two programs that should have a serial device between them, you should look for a terminal proxy. It would create two devices and simply relay data between them.
Bell Dial Up Accelerator. PuTTY is a free and open source gui X based terminal emulator client for the SSH, Telnet, rlogin, and raw TCP computing protocols and as a serial console client. It works under Linux, Unix, Mac OS X, MS-Windows and few other operating systems. Aug 14, 2015 how to use serial port like hyper terminal. Fedora x86 and x86_64, Debian. You would want to look at 'minicom' which is a console-based serial terminal emulator. Is there a way to connect to a serial terminal just. How to connect to a serial port as simple as using. By serial terminals). Many terminal emulators also. Problem Possible causes Nothing at all shown on terminal emulator Connected to wrong pins on GPIO header Faulty USB-serial cable or level shifter.
If I remember correctly, there are programs that will capture time-stamped logs of traffic.