Skip to content

Instantly share code, notes, and snippets.

@iomonad
Created August 25, 2016 19:17
Show Gist options
  • Save iomonad/c13b4c2f1d8a24727ba0db3b6017d298 to your computer and use it in GitHub Desktop.
Save iomonad/c13b4c2f1d8a24727ba0db3b6017d298 to your computer and use it in GitHub Desktop.
Il suffit de lancer un programme sur /tmp/ttyS0 et l'autre sur /tmp/ttyS1 et on a une communication bidirectionnelle série.
#!/usr/bin/zsh
socat PTY,link=/tmp/ttyS0,raw,echo=0 PTY,link=/tmp/ttyS1,raw,echo=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment