P25P1 Information

P25P1 Information
-added fprintf and printw for algid, keyid, mfid, errs, etc
This commit is contained in:
lwvmobile
2022-02-24 20:05:32 -05:00
committed by GitHub
parent 11d72c39d3
commit ab186da2f3
8 changed files with 69 additions and 33 deletions

View File

@@ -330,5 +330,10 @@ processLDU1 (dsd_opts* opts, dsd_state* state)
lcinfo[54] = hex_data[ 0][4] + '0';
lcinfo[55] = hex_data[ 0][5] + '0';
if (state->carrier == 1 && state->errs == 0) //only update when carrier is present, otherwise, garbage values may be collected
{
state->payload_mfid = strtol (mfid, NULL, 2);
}
processP25lcw (opts, state, lcformat, mfid, lcinfo);
}