Feeding Airframes from xng
xng feeds each mode to Airframes in the format that mode's ingest reads, so Airframes treats xng exactly like the decoder it replaces. On the command line, --feed-airframes --station-id <ident> does it for whatever mode you run. In a station file, the [outputs.airframes] block does it for every session.
Per-mode ingests
| Mode | Ingest on feed.airframes.io | Format |
|---|---|---|
| ACARS | UDP 5550 | acarsdec JSON |
| VDL2 | UDP 5552 | dumpvdl2 decoded:json |
| HFDL | TCP 5556 | dumphfdl decoded:json (ACARS and performance data) |
| AIS | HTTP 5599 | AIS-catcher JSON batches, every 5 s, gzip |
| Aero L-band / C-band | UDP 5571 / 5561 | JAERO JSONdump |
| Iridium | TCP 5590 | iridium-toolkit ACARS JSON |
| Radiosondes | UDP 5573 | auto_rx payload summary (one per frame with a GPS fix) |
| STD-C and the other modes | QUIC 5580 only | xng's own message format |
Each mode can be tuned under its own block ([outputs.airframes.acars], .vdl2, .hfdl, .ais, .aero, .iridium, .sonde) with enabled, station-id, station-uuid, host and port:
[outputs.airframes]
enabled = true
station-id = "XX-KSEA"
auto-suffix = true
[outputs.airframes.hfdl]
enabled = false # decode HFDL locally, don't feed it
Station idents
auto-suffix = truederives one station per mode from the base ident:XX-KSEA-ACARS,-VDL2,-HFDL,-AIS,-IMSL(Inmarsat),-IRDM(Iridium),-SONDE. This is the usual setup: each mode gets its own stats.- Without it, every mode uses the ident as written.
- A session's
airframes-station-idoverrides it for that session (for example a second ACARS radio,XX-KSEA-ACARS2).
Station UUIDs
The ACARS, VDL2, HFDL, Aero, Iridium and AIS feeds also carry a station UUID, and Airframes finds the station by it before the name. Renaming a station, on the website or in the station file, then keeps its messages and stats together.
xng keeps one UUID per station in station-uuids.json (in XNG_STATE_DIR, else ~/.config/xng). A new station starts with a UUID derived from its ident, so it stays the same even where nothing can be saved. A station that already exists on Airframes has its own UUID: set it with station-uuid (top level, [outputs.airframes] or a mode block), a session's airframes-station-uuid, or XNG_STATION_UUID. The installer and Airwaves OS set it for you when you sign in or switch an old decoder to xng.
One connection for every feed (QUIC)
[outputs.airframes]
enabled = true
auto-suffix = true
transport = "quic"
or --airframes-transport quic on the command line. Every feed then travels as its own stream on one connection to the Airframes feed gateway at feed.airframes.io:5580, with TLS over TCP on the same port when UDP is blocked.
- Per-feed health. The gateway sees each feed's state and last message, measures the link's round trip (and each direction when your clock is NTP-synced), and can ask xng read-only diagnostics (
status,clock,net). - Falls back when it can. Until the gateway accepts a feed, and whenever the connection is down, modes that have a per-port ingest (ACARS, VDL2, HFDL, Aero, Iridium, AIS, sondes) go there instead. Modes that only the gateway takes, such as STD-C, wait for the connection; what they decode while it is down is not sent.
- Every mode. When xng connects, the gateway lists the modes it takes. xng sends every listed mode, in its native Airframes format where one exists, else in xng's own. New modes start flowing as Airframes adds them, without an xng update.
xng airframes ingestsshows the list and how each of your modes would go. - Pinning a transport.
quic-onlyandtlsuse one transport with no per-port fallback.
Signing in
xng atc login # device sign-in with your Airframes account (once)
The same sign-in serves the ATC feed and the QUIC feed: with it, the connection is linked to your account and your stations are yours from the start. Without it, QUIC connects anonymously and per-port feeds are credited by ident, which you then claim.
ATC audio
Airband voice goes to its own ingest (atc-ingest.airframes.io:4433), always signed in. See ATC audio.
Other destinations at the same time
Feeding Airframes doesn't use up the decode: the same messages can go to JSON files, MQTT, ZMQ, NMEA, acarsdec-compatible UDP for other tools, and the dashboard. See Dashboard and outputs.