From 4a3273653ae72784f930ac95d823cfecdf15720b Mon Sep 17 00:00:00 2001 From: Stanislaw Grams Date: Sun, 8 Feb 2026 23:09:43 +0100 Subject: [PATCH] [feat](trx-frontend-http-json): map decoder commands Add SetAprsDecodeEnabled, SetCwDecodeEnabled, ResetAprsDecoder, and ResetCwDecoder to the JSON TCP frontend command mapping. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Stanislaw Grams --- .../trx-frontend/trx-frontend-http-json/src/server.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/trx-client/trx-frontend/trx-frontend-http-json/src/server.rs b/src/trx-client/trx-frontend/trx-frontend-http-json/src/server.rs index 9a600a2..367794f 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http-json/src/server.rs +++ b/src/trx-client/trx-frontend/trx-frontend-http-json/src/server.rs @@ -140,6 +140,10 @@ async fn handle_client( ClientCommand::Unlock => RigCommand::Unlock, ClientCommand::GetTxLimit => RigCommand::GetTxLimit, ClientCommand::SetTxLimit { limit } => RigCommand::SetTxLimit(limit), + ClientCommand::SetAprsDecodeEnabled { enabled } => RigCommand::SetAprsDecodeEnabled(enabled), + ClientCommand::SetCwDecodeEnabled { enabled } => RigCommand::SetCwDecodeEnabled(enabled), + ClientCommand::ResetAprsDecoder => RigCommand::ResetAprsDecoder, + ClientCommand::ResetCwDecoder => RigCommand::ResetCwDecoder, }; let (resp_tx, resp_rx) = oneshot::channel();