Replace custom python connector with ncat (#42)

* Replace custom made daemon with nmap-ncat

* Use stderr to log ncat output

* Refresh the branch
This commit is contained in:
2025-01-15 18:30:36 +01:00
committed by GitHub
parent 1e7f72e9ec
commit 90211562f9
15 changed files with 84 additions and 197 deletions

9
connector/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM alpine:edge
RUN apk add --no-cache coreutils nmap-ncat
EXPOSE 2560/tcp
SHELL ["/bin/ash", "-c"]
CMD stty -F /dev/arduino -echo 115200 && \
ncat -n -k -l 2560 </dev/arduino >/dev/arduino