Virtual serial line on linux with socat, python server & client -x shows data exchanged in HEX format
socat -x -d -d pty,raw,echo=0,link=/tmp/cryocon_simulator pty,raw,echo=0,link=/tmp/cryocon
python simulator.py
python client.py "*IDN?"
Alternatives: