during network P25 voice calls, instead of dvmhost resetting the network watchdog every network frame only reset it when valid LDUs are processed, this should have the appropriate affect of applying the network watchdog and preventing a netState hang in a non-RS_NET_IDLE state if we never receive a network TDU to properly end a call;

pull/121/merge
Bryan Biedenkapp 1 month ago
parent 35de68b7c7
commit 05d939027b

@ -1602,8 +1602,6 @@ void Control::processNetwork()
lsd.setLSD1(lsd1);
lsd.setLSD2(lsd2);
m_networkWatchdog.start();
if (m_debug) {
Utils::dump(2U, "* !!! P25 Network Frame", data.get(), frameLength);
}

@ -1874,6 +1874,7 @@ void Voice::writeNet_LDU1()
}
}
m_p25->m_networkWatchdog.start();
m_hadVoice = true;
m_p25->m_netState = RS_NET_AUDIO;
m_p25->m_netLastDstId = dstId;
@ -2087,6 +2088,8 @@ void Voice::writeNet_LDU2()
return;
}
m_p25->m_networkWatchdog.start();
uint8_t mi[MI_LENGTH_BYTES];
control.getMI(mi);

Loading…
Cancel
Save

Powered by TurnKey Linux.