Commit Graph

1440 Commits

Author SHA1 Message Date
lwvmobile
bd98e3befb Re-enable the custom wav file directory option -7 for per-call wav files;
When playing back .amb or .imb files, print AMBE or IMBE when dumping payload on them;
2025-06-29 15:56:52 -04:00
lwvmobile
1aa71811b0 SDRTrunk .mbe File Replay: #298
Mute Audio if enc and no key provided;

Tweak Verbose Payload vs No Verbose Payload Output to console;

Misc Tweaks;
2025-06-24 13:34:45 -04:00
lwvmobile
4e1b1ac98e SDRTrunk .mbe File Replay:
Tweak RC4 Keystream Creation to only create second keystream when P25p1, and only make as much keystream as needed; #298
2025-06-23 02:37:45 -04:00
lwvmobile
ccbaef8541 SDRTrunk .mbe File Replay:
Fix P25p1 RC4 Decryption via keystream juggle and reverse LSFR for IV; #298
2025-06-23 02:27:03 -04:00
lwvmobile
8a30115398 SDRTrunk .mbe File Replay Initial Commit; #298 2025-06-22 15:16:19 -04:00
lwvmobile
3a1d393a0f Fix Playback Speed in Cygwin for .imb/.amb files; #297 2025-06-20 16:05:30 -04:00
lwvmobile
66844b1d4c P25: Provide a temporary fix to the issue of .imb files not writing when a key is presented during an encrypted voice session; #297 2025-06-19 17:03:07 -04:00
lwvmobile
722d7b77fb DMR: Yet Even More RC_TESTING Tweaks; #292 2025-05-29 20:27:15 -04:00
lwvmobile
5a2575c9a0 DMR: Even More RC_TESTING Tweaks; #292 2025-05-29 20:09:55 -04:00
lwvmobile
daad012466 DMR: More RC_TESTING Tweaks; #292 2025-05-29 19:47:25 -04:00
lwvmobile
f2cc686189 DMR: Fix CallTimers CSBK; #293 2025-05-29 15:55:27 -04:00
lwvmobile
175ccff7e9 DMR: Fix BParm Issues Mentioned in #293
Make some tweaks to DMR BS RC_TESTING; #292

Fix Talker Alias Block Num Enumeration (+1) on Valid Blocks;

Misc Typo and Format Fixes;

Tweak for NXDN Keyloading on VCALL;
2025-05-29 14:44:37 -04:00
lwvmobile
4a1e6f1540 Revert Previous Change Regarding DMR Talker Alias; #290 2025-05-22 22:52:39 -04:00
lwvmobile
d285865de5 DMR: Don't append spaces to talker alias string if encoded character is 0; #290
(usually indicates the full talker alias has yet to arrive and only doing a partial in progress decode);
2025-05-22 06:17:19 -04:00
lwvmobile
4bcc9f8aec Fix Coding Error for Compiler Warning / Error for ncursesClose; 2025-05-21 22:23:32 -04:00
lwvmobile
c6b2320cbd Ncurses:
Don't display the lines for Pulse Digital Output if it isn't opened (when using analog only -fA);
2025-05-17 15:00:09 -04:00
lwvmobile
87be5aa72e DMR:
Add FLCO 0x29 FID 0x10 to Unknown Moto Link Control Value to prevent it from setting incorrect tgt, src, svc values;
2025-05-17 01:59:41 -04:00
lwvmobile
3f0f675fd5 Pulse Audio:
Don't Open Audio Stream for Synthesized Digital Voice when using the -fA Analog Only Output Option;
2025-05-16 23:16:32 -04:00
lwvmobile
7c56fb836b Fix Wformat-overflow Issues Regarding Previous Commit; 2025-05-15 16:49:53 -04:00
lwvmobile
2891d7314b Dibit/Symbol Capture File:
When initiated from the ncurses 'R' key, it now rotates every hour;

