mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-20 20:55:40 -05:00
DMR 12 Rate Data LRRP
DMR 12 Rate Data LRRP Decoding
This commit is contained in:
@@ -360,8 +360,8 @@ processLDU2 (dsd_opts * opts, dsd_state * state)
|
||||
kid[15] = hex_data[ 0][5] + '0';
|
||||
|
||||
|
||||
if (state->carrier == 1 && state->errs == 0) //only update when carrier is present, and no errors??
|
||||
//if (state->carrier == 1)
|
||||
//if (state->carrier == 1 && state->errs == 0) //only update when carrier is present, and no errors??
|
||||
if (state->carrier == 1)
|
||||
{
|
||||
|
||||
algidhex = strtol (algid, NULL, 2);
|
||||
@@ -377,6 +377,7 @@ processLDU2 (dsd_opts * opts, dsd_state * state)
|
||||
|
||||
//if (state->errs == 0 && algidhex != 0x80)
|
||||
if (opts->payload == 1)
|
||||
//if (opts->payload == 1 && state->errs == 0)
|
||||
{
|
||||
//fprintf (stderr, " LDU2 ALG ID: 0x%X KEY ID: 0x%X MI: %s \n", algidhex, kidhex, mi);
|
||||
fprintf (stderr, " LDU2 ALG ID: 0x%X KEY ID: 0x%X MI: 0x%08llX%08llX%02llX\n", algidhex, kidhex, mihex1, mihex2, mihex3);
|
||||
|
||||
Reference in New Issue
Block a user