Commit Graph

245 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
27d416f38b Event History Setup; #287
Add groupName csv import items into the Event History;
2025-04-28 23:12:26 -04:00
lwvmobile
d1334038df Migrate Call Alert Beeper to New Event Function; Ring different tones on voice start, end, and data calls; #287
Fix and Tweak Calloc Size to the size_t of Event_History * 600 total events (little extra overhead) ;
2025-04-28 15:01:33 -04:00
lwvmobile
daf014df6a New Event History Setup and Logging to a Log File, part 3; #287
M17, YSF, DSTAR to save wav files with src and dst as call sign string value and not a numerical value;

Add P25p1 Tier 1 Location and DMR Short Data LOCN Report to Event History; Add MNIS sourced LRRP to Event History;

Don't append truncated TEXT strings to Event String since its full display is directly below it in the Event History;

Add new items to Event History to accomodate above feature;

Tweak misc items regarding above;
2025-04-27 20:30:50 -04:00
lwvmobile
ff4dd03379 Fix Misc Size and Format Warnings Regarding Last Push; #287 2025-04-26 23:39:01 -04:00
lwvmobile
114e305e25 New Event History Setup and Logging to a Log File, part 3; #287
Add Extra Call Information to Event History and Display to Ncurses and Write to Event Log;

Add P25 Known Talker Alias Formats to Event History and Display to Ncurses and Write to Event Log;

Remake the DMR Talker Alias Decoder for 7, 8, and 16 bit chars and go to Event History and Display and to Ncurses and Write to Event Log;

Add Some Embeddded and Misc (Non Data Call) GPS Formats to Event History and Display to Ncurses and Write to Event Log;

Add DMR UDT Data Calls to Event History;

Make Misc Tweaks to Event Item Strings;
2025-04-26 23:34:15 -04:00
lwvmobile
4e04d99780 New Event History Setup and Logging to a Log File, part 2; #287
Rework all Per Call Wav files to tie into Event History; Auto Delete Empty Wav files created; Wav Files in progress have no extension and have no hard set name until closing;

Delete all OLD patch files that are resolved directly or indirectly by new Event History, or have previously been incorporated into code.
2025-04-25 13:33:17 -04:00
lwvmobile
71d4d30f3a Event History: Move event_history_s from the stack to the heap; Calloc Plenty of Memory for it; #287 2025-04-23 16:27:25 -04:00
lwvmobile
cb89fb69c1 New Event History Setup and Logging to a Log File, part 1; #186 2025-04-22 23:50:07 -04:00
lwvmobile
88c76c4a6c DMR: Enhanced Encryption PI / FLC Setup;
Fix some PI Elements for Consistency and List Known Alg Types;
2025-03-25 18:14:33 -04:00
lwvmobile
5851abbce8 Fix AES Key Segment (ULLI) Array Size; 2025-03-21 15:45:16 -04:00
lwvmobile
d35bed4348 Move MBP to header file; 2025-03-20 18:34:20 -04:00
lwvmobile
fdbc2ef0e2 CODE: Remove Whitespace; 2025-03-17 16:38:04 -04:00
lwvmobile
7ed1a79b5b Misc; 2025-03-17 13:53:38 -04:00
lwvmobile
e36672f54c Fix Some Tab Alignment Issues;
NXDN: Make seperate AES IV expansion function;
2025-03-15 20:26:25 -04:00
lwvmobile
eac360571e YOLO:
Congratulations for clicking this link, you are now reading this description;

Add DES-OFB Decryption Support for P25, NXDN, DMR (Tested);

Add DES-XL Decryption Support for P25p1 (Tested);

Add AES-OFB Decryption Support for P25, DMR (Tested); NXDN(untested);

Add P25p1 PDU Decryption Support; (Untested)(Known Modes);

Add Remaining (AES, DES) DMR PDU Decryption Support (Known DMRA Modes)(Untested);

Decrypt Tytera 16-bit BP (works depending on model);

Add AES Keys example csv file for import;

Probably a few bugs that'll need to be massaged out now with all the code additions for several years of stashed code;
2025-03-14 23:54:58 -04:00
lwvmobile
0c8a11c607 P25p1: More Misc PDU Tweaks; 2025-03-12 12:16:31 -04:00
lwvmobile
c13ffbc9b2 P25p1: Misc PDU Tweaks; (WIP);
DMR: Fix TMS Message String for Ncurses & Tweaks;

Make the IP PDU more generic;

Make Cellocator and ARS decoder placeholder functions;

