mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Add the P25 NID BCH encoder.
This commit is contained in:
parent
16ec0db6d8
commit
3567d83349
13 changed files with 255 additions and 16 deletions
|
|
@ -54,7 +54,7 @@ m_netFrames(0U),
|
|||
m_netBits(0U),
|
||||
m_netErrs(0U),
|
||||
m_netLost(0U),
|
||||
m_nid(),
|
||||
m_nid(nac),
|
||||
m_audio(),
|
||||
m_rfData(),
|
||||
m_netData()
|
||||
|
|
@ -82,6 +82,7 @@ bool CP25Control::writeModem(unsigned char* data, unsigned int len)
|
|||
LogMessage("P25, transmission lost, %.1f seconds, BER: %.1f%%", float(m_rfFrames) / 5.56F, float(m_rfErrs * 100U) / float(m_rfBits));
|
||||
if (m_netState == RS_NET_IDLE)
|
||||
m_display->clearP25();
|
||||
writeNetwork(data + 2U, P25_DUID_TERM);
|
||||
m_rfState = RS_RF_LISTENING;
|
||||
m_rfTimeout.stop();
|
||||
m_rfData.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue