From c7ea16c801b81038113eacf030cee0c14ae494b9 Mon Sep 17 00:00:00 2001 From: ilyacodes Date: Sat, 16 Mar 2024 07:07:38 -0400 Subject: [PATCH] Add MT1 value / logging for analog group calls --- 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 0670f94..8329d37 100644 --- a/src/edacs-fme.c +++ b/src/edacs-fme.c @@ -600,8 +600,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) { //LCNs greater than 26 are considered status values, "Busy, Queue, Deny, etc" if (lcn > state->edacs_lcn_count && lcn < 26) @@ -641,6 +641,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