Beginnings of allowing for local POCSAG message transmissions.

This commit is contained in:
Jonathan Naylor
2019-01-22 21:33:49 +00:00
parent ec986d97ee
commit 9b2352c877
5 changed files with 45 additions and 1 deletions

View File

@@ -1818,6 +1818,17 @@ void CMMDVMHost::remoteControl()
if (m_nxdn != NULL)
processModeCommand(MODE_NXDN, m_nxdnRFModeHang);
break;
case RCD_PAGE:
if (m_pocsag != NULL) {
unsigned int ric = m_remoteControl->getArgUInt(0U);
std::string text;
for (unsigned int i = 1U; i < m_remoteControl->getArgCount(); i++) {
if (i > 1U)
text += " ";
text += m_remoteControl->getArgString(i);
}
m_pocsag->sendPage(ric, text);
}
default:
break;
}