Adds the modjam package: a MeshCore-backed test station service for Pi (IDLE + RUNNING states, cuesheet-driven), a control station REPL for the Mac, and a UDP simulator that swaps in for the radio when SIMULATOR=true (drops cross-config packets and a configurable fraction of test-payload datagrams to mimic real radio loss). docker-compose runs three sim stations + control on a bridge net. TSV log format matches the reference traces. Pytest suite covers protocol codec, cuesheet builder, TSV logger, config loader, and UDP radio packet routing/loss; .forgejo/workflows runs it on push to main and on PRs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9 lines
186 B
Docker
9 lines
186 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
COPY pyproject.toml requirements.txt /app/
|
|
COPY modjam /app/modjam
|
|
RUN pip install --no-cache-dir -e .
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
CMD ["modjam-control"]
|