Created
August 7, 2016 22:58
-
-
Save mr337/bbcf3be444e4743a3447c0eaa3830303 to your computer and use it in GitHub Desktop.
Handy way to mointor serial traffic with socat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
socat /dev/ttyUSB0,raw,echo=0 SYSTEM:'tee input.txt | socat - "PTY,link=/tmp/ttyV0,raw,echo=0,waitslave" | tee output.txt' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment