mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 00:57:31 -05:00
P25 work in progress - adds CRC-CCITT error checking to TSBK messages and shows CRC correction state in the messages tab
This commit is contained in:
@@ -13,7 +13,7 @@ import bits.BitSetBuffer;
|
||||
import bits.BitSetFullException;
|
||||
import bits.SyncPatternMatcher;
|
||||
import crc.CRC;
|
||||
import crc.CRCP25NetworkID;
|
||||
import crc.CRCP25;
|
||||
import decode.p25.P25Interleave;
|
||||
import decode.p25.TrellisHalfRate;
|
||||
import decode.p25.message.P25Message;
|
||||
@@ -220,7 +220,7 @@ public class P25MessageFramer implements Listener<Dibit>
|
||||
switch( mDUID )
|
||||
{
|
||||
case NID:
|
||||
CRC crc = CRCP25NetworkID.checkAndCorrect( mMessage );
|
||||
CRC crc = CRCP25.correctNID( mMessage );
|
||||
|
||||
if( crc != CRC.FAILED_CRC )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user