swaits e64ce852ba feat: add keepalive ping, state restoration, and fix baud rate
Add keepalive ping (5s interval, 2s timeout) to detect unresponsive
dongles behind UART bridges where the serial port stays open across
ESP32 resets. On reconnect, saved radio config and RX state are
re-sent so connected clients continue working transparently.

Also fix serial port opened without baud rate (defaulted to 9600
instead of 115200), preventing connection to UART boards.
2026-04-11 02:46:05 -06:00
2026-04-03 10:28:38 -06:00

DongLoRa Mux (Python)

USB multiplexer daemon — lets multiple applications share one DongLoRa dongle simultaneously.

What It Does

  • Owns the USB serial connection exclusively
  • Exposes a Unix domain socket (and optional TCP) speaking the same COBS-framed protocol
  • RxPacket frames broadcast to all connected clients
  • StartRx/StopRx reference-counted across clients
  • SetConfig locked once set (single client can change freely)

Running

just run                            # start the mux daemon
just verbose                        # start with verbose logging
just run --tcp 5741 --port /dev/ttyACM0   # with options

Depends On

  • donglora — the Python client library (protocol encoding, device discovery)
S
Description
No description provided
Readme
96 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 98.9%
Just 1.1%