Merge pull request #1334 from yarda/get-powerstat

Reply to \get_powerstat to fix wsjtx
This commit is contained in:
Clayton Smith 2024-02-09 12:08:14 -05:00 committed by GitHub
commit 3783c34cc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View File

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

View File

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

View File

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