[debug](trx-backend-soapysdr,trx-frontend-http): add RDS diagnostics

Add server-side debug log when RDS data is decoded (PI, PS, PTY).
Extend the RDS panel with active mode, frame counter, and a raw JSON
dump of the last spectrum frame (bins excluded) to help diagnose why
RDS remains absent from the SSE stream.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-02-28 09:31:24 +01:00
parent 88e0be0cdd
commit 855d21fd8a
4 changed files with 25 additions and 3 deletions
@@ -460,6 +460,9 @@ impl RigCat for SoapySdrRig {
.channel_dsps
.get(self.primary_channel_idx)
.and_then(|dsp| dsp.lock().ok().and_then(|d| d.rds_data()));
if let Some(ref r) = rds {
tracing::debug!("RDS: pi={:?} ps={:?} pty={:?}({})", r.pi, r.program_service, r.pty, r.pty_name.as_deref().unwrap_or("?"));
}
Some(SpectrumData {
bins,
center_hz: self.center_hz.max(0) as u64,