mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-27 12:55:41 +08:00
Refining the JSON schema based on the requirements of the display driver.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user