Skip to content

Commit

Permalink
Merge pull request #1334 from yarda/get-powerstat
Browse files Browse the repository at this point in the history
Reply to \get_powerstat to fix wsjtx
  • Loading branch information
argilo committed Feb 9, 2024
2 parents bbf9f01 + a289ab7 commit 3783c34
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/news.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

2.17.4: In progress...

IMPROVED: Respond to \dump_state remote command (needed by some clients).


2.17.3: Released October 20, 2023

FIXED: Delete key shortcut for bookmark removal.
Expand Down
2 changes: 2 additions & 0 deletions resources/remote-control.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Supported commands:
display. Otherwise print the current LNB LO frequency [Hz].
\dump_state
Dump state (only usable for hamlib compatibility)
\get_powerstat
Get power status (only usable for hamlib compatibility)
v
Get 'VFO' (only usable for hamlib compatibility)
V
Expand Down
2 changes: 2 additions & 0 deletions src/applications/gqrx/remote_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ void RemoteControl::startRead()
answer = cmd_lnb_lo(cmdlist);
else if (cmd == "\\dump_state")
answer = cmd_dump_state();
else if (cmd == "\\get_powerstat")
answer = QString("1\n");
else if (cmd == "q" || cmd == "Q")
{
// FIXME: for now we assume 'close' command
Expand Down

0 comments on commit 3783c34

Please sign in to comment.