P25 - adds SNDCP context management and data packet parsing for IPV4 and UDP/IP packets to include IP addresses and data payload bytes.

This commit is contained in:
dennis.sheirer
2015-01-23 21:06:02 +00:00
parent e5fad7ee22
commit 871705ece8
19 changed files with 1378 additions and 83 deletions

View File

@@ -106,6 +106,11 @@ public class PDUMessage extends P25Message
return mMessage.get( PACKET_DIRECTION_INDICATOR ) ? "OSP" : "ISP";
}
public boolean isOutbound()
{
return mMessage.get( PACKET_DIRECTION_INDICATOR );
}
public PDUFormat getFormat()
{
return PDUFormat.fromValue( mMessage.getInt( FORMAT ) );