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.
tty0ttyalso support mac OS? – Foad Mar 07 '19 at 08:01kextutil, but I have never tried it! – Ruraj Aug 06 '19 at 19:47