mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-19 20:27:26 -05:00
P25 - R34 MPDU Format WIP;
This commit is contained in:
@@ -585,7 +585,7 @@ processFrame (dsd_opts * opts, dsd_state * state)
|
|||||||
if (opts->errorbars == 1)
|
if (opts->errorbars == 1)
|
||||||
{
|
{
|
||||||
printFrameInfo (opts, state);
|
printFrameInfo (opts, state);
|
||||||
fprintf (stderr," MBF\n"); //multi block format PDU
|
fprintf (stderr," MPDU\n"); //multi block format PDU
|
||||||
}
|
}
|
||||||
if (opts->mbe_out_dir[0] != 0)
|
if (opts->mbe_out_dir[0] != 0)
|
||||||
{
|
{
|
||||||
@@ -597,7 +597,7 @@ processFrame (dsd_opts * opts, dsd_state * state)
|
|||||||
resumeScan (opts, state);
|
resumeScan (opts, state);
|
||||||
}
|
}
|
||||||
state->lastp25type = 4;
|
state->lastp25type = 4;
|
||||||
sprintf (state->fsubtype, " MBF ");
|
sprintf (state->fsubtype, " MPDU ");
|
||||||
|
|
||||||
processMPDU(opts, state);
|
processMPDU(opts, state);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -389,6 +389,19 @@ void p25_lcw (dsd_opts * opts, dsd_state * state, uint8_t LCW_bits[], uint8_t ir
|
|||||||
fprintf (stderr, " MFID90 (Moto) Talker EOT; SRC: %d", src);
|
fprintf (stderr, " MFID90 (Moto) Talker EOT; SRC: %d", src);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//observed format value on SNDCP data channels
|
||||||
|
else if (lc_format == 0x58)
|
||||||
|
{
|
||||||
|
//will need to look for the appropriate values to fill in here from the manual,
|
||||||
|
//MFID values seem to look like a counter of some sort? offset maybe? or block number?
|
||||||
|
fprintf (stderr, " SNDCP Data Channel LCW %02X", lc_format);
|
||||||
|
}
|
||||||
|
|
||||||
|
//observed format value on SNDCP data channels
|
||||||
|
else if (lc_format == 0x63) //based on the SAP of the same value found in BAHA-A (unconfirmed, but may make sense?)
|
||||||
|
fprintf (stderr, " Protected Format LCW %02X", lc_format);
|
||||||
|
|
||||||
|
|
||||||
//not a duplicate, this one will print if not MFID 0 or 1
|
//not a duplicate, this one will print if not MFID 0 or 1
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
1261
src/p25p1_mdpu.c
1261
src/p25p1_mdpu.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user