P25 Work in progress. Adds CRC checking to NID/DUID. Adds limiter to trellis decoder to prevent it from decoding an excessive error message. Updates channel state with initial handling/generation of call events.

This commit is contained in:
dennis.sheirer
2014-12-14 02:34:19 +00:00
parent 0d8da161e1
commit 170688b95e
42 changed files with 1099 additions and 390 deletions

View File

@@ -24,7 +24,7 @@ import decode.DecoderType;
public class PassportCallEvent extends CallEvent
{
private int mChannel;
private String mChannel;
private long mFrequency;
private int mValidCallMessages = 1;
@@ -32,7 +32,7 @@ public class PassportCallEvent extends CallEvent
AliasList aliasList,
String fromID,
String toID,
int channel,
String channel,
long frequency,
String details )
{
@@ -99,7 +99,7 @@ public class PassportCallEvent extends CallEvent
}
@Override
public int getChannel()
public String getChannel()
{
return mChannel;
}
@@ -120,7 +120,7 @@ public class PassportCallEvent extends CallEvent
private String mFromID;
private String mToID;
private String mDetails;
private int mChannel;
private String mChannel;
private long mFrequency;
public Builder( CallEventType callEventType )
@@ -140,7 +140,7 @@ public class PassportCallEvent extends CallEvent
return this;
}
public Builder channel( int channel )
public Builder channel( String channel )
{
mChannel = channel;
return this;