Add port for P25 Tier 2 Location Services (LRRP);
2025-03-11 11:59:55 -04:00
lwvmobile
31f9edefa5 P25p1: Reorganize Multiblock PDU Handling; 2025-03-10 10:11:13 -04:00
lwvmobile
3b67ff52d5 DMR: Add Data Call Type to Ncurses; TMS to truncated ASCII range string for ncurses; UTF8 and UTF16 tweaks; 2025-03-05 10:47:02 -05:00
lwvmobile
ec8d74fabd Cygwin:
Cmake -DNOCOLORSLOGS=OFF for Cygwin Builds (or user option)

Tweak cygwin scripts to include touch.exe in portable release builder.

Rework original 1aa bat file to be a simplified / unified .bat file (old bat files still available in examples folder);
2025-03-03 05:17:04 -05:00
lwvmobile
df56d421f8 DMR: Setup a KS start (offset) value to apply specifically for chained p_head where the second p_head is only partially encrypted; 2025-03-01 12:57:25 -05:00
lwvmobile
f5fad8d5e0 DMR: Misc PDU Tweaks/Fixes/Cleanup; 2025-03-01 03:32:16 -05:00
lwvmobile
2ca15d8b53 DMR: Decode Additional IP Header Elements;
Adjustments to Moto EXT Header and its LRRP Variant;

Make additional adjustments to LRRP PDUs based on above;
2025-02-28 07:39:14 -05:00
lwvmobile
69dd1d167b DMR: Fix LRRP Report to File Format; #281 2025-02-25 11:11:28 -05:00
lwvmobile
1725e45793 DMR: PDU RC4 and BP Decryption; 2025-02-23 02:58:45 -05:00
lwvmobile
f6f5380df4 DMR: Rework PDU Assembly; 2025-02-22 22:50:53 -05:00
lwvmobile
d8df5ceab5 DMR: PDU / LRRP Misc Fixes, Tweaks, and Cleanup; 2025-02-22 14:28:09 -05:00
lwvmobile
dfe744ef13 DMR: Rework PDUs; 2025-02-22 09:04:07 -05:00
lwvmobile
35bd5ccc55 Code Arrangement and Additions:
Migrate Harris Alias for vPDU;

Setup Harris Alias for LCW;

Working Harris GPS for LCW;

Harris GRG Bitmap(speculative);

Migrate Tait Alias for LCW;

Misc Tweaks;
2025-02-10 23:45:56 -05:00
lwvmobile
6dd1410faf Moto Alias Dump Function;
Misc Tweaks for displaying and writing various P25 Aliases to File and Ncurses for display;

Misc String Safety Tweaks on Aliases and writing to csv files / display;
2025-02-07 17:33:08 -05:00
lwvmobile
f0657ee5a8 Change P25 Moto Alias Block bn to num_bits value to make it work with multiple bit per block values; Misc Cleanup and Tweaks; 2025-02-06 00:11:46 -05:00
lwvmobile
29ee3a5f3a Moto Alias for MAC vPDU Setup;
Seperate P25 Moto Alias Block Function from Alias Decode Function;

Move Code to dsd_alias.c;
2025-02-05 23:39:25 -05:00
lwvmobile
f59f0cbb7f P25 Moto Talker Alias LCW Setup and Test; 2025-02-05 07:12:41 -05:00
lwvmobile
b8beede921 Remove Unused Bits of Code for DMR/RS Sync Pattern (Fixes Bug if RES Sync is detected and flag tripped); #270 2024-11-17 08:43:11 -05:00
Volo Zyko
dfcc8d513d Fix some compiler warnings and add corresponding compiler flags 2024-08-29 15:05:52 +03:00
lwvmobile
f6fc91a051 Include pack_ambe and unpack_ambe functions and use during certain keystream applications; 2024-07-20 16:41:35 -04:00
lwvmobile
8b76daa35f Fix/Simplify AMBE and IMBE Print Code; Include Bit/Byte Utility Functions; 2024-07-20 16:41:07 -04:00
lwvmobile
63e484cc91 Optional User Input Argument for Pulse Audio Sink / Source Use; 2024-05-19 05:34:56 -04:00
lwvmobile
e3ecace5db Pulse Audio Sink and Source Enumeration WIP; 2024-05-19 04:59:26 -04:00
lwvmobile
ef94b311fa Add Error Handling and Error String on Pulse Input and Output Opening #259 ; Change Input 'Name' on M17 Voice Input so it doesn't default to same source as RF Signal Input; 2024-05-06 21:46:29 -04:00
lwvmobile
c5b36af672 Add .bin loop 'debug mode' on -J; 2024-04-25 16:14:59 -04:00