I want to set up a virtual serial port emulator in Linux. I want the ports to be permanent, so that I can use them every time I restart. I tried using socat for that purpose in this way,
socat -d -d pty,raw,echo=0 pty,raw,echo=0
But I often get "port busy" issues during the usage of these VSPs (Virtual Serial Ports) in my test programs. Also, I find it hard to create permanent/persistent VSPs.
I now want to try out tty0tty for my purposes. But I have found little documentation on how to use it. Can anyone enlighten me on this? Please do comment if there are any solutions for socat as well.