]> git.zerfleddert.de Git - fhem-stuff/blob - CUL/culd
always send a short (10ms) preamble, fixes more lost-packet problems
[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