M17 More Work and Fixes; #152

This commit is contained in:
lwvmobile
2023-07-10 19:13:16 -04:00
parent 986ed27d7d
commit a2c4679632
8 changed files with 643 additions and 80 deletions

View File

@@ -295,11 +295,14 @@ processFrame (dsd_opts * opts, dsd_state * state)
return;
}
//M17
else if ((state->synctype == 16) || (state->synctype == 9) || (state->synctype == 17) || (state->synctype == 8) )
else if ((state->synctype == 16) || (state->synctype == 9) || (state->synctype == 17) || (state->synctype == 8) || (state->synctype == 99) || (state->synctype == 98))
{
if (state->synctype == 16 || state->synctype == 17)
processM17(opts, state);
else skipDibit(opts, state, 184); //8 and 9 will need seperate handling for LSF
if (state->synctype == 98 || state->synctype == 99) //preamble only
skipDibit(opts, state, 184); //skip dibits to prime the demodulator
else if (state->synctype == 16 || state->synctype == 17)
processM17STR(opts, state);
else
processM17LSF(opts, state);
return;
}
//P25 P2