Above is logged to event history when it occurs;
2025-05-15 16:42:21 -04:00
lwvmobile
ed13bb34d8 YSF: Fix Event History Placing Blank Entries between calls; Fix No Entries when sourced signal is inverted; 2025-05-14 23:03:26 -04:00
lwvmobile
b9097d9462 Event History Setup: #287;
P25p1: Set currentslot to 0 when decoding phase 1 specific duids (HDU, TDU, TDULC, LDU, TSBK, MPDU) so that we don't have a potential stale phase 2 slot value present when writing to event history, etc.

Update Glamor Shot to include the Event History Update;
2025-05-12 21:41:20 -04:00
lwvmobile
59fcfdae81 Event History Setup: #287
Allow Event History to be cycled from short string on, long string on, or of with the 'h' shortcut keyf;
2025-05-12 17:12:10 -04:00
lwvmobile
f85304471f Event History Setup: #287
P25p2: Misc Tweaks for Harris Things; Misc Event History P2 Tweaks;
2025-05-11 12:08:39 -04:00
lwvmobile
3fc67a5694 Event History Setup: #287;
Add customizable event history line (in ncurses) for various items, but left colors as the default cyan. (Remus Request);
2025-05-11 01:16:31 -04:00
lwvmobile
2314900829 Event History Setup: #287
Update Glamor Shots to Show new Event History; Update Misc Items and Examples;
2025-05-10 17:17:48 -04:00
lwvmobile
680b792b19 Event History Setup: #287
Fix Some GPS formats not writing to the event history gps_s string due to mismatching src values (UDT NMEA and LIP);

Fix bug in ComputeCrcCCITT16d where the len value cannot exceed 255 by recasting len as uint32_t instead of uint8_t; #288

Clarify when UDT Data Blocks (R12) is Confirmed or Unconfirmed Data;
2025-05-10 02:09:56 -04:00
lwvmobile
0d734b753f Event History Setup: #287
Fix Flicker Bug in Ncurses Printer by casting lls as static int;

Further Tweak to NcursesPrinter for responsiveness;
2025-05-09 21:11:23 -04:00
lwvmobile
fae33ca0a1 Event History Setup: #287;
Seperate dsd_ncurses.c into dsd_ncurses_printer.c , dsd_ncurses_menu.c , and dsd_ncurses_handler.c files;

Make adjustments as needed to accomodate above;

Work on Handling Special Escape Characters with Ncurses Input Handling to prevent rogue things from happening with scrool wheel, etc;
2025-05-09 18:36:22 -04:00
lwvmobile
dc7ff1136e Event History Setup: #287
Prepare to Seperate Ncurses Code and Event History Code into seperate .c files; Move common items to a .h file;

Move event history code to dsd_events.c; Move AFS code to edacs-fme.c; Move beeper code to dsd_audio2.c
2025-05-09 17:12:31 -04:00
lwvmobile
67ab05da63 Event History Setup: #287;
Trial Fix for ncurses randomly lagging when sync condition with printer vs no sync condition with printer and key input;
2025-05-09 16:18:05 -04:00
lwvmobile
54ba3b6513 Event History Setup: #287
Run ncursesPrinter more frequently during nosync condition to make ncurses user input a lot more responsive during quiet times.
2025-05-09 16:02:56 -04:00
lwvmobile
13739b18aa Event History Setup: #287
Expand Event History for EDACS to Include More Call Information; Misc Tweaks regarding;

Add watchdog and wav file closure to EOT_CC when returning from EDACS Analog or Digital Calls;

Fix local event_string size in watchdog_event_current;

Add watchdog to cleanupAndExit to catch any calls in progress when closing and push them out to event_history log;
2025-05-09 02:20:09 -04:00
lwvmobile
7a198e62f9 Fix UDT Mixed String Format Issue when assigned to event_history text_message; #288 2025-05-09 01:04:13 -04:00
lwvmobile
e37955448e Tweak Event History String Regarding Mixed Address and UTF Text Data; #288 2025-05-08 15:18:00 -04:00
lwvmobile
2dc9db17ab Fix UDT Data Misc Items found by mastodon987; #288 2025-05-08 14:35:22 -04:00
lwvmobile
a3eb6dd552 Event History Setup #287;
Clear some values on Trunking when nocarrier that weren't previously cleared right away;

