]> git.zerfleddert.de Git - fhem-stuff/blame - COC/coc-as-cuno
flash radio-only-fw
[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"
7a60ac2c 12 socat ${OPTIONS} "${DEVICE},raw,echo=0" "TCP-LISTEN:${PORT},reuseaddr"
8fc5602a 13done
Impressum, Datenschutz