mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 17:17:29 -05:00
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:
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user