Skip to content

Commit 3b9867c

Browse files
Merge pull request AlexandreRouma#1104 from jj1bdx/jj1bdx-rigctl-get_powerstat-fix
rigctl_server: Add answering code for rigctl \get_powerstat
2 parents ff7ef78 + aa929a1 commit 3b9867c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

misc_modules/rigctl_server/src/main.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,11 @@ class SigctlServerModule : public ModuleManager::Instance {
690690
"0\n" /* RIG_PARM_NONE */;
691691
client->write(resp.size(), (uint8_t*)resp.c_str());
692692
}
693+
// This get_powerstat stuff is a wordaround for WSJT-X 2.7.0
694+
else if (parts[0] == "\\get_powerstat") {
695+
resp = "1\n";
696+
client->write(resp.size(), (uint8_t*)resp.c_str());
697+
}
693698
else {
694699
// If command is not recognized, return error
695700
flog::error("Rigctl client sent invalid command: '{0}'", cmd);

0 commit comments

Comments
 (0)