[chore](trx-server): log ft8 toggle and offsets

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-02-09 21:38:18 +01:00
parent 55693bb6e8
commit 4d32f017a8
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -694,6 +694,15 @@ pub async fn run_ft8_decoder(
Ok(dur) => dur.as_millis() as i64,
Err(_) => 0,
};
let base_hz = match &state.status.freq.hz {
hz => *hz as f32,
};
info!(
"FT8 decode: base_hz={} offset_hz={} msg=\"{}\"",
base_hz,
res.freq_hz,
res.text
);
let msg = Ft8Message {
ts_ms,
snr_db: res.snr_db,
+1
View File
@@ -382,6 +382,7 @@ async fn process_command(
}
RigCommand::SetFt8DecodeEnabled(en) => {
ctx.state.ft8_decode_enabled = en;
info!("FT8 decode {}", if en { "enabled" } else { "disabled" });
let _ = ctx.state_tx.send(ctx.state.clone());
return snapshot_from(ctx.state);
}