]> git.zerfleddert.de Git - fhem-stuff/blob - COC/coc-as-cuno
Revert "go back to hardware packet handling"
[fhem-stuff] / COC / coc-as-cuno
1 #!/bin/sh
2
3 DEVICE=/dev/ttyAMA0,b38400
4 PORT=2323
5 #OPTIONS="-ly -lh"
6 #OPTIONS="-v -x"
7
8 "`dirname "${0}"`"/init-coc
9
10 while true; do
11 echo "Listening on port ${PORT} for new connection requests"
12 socat ${OPTIONS} "${DEVICE},raw,echo=0" "TCP-LISTEN:${PORT},reuseaddr"
13 done
Impressum, Datenschutz