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;
This commit is contained in:
lwvmobile
2025-04-27 20:30:50 -04:00
parent ff4dd03379
commit daf014df6a
8 changed files with 143 additions and 27 deletions

View File

@@ -73,7 +73,8 @@ void M17decodeCSD(dsd_state * state, unsigned long long int dst, unsigned long l
//evaluate dst and src, and determine if they need to be converted to callsign
int i;
char c;
memset (state->m17_dst_csd, 0, sizeof(state->m17_dst_csd));
memset (state->m17_src_csd, 0, sizeof(state->m17_src_csd));
if (dst == 0xFFFFFFFFFFFF)
fprintf (stderr, " DST: BROADCAST");
else if (dst == 0)
@@ -85,6 +86,7 @@ void M17decodeCSD(dsd_state * state, unsigned long long int dst, unsigned long l
fprintf (stderr, " DST: ");
for (i = 0; i < 9; i++)
{
if (dst == 0) break;
c = b40[dst % 40];
state->m17_dst_csd[i] = c;
fprintf (stderr, "%c", c);
@@ -110,6 +112,7 @@ void M17decodeCSD(dsd_state * state, unsigned long long int dst, unsigned long l
fprintf (stderr, " SRC: ");
for (i = 0; i < 9; i++)
{
if (src == 0) break;
c = b40[src % 40];
state->m17_src_csd[i] = c;
fprintf (stderr, "%c", c);