mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-16 18:57:24 -05:00
Event History Setup: #287
Include a simple sh file to startup dsd-fme with opts line, and open log files for multi linux terminal support; Fix bug with P25p1 MPDU Trunking Blocks setting address values to trigger event history watchdog; Add an internal string into event history to log internal events of note (ENC LO, errors, etc); Add a watchdog during any ENC LO event so the event_history will log the call with ENC LO; Disable AHOY and RSP PDU's from Event History (clogs up the event history with extra info); Fix DMR p_clear trigger to zero out src and tg values when tuning away; Fix Hytera Enhanced RC4 (verified working); Misc Tweaks Regarding;
This commit is contained in:
@@ -729,6 +729,15 @@ void process_ESS (dsd_opts * opts, dsd_state * state)
|
||||
state->group_tally++;
|
||||
}
|
||||
|
||||
//run a watchdog here so we can update this with the crypto variables and ENC LO
|
||||
//may need to disable this for same reason as below
|
||||
if (ttg != 0 && enc_wr == 0)
|
||||
{
|
||||
uint8_t slot = state->currentslot; //need to make sure we can verify the slot accuracy on SACCH slots (inverted)
|
||||
sprintf (state->event_history_s[slot].Event_History_Items[0].internal_str, "Target: %d; has been locked out; Encryption Lock Out Enabled.", ttg);
|
||||
watchdog_event_current(opts, state, slot);
|
||||
}
|
||||
|
||||
//return to the control channel -- NOTE: Disabled, just mark as lockout for now, return would require complex check of the other slot activity
|
||||
// fprintf (stderr, " No Enc Following on P25p2 Trunking; Return to CC; \n");
|
||||
// return_to_cc (opts, state);
|
||||
|
||||
Reference in New Issue
Block a user