New channel Rx plugin demodchirpmodem, built on libchirpmodem (format v1),
modelled on demodselcal: plugin, settings, baseband, sink, GUI, web API
adapter, readme. Rx only.
- The channel is decimated to at least 2 x BW; the library is given the
delivered rate and the signal's residual offset in it (if_offset).
- The chirpmodem_rx handle lives in the sink and is used only on the
baseband thread under the baseband mutex. Settings changes mark it stale;
it is rebuilt once per message, never during chirpmodem_rx_push().
- Frames are copied in the callback and posted to the channel, which
forwards them to the GUI and publishes OK frames (whole MAC frame) on the
"packets" pipe.
- GUI: SF, BW, effort, auto effort, report failures, max bytes; frames table
(UTC, status, profile, src, dst, SNR, offset Hz/ppm, mode, length, text,
hex) with licensed-profile policy flag; channel spectrum.
- libchirpmodem found with find_package(chirpmodem 0.1 REQUIRED), hint
CHIRPMODEM_DIR or ~/.local; linked statically. Builds in SERVER_MODE.
Web API / MCP support:
- ChirpModemDemod.yaml (settings and report), SWG model classes, entries
in SWGChannelSettings/SWGChannelReport/SWGModelFactory, webapiutils,
webapirequestmapper and webapi.qrc.
- MCP data feed: listen to sdrangel.channel.chirpmodemdemod and decode the
MAC frame (flags, base-40 callsigns, body) for get_packets.
Verified on the 2026-10-23 OTA capture (ota.cu8 -> .sdriq, FileInput):
49/49 frames, identical to cm_rx in order, source and body; last-frame SNR
and offset match (-10.1 dB, -2651.5 Hz, -11.86 ppm).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ACARS: Add Web API support. Add additional reporting to Aircraft feature. Add Iridium support.
Aircraft feature: Add Web API support. Add additional fields and data. Add coverage map. Support feeding. Archive messages.
SELCAL: Report calls to Aircraft feature.
Map: Update Cesium. Add flyby mode. Add ND, EFIS, RMP, DCDU. Add Boeing styling. Fix z-ordering on 2D map. Support sounds on 3D map. Save/restore splitter state. Hide quota using Cesium options when API not set. Link aircraft with Aircraft feature.
Fix TX scaling bug that was costing 10dB of output power at max gain.
Improve performance on Windows to reduce overruns at high sample rates.
Add underrun stats.
Display temperature.
Improve error handling.
Move setting device settings off GUI thread. For #1522
Server side for the spectrum paths added to the spec: GET spectrum/report
returns whichever measurement is switched on, POST spectrum/actions
carries autoscale, clearSpectrum, resetMeasurements, freeze and
gotoMarker, and GET spectrum/data returns the power values reduced to a
number of bins. The display actions reach the spectrum through new
GLSpectrumInterface methods that default to doing nothing, so an instance
without a GUI ignores them rather than every caller having to know.
The measurement results are kept as plain values behind a lock and
published once per displayed frame, so a report costs nothing until one is
asked for, and the figures match what is on screen.
Also completes the main spectrum settings, which were only partly carried
over the API, and adds reports that had no way to be read at all: vessels
for AIS, stations for APRS, sondes for Radiosonde, the programme list for
DAB, the RDS programme service name for BFM, and validity flags for the
ADS-B aircraft report so a caller can tell a missing position from one at
zero. Map settings are exposed through their generated setters.
Two fixes found while testing: the frequency scanner dropped the frequency
list because the API calls it "frequencies" and everything downstream
keys it as "frequencySettings", and the spectrum adapters bound a
reference to the error message before init() had allocated one, so every
error path returned no response at all.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The MeshCore mod plugin references SWGMeshcoreModActions in
meshcoremod.cpp, but MeshcoreMod.yaml had no MeshcoreModActions
section. When swagger files are regenerated, the auto-generated
SWGChannelActions.h/cpp lose the meshcore_mod_actions member and
accessors, which would break compilation of meshcoremod.cpp.
Changes across five files:
- MeshcoreMod.yaml: add MeshcoreModActions definition (sendNow
field, matching existing hand-authored SWGMeshcoreModActions)
- ChannelActions.yaml: add MeshcoreModActions pointing to
the new section
- SWGModelFactory.h: add #include and create() registration
block for SWGMeshcoreModActions (was missing despite
SWGMeshcoreModSettings/MeshcoreDemod* being registered)
- webapirequestmapper.cpp: add channelActionsKey routing branch
for MeshcoreModActions (was completely absent)
- webapiutils.cpp: add m_channelURIToSettingsKey and
m_channelTypeToSettingsKey entries for both MeshcoreDemod and
MeshcoreMod (were missing, unlike ChirpChat and Meshtastic
which have entries for their channel types)
Problem: It's not possible to select channel in Demod Analyzer feature
via api.
Solution:
Add new "action" into
POST /sdrangel/featureset/feature/{featureIndex}/actions
endpoint