From 9ac1573f0bf384eb462ecd4645edefac0b3c4133 Mon Sep 17 00:00:00 2001 From: ilyacodes <33097525+ilyacodes@users.noreply.github.com> Date: Sat, 16 Mar 2024 17:17:14 -0400 Subject: [PATCH] EDACS: Add MT1 value / logging for analog group calls (#198) * Add MT1 value / logging for analog group calls * Respect user preference for tuning to group calls * Revert "Respect user preference for tuning to group calls" This reverts commit 83ac8feab7226ed4a751615866c311a59c8c6391. --- src/edacs-fme.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/edacs-fme.c b/src/edacs-fme.c index f36e309..b509702 100644 --- a/src/edacs-fme.c +++ b/src/edacs-fme.c @@ -599,8 +599,8 @@ void edacs(dsd_opts * opts, dsd_state * state) // fprintf (stderr, " Kick Command?"); // } //Voice Call Grant Update - // mt1 0x3 is Digital group voice call, 0x2 Group Data Channel, 0x1 TDMA call - else if (mt1 >= 0x1 && mt1 <= 0x3) + // mt1 0x6 is analog group voice call, 0x3 is Digital group voice call, 0x2 Group Data Channel, 0x1 TDMA call + else if ((mt1 >= 0x1 && mt1 <= 0x3) || mt1 == 0x6) { lcn = (fr_1t & 0x3E0000000) >> 29; @@ -642,6 +642,7 @@ void edacs(dsd_opts * opts, dsd_state * state) if (mt1 == 0x1) fprintf (stderr, " TDMA Call"); //never observed, wonder if any EDACS systems ever carried a TDMA signal (X2-TDMA?) if (mt1 == 0x2) fprintf (stderr, " Group Data Call"); //Never Seen this one before if (mt1 == 0x3) fprintf (stderr, " Digital Call"); //ProVoice, this is what we always get on SLERS EA + if (mt1 == 0x6) fprintf (stderr, " Analog Call"); //analog, to at least log that we recognize it fprintf (stderr, "%s", KNRM); //this is working now with the new import setup