]> git.zerfleddert.de Git - fhem-stuff/blame - COC/coc-as-cuno
COC helper-scripts with RPi version detection
[fhem-stuff] / COC / coc-as-cuno
CommitLineData
8fc5602a
MG
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