OpenRoadCode integrates libSDRForge through REST on 127.0.0.1:5570, ZMQ spectrum/receiver telemetry on 127.0.0.1:5571, and rigctl on 127.0.0.1:4532. Install libSDRForge under $HOME/src/libSDRForge.
Configure SDRForge's persistent regional profile overlay from the ORC checkout:
This writes ~/.config/sdrforge/radio-region.conf with an absolute path to ORC's config/radio directory and the selected locale. SDRForge's region-aware Linux systemd installer, standalone Termux runit installer, and Android-authorized USB launchers load this file at process startup. The configuration is optional, and SDRForge still works independently of ORC. Existing user presets are not modified. Restart the server after changing the region. Command-line and explicit environment overrides take precedence over the saved file.
Managed service: ORC's scripts/runit/install_termux_services.sh installs a version-controlled SDRForge runit launcher that loads the saved region configuration. The standalone SDRForge installer should not overwrite ORC's managed service definition.
The SDRForge runit service is optional. The service manager supports simulated and local profiles, but direct runit startup with RTL-SDR USB is deliberately blocked: Android must first authorize the USB device and hand off its file descriptor. The service manager can switch to simulated IQ and stop a supervised instance before a USB handoff. Do not use the old managed-Termux branch's instruction to select local and launch the runit service directly.
Use the service manager to select simulated IQ and start the openroadcode-sdrforge service. Or, if no managed instance is running, launch a standalone simulated server from libSDRForge:
Stop any supervised SDRForge server first:
Approve Android's USB permission request. The launcher re-enumerates the device and uses termux-usb -E to run SDRForge with the authorized USB descriptor. The standalone hardware server must own the REST, ZMQ, and rigctl ports; do not run a competing simulated server.
In another Termux session, request acquisition:
Stop acquisition with POST /v1/receiver/stop. Stop the standalone server with Ctrl+C. There is no automatic USB reconnection guarantee.
Do not pipe live USB-sensitive commands through clipboard or tee process substitution: it can hang the USB handoff. Collect logs after the command finishes. If REST reports an existing server, check sv status openroadcode-sdrforge and stop the supervised instance rather than competing for ports.
Runit reporting run means the process exists, not that the REST API is accepting requests. ORC's catalog client now polls /v1/health with a bounded 10-second default deadline before fetching profiles and presets. The REST backend also exposes wait_until_ready(timeout=10.0) for startup orchestration. Do not use fixed sleeps or replay non-idempotent control commands to handle a temporary connection refusal.