Skip to content

Instantly share code, notes, and snippets.

@krzyklo
krzyklo / README.md
Last active October 22, 2023 15:48 — forked from tiagocoutinho/README.md
Virtual serial line (RS232) on linux with socat and pyserial

Virtual serial line

Virtual serial line on linux with socat, python server & client -x shows data exchanged in HEX format

Run on terminal 1:

socat -x -d -d pty,raw,echo=0,link=/tmp/cryocon_simulator pty,raw,echo=0,link=/tmp/cryocon

Run on terminal 2: