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 83ac8feab7.
This commit is contained in:
ilyacodes 2024-03-16 17:17:14 -04:00 committed by GitHub
parent 0aa01a45ef
commit 9ac1573f0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -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