Skip to content

Commit

Permalink
Add \chk_vfo remote control command
Browse files Browse the repository at this point in the history
  • Loading branch information
argilo committed Feb 9, 2024
1 parent 2baa33e commit 9935b6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/news.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

2.17.4: In progress...

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


Expand Down
2 changes: 2 additions & 0 deletions resources/remote-control.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ Supported commands:
LNB_LO [frequency]
If frequency [Hz] is specified set the LNB LO frequency used for
display. Otherwise print the current LNB LO frequency [Hz].
\chk_vfo
Get VFO option status (only usable for hamlib compatibility)
\dump_state
Dump state (only usable for hamlib compatibility)
\get_powerstat
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 @@ -245,6 +245,8 @@ void RemoteControl::startRead()
answer = cmd_LOS();
else if (cmd == "LNB_LO")
answer = cmd_lnb_lo(cmdlist);
else if (cmd == "\\chk_vfo")
answer = QString("0\n");
else if (cmd == "\\dump_state")
answer = cmd_dump_state();
else if (cmd == "\\get_powerstat")
Expand Down

0 comments on commit 9935b6f

Please sign in to comment.