Write User Lockout of TG to event history; Run noCarrier when Trunking and User Locks Out, prompting return to CC;
2025-05-07 18:19:06 -04:00
lwvmobile
35b782a10f Event History Setup: #287
Tweaks to P25p1 TDU and TDU/LC don't clear out items before they get into event log (bugfix for no crypt info logging);
2025-05-07 13:57:59 -04:00
lwvmobile
8c4dc6ed36 Hytera Enhanced Encrypt: Refresh When bad CACH or TACT forces resync(Run LFSR); 2025-05-06 23:50:00 -04:00
lwvmobile
1532fdcc8e 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;
2025-05-06 21:19:11 -04:00
lwvmobile
68d959cb7a Event History Setup: #287;
Fix P25p1 LCW Unit to Unit to Private Call in Call History; Misc Tweaks in TDU and LCW;

Add DMR AHOY Info from CSBK and UDT from Data Bursts to Event History;

Send UDT Text Messages to textmessage string in event history and not to the event string; Fix UDT Text Len values;

Fix Misc Issues noted in #288 (IP6, Mixed Add/Text, NMEA ss3 * 10);
2025-05-06 15:06:19 -04:00
lwvmobile
c364117fc0 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);
2025-05-04 14:53:13 -04:00
lwvmobile
d376fcc227 Event History Setup: #287;
Misc Tweaks Regarding How Trunking Elements May Indirectly Interact with Event History;

DMR Alias Tweak: Allow Extra UTF8 characters (grave, diacritical leters, etc); Allow any UTF16 character that isn't an ASCII special char;

Add GI String (GROUP or PRIVATE) to wav file names, if set and known at close;

Add Encrypted PDU ALG/KID values if not decrypted/decoded;

Allow Manual RTL Input PPM Error Adjustment with { and } keys;

LRRP: Simple Request Handling; Report Handling Tweaks; Simple Handling for Unknown Formats;

Don't reset DMR Color Code on NoCarrier;
2025-05-03 15:59:45 -04:00
lwvmobile
93b297c2d5 Event History Setup: #287;
Don't write Short Data UTF8 to event log or event history in ncurses(garbage text);

Add unknown IP port and protocol lines for event_history;

Add GI from the ILLEGALLY_PARKED CSBK on standard DMR T3 trunking to make sure we get one set;
2025-05-02 17:01:57 -04:00
lwvmobile
d158db618d Fix Misc Minor Bugs and Clang Compiler Warnings; 2025-05-01 22:12:19 -04:00
lwvmobile
934b95cde8 Event History Setup: #287
Make Tweaks / Fixes to DMR Talker Alias;

Setup for Hytera Enhanced RC4 Cipher (LFSR Works, Cipher Untested / Unknown Working State);
2025-05-01 20:40:35 -04:00
lwvmobile
3563399126 Event History Setup Misc; #287
Change the -~ switch to debug mode and -J to the event history file;

Pass slot and swrite value to write_event_to_log_file; Add Slot value to written event log file when swrite is 1 (DMR BS and P25p2);

Misc Consistency Nits;
2025-04-30 19:47:06 -04:00
lwvmobile
6364009e45 Event History Setup; #287
Fix -Wformat-overflow warning regarding writing imported names into a char array;
2025-04-29 14:07:32 -04:00
lwvmobile
1739017303 Event History Setup; #287
Scrub call_matrix items form ncurses, rename for edacs use only;

Scrub a lot of unused local variables out of the ncurses printer;

Add NXDN Talker Aliases to Event History;

Add Remus' suggestion for Tone ID and AD values on the call alert beeper;
2025-04-29 13:58:20 -04:00
lwvmobile
27d416f38b Event History Setup; #287
Add groupName csv import items into the Event History;
2025-04-28 23:12:26 -04:00