Add \chk_vfo remote control command

This commit is contained in:
Clayton Smith 2024-02-09 12:30:59 -05:00
parent 2baa33eb04
commit 9935b6f206
3 changed files with 5 additions and 0 deletions

View File

@ -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).

View File

@ -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

View File

@ -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")