]> git.zerfleddert.de Git - fhem-stuff/blob - CUL/culd
better fix for receiving multiple packets, read them all from the fifo!
[fhem-stuff] / CUL / culd
1 #!/bin/sh
2
3 DEVICE=/dev/ttyACM0,b9600
4 PORT=2323
5 #OPTIONS="-ly -lh"
6 #OPTIONS="-v -x"
7
8 while true; do
9 echo "Listening on port ${PORT} for new connection requests"
10 socat ${OPTIONS} "${DEVICE},raw,echo=0" "TCP-LISTEN:${PORT},reuseaddr"
11 done
Impressum, Datenschutz