X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/fhem-stuff/blobdiff_plain/556d7c3069cd2056cf3d2b6dadd0cab64533ffdb..d1ff840a7be5e9be238f303f289bcf80fa3cebba:/CUL/culd diff --git a/CUL/culd b/CUL/culd new file mode 100755 index 0000000..b1cae3d --- /dev/null +++ b/CUL/culd @@ -0,0 +1,11 @@ +#!/bin/sh + +DEVICE=/dev/ttyACM0,b9600 +PORT=2323 +#OPTIONS="-ly -lh" +#OPTIONS="-v -x" + +while true; do + echo "Listening on port ${PORT} for new connection requests" + socat ${OPTIONS} "${DEVICE},echo=0" "TCP-LISTEN:${PORT},reuseaddr" +done