chore: massive repo reorganization

This commit is contained in:
swaits committed 2026-04-03 10:28:38 -06:00
1 parent 33c42a120e
commit f2d01e93a0
12 files changed
+730 -248

No files matched your search

+28 -15
View File
@@ -1,29 +1,42 @@
set shell := ["bash", "-c"]
_proj := source_directory()
_uv := "uv run --project " + _proj
_uv_meshcore := "uv run --project " + _proj + " --extra meshcore"
_uv_orac := "uv run --project " + _proj + " --extra orac"
[private]
_ensure_tools:
@mise trust --yes . 2>/dev/null; mise install --quiet
# Receive LoRa packets (Ctrl-C to stop)
rx *args:
@mise install --quiet && uv run {{source_directory()}}/simple_rx.py {{args}}
rx *args: _ensure_tools
@{{_uv}} {{source_directory()}}/simple_rx.py {{args}}
# Transmit a single packet
tx *args:
@mise install --quiet && uv run {{source_directory()}}/simple_tx.py {{args}}
tx *args: _ensure_tools
@{{_uv}} {{source_directory()}}/simple_tx.py {{args}}
# Two-dongle ping-pong demo (--role tx|rx)
ping-pong *args:
@mise install --quiet && uv run {{source_directory()}}/ping_pong.py {{args}}
ping-pong *args: _ensure_tools
@{{_uv}} {{source_directory()}}/ping_pong.py {{args}}
# Exercise all DongLoRa commands
test-commands *args:
@mise install --quiet && uv run {{source_directory()}}/all_commands.py {{args}}
test-commands *args: _ensure_tools
@{{_uv}} {{source_directory()}}/all_commands.py {{args}}
# Two-way LoRa bridge over TCP
bridge *args:
@mise install --quiet && uv run {{source_directory()}}/lora_bridge.py {{args}}
bridge *args: _ensure_tools
@{{_uv}} {{source_directory()}}/lora_bridge.py {{args}}
# MeshCore packet decoder/monitor
meshcore *args:
@mise install --quiet && uv run {{source_directory()}}/meshcore/meshcore_rx.py {{args}}
meshcore *args: _ensure_tools
@{{_uv_meshcore}} {{source_directory()}}/meshcore/meshcore_rx.py {{args}}
# Run any example by name (e.g. just ex run simple_rx)
run script *args:
@mise install --quiet && uv run {{source_directory()}}/{{script}}.py {{args}}
# MeshCore AI bot (requires ANTHROPIC_API_KEY)
orac *args: _ensure_tools
@{{_uv_orac}} {{source_directory()}}/meshcore/ai_bot.py {{args}}
# MeshCore repeater telemetry monitor
telemetry *args: _ensure_tools
@{{_uv_meshcore}} {{source_directory()}}/meshcore/telemetry_monitor.py {{args}}