mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +00:00
Refining the JSON schema based on the requirements of the display driver.
This commit is contained in:
parent
1a19243653
commit
e4de1951cc
4 changed files with 7 additions and 4 deletions
|
|
@ -1441,6 +1441,7 @@ int CMMDVMHost::run()
|
|||
if (m_cwIdTimer.isRunning() && m_cwIdTimer.hasExpired()) {
|
||||
if (!m_modem->hasTX()){
|
||||
LogDebug("sending CW ID");
|
||||
writeJSONMode("CW");
|
||||
m_modem->sendCWId(m_cwCallsign);
|
||||
|
||||
m_cwIdTimer.setTimeout(m_cwIdTime);
|
||||
|
|
@ -3492,6 +3493,7 @@ void CMMDVMHost::remoteControl(const std::string& commandString)
|
|||
cwtext += " ";
|
||||
cwtext += m_remoteControl->getArgString(i);
|
||||
}
|
||||
writeJSONMode("CW");
|
||||
m_modem->sendCWId(cwtext);
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue