First steps
1. See your radios
xng devices
Lists every SDR with its driver and serial. Use the serial (driver=rtlsdr,serial=00000002) to pick a specific radio; numbering changes when you replug things, serials don't. RTL-SDRs often all ship with serial 00000001: give each its own with rtl_eeprom -s.
2. Find out what you can hear
xng scan --sdr driver=rtlsdr --gain 28 --modes acars,vdl2,ais --dwell 120 --out scan.json
The scanner visits each mode's channel plan, says which channels carry traffic, and prints ready-to-paste xng listen commands. For HFDL it also learns new frequencies from the system table ground stations broadcast.
3. Qualify the site
xng survey --sdr driver=rtlsdr --mode acars --tune-gain --out survey.json
A survey watches the mode's whole plan for 15 minutes (rotating through capture windows when the plan is wider than the radio), after first trying several gains on real traffic. It ends with a per-channel table (frames, CRC pass rate, frames per minute, signal levels), reception advice, and a ready-to-run command. Ctrl-C ends early and still reports.
# Scan first, then soak only active channels, for half an hour
xng survey --sdr driver=rtlsdr --gain 28 --mode vdl2 --scan --duration 1800
4. Watch it live
xng tui --sdr driver=rtlsdr
xng tui --sdr driver=airspy --mode vdl2
The terminal UI shows a live message browser (press v to flip between a readable rendering and raw JSON), per-channel statistics, a spectrum with channel markers, and a waterfall. With no tuning given it takes the mode's built-in plan: as many channels as fit the radio.
Or open the web dashboard with --http 0.0.0.0:8080 on any command.
5. Feed Airframes
xng listen --sdr driver=rtlsdr -r 2400000 -c 130.500M \
--channels 130.025,130.425,130.450,131.125 \
--feed-airframes --station-id XX-KSEA-ACARS
-r is the sample rate, -c the center frequency, --channels what to decode (MHz, or k for kHz). --feed-airframes sends each mode to its Airframes ingest; --station-id names the station.
For anything permanent, move to a station file.
Recordings
xng decodes IQ recordings the same way as live radio, with no SDR libraries needed:
xng iq-info capture.cf32 -r 2000000 -c 131500000 # duration, power, spectral peaks
xng decode capture.cf32 -r 2400000 -c 131.500M --channels 131.550,131.425
xng decode vdl2.cf32 --mode vdl2 -r 50000 -c 136.975M --channels 136.975 --json