mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-20 04:37:26 -05:00
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:
@@ -599,8 +599,8 @@ void edacs(dsd_opts * opts, dsd_state * state)
|
|||||||
// fprintf (stderr, " Kick Command?");
|
// fprintf (stderr, " Kick Command?");
|
||||||
// }
|
// }
|
||||||
//Voice Call Grant Update
|
//Voice Call Grant Update
|
||||||
// mt1 0x3 is Digital group voice call, 0x2 Group Data Channel, 0x1 TDMA call
|
// 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)
|
else if ((mt1 >= 0x1 && mt1 <= 0x3) || mt1 == 0x6)
|
||||||
{
|
{
|
||||||
lcn = (fr_1t & 0x3E0000000) >> 29;
|
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 == 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 == 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 == 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);
|
fprintf (stderr, "%s", KNRM);
|
||||||
|
|
||||||
//this is working now with the new import setup
|
//this is working now with the new import setup
|
||||||
|
|||||||
Reference in New Issue
Block a user