add support back to set the MFId for some transmitted P25 packets;

3.0-rcon_maint
Bryan Biedenkapp 3 years ago
parent f7f6211921
commit 0b041698c6

@ -483,6 +483,8 @@ void RemoteControl::process(Host* host, dmr::Control* dmr, p25::Control* p25, nx
LogMessage(LOG_RCON, "Remote P25, mfgId reset, mfgId = $%02X", mfId);
m_p25MFId = p25::P25_MFG_STANDARD;
}
p25->trunk()->setLastMFId(m_p25MFId);
}
else {
reply = CMD_FAILED_STR "P25 mode is not enabled!";

@ -93,6 +93,9 @@ namespace p25
/// <summary>Helper to change the conventional fallback state.</summary>
void setConvFallback(bool fallback);
/// <summary>Helper to change the last MFId value.</summary>
void setLastMFId(uint8_t mfId) { m_lastMFID = mfId; }
/// <summary>Flag indicating whether P25 TSBK verbosity is enabled or not.</summary>
bool getTSBKVerbose() const { return m_dumpTSBK; };
/// <summary>Helper to change the TSBK verbose state.</summary>

Loading…
Cancel
Save

Powered by TurnKey Linux.