Event History Setup; #287

Fix NXDN site_code and sys_code order in event_history; Reset correct call type string on TX_REL,  TX_REL_EXT, and DISC messages when stale;

Have P25p1 PDUs write to event_history, regardless of decoded state; Include Enc info if available and not decrypted or decoded; Event History and Log RSP Packets;

Tweak and Add DMR RSP Packets to Event History and Log

Fix Event History Log File Display on Startup;

Add UDP Port 4069 for TRBOnet SCADA; (no decode of data);
This commit is contained in:
lwvmobile
2025-05-04 14:53:13 -04:00
parent d376fcc227
commit c364117fc0
7 changed files with 76 additions and 18 deletions

View File

@@ -374,6 +374,11 @@ void processMPDU(dsd_opts * opts, dsd_state * state)
fprintf (stderr, "%s ", KNRM);
fprintf (stderr, "\n");
//clear these, regardless of if PDU was deocded, or attempted,
//so we don't create phantom voice calls in the event history
state->lasttg = 0;
state->lastsrc = 0;
} //end r34
else if (r34 == 0) //12 rate unconfirmed data //err[0] == 0
@@ -416,7 +421,12 @@ void processMPDU(dsd_opts * opts, dsd_state * state)
fprintf (stderr, "%s",KNRM);
fprintf (stderr, "\n");
}
//clear these, regardless of if PDU was deocded, or attempted,
//so we don't create phantom voice calls in the event history
state->lasttg = 0;
state->lastsrc = 0;
} //end r12
else //crc header failure or other
{
fprintf (stderr, "%s",KNRM);