[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user