How kety-folf/hf_dsstv works
HF_DSSTV is a cross-platform amateur-radio picture-transfer product: desktop and Android apps share an OFDM/LDPC modem, with a Python reference implementation and command-line tools. The operator configures a station, selects or prepares an image, transmits it over radio, and receives/reassembles incoming pictures. Broadcast and connected ARQ are distinct transfer modes; the signal-processing path includes framing, modulation, and decoding. The desktop station engine is the clearest sampled runtime orchestrator. Several app and modem internals are unsampled, so their subsystem links follow explicit README capabilities or are omitted rather than inferred.
Main entry points: engine.rs Station engine · transfer.py Transfer reassembly · frames.py Frame layer · AppState.kt Android app state
Components 22
Operator apps
- Desktop UI
desktop/app/src/ui - Desktop worker
desktop/app/src/worker.rs - Android UI
android/app/src/main/java/com/hfdsstv/app/ui - Android app state
android/app/src/main/java/com/hfdsstv/app/AppState.kt
Station and radio
- Station engine
desktop/station/src/engine.rs - Audio devices
desktop/audio/src/lib.rs - Radio control
desktop/rig/src - Android radio I/O
android/app/src/main/java/com/hfdsstv/app/radio
Picture transfer
- Picture preparation
hf_dsstv/picture/compress.py - Strip transfer
hf_dsstv/picture/strips.py - Fountain coding
hf_dsstv/picture/fountain.py - Transfer reassembly
hf_dsstv/picture/transfer.py - ARQ sessions
hf_dsstv/session - Picture storage
hf_dsstv/picture/store.py
Shared signal processing
- Frame layer
hf_dsstv/modem/frames.py - OFDM modem
hf_dsstv/modem - Link protocol
hf_dsstv/link - Android Rust core
android/core/src
CLI and simulation
- CLI tools
hf_dsstv/tools/__main__.py - Channel simulator
hf_dsstv/sim/channel.py
Other components
- Radio operator
- HF radio
Connections 24
- Radio operator → Desktop UI: operates
README.md - Radio operator → Android UI: operates
README.md - Desktop UI → Desktop worker: commands
desktop/app/src/worker.rs - Desktop worker → Station engine: drives
desktop/app/src/worker.rs - Android UI → Android app state: controls
android/app/src/main/java/com/hfdsstv/app/MainActivity.kt - Android app state → Android radio I/O: uses
android/app/src/main/java/com/hfdsstv/app/radio/ConnectedController.kt - Station engine → Audio devices: reads and plays
desktop/station/src/engine.rs - Station engine → Radio control: controls PTT
desktop/station/src/engine.rs - Station engine → Picture preparation: prepares images
desktop/station/src/engine.rs - Station engine → ARQ sessions: runs sessions
desktop/station/src/engine.rs - Station engine → Transfer reassembly: handles transfers
desktop/station/src/engine.rs - Picture preparation → Strip transfer: encodes strips
hf_dsstv/picture/strips.py - Strip transfer → Transfer reassembly: reassembles
hf_dsstv/picture/transfer.py - Fountain coding → Transfer reassembly: decodes packets
hf_dsstv/picture/transfer.py - Transfer reassembly → Fountain coding: uses decoder
hf_dsstv/picture/transfer.py - Transfer reassembly → Link protocol: packs packets
hf_dsstv/picture/transfer.py - Frame layer → OFDM modem: modulates and decodes
hf_dsstv/modem/frames.py - Frame layer → Link protocol: encodes headers
hf_dsstv/modem/frames.py - Android Rust core → Android app state: serves modem calls
- CLI tools → Frame layer: encodes and decodes
hf_dsstv/tools/__main__.py - CLI tools → Channel simulator: simulates channel
hf_dsstv/tools/__main__.py - Station engine → HF radio: transmits and receives
README.md - Android radio I/O → HF radio: transmits and receives
README.md - Transfer reassembly → Picture storage: stores received images
hf_dsstv/picture/store.py