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