mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-14 01:27:34 -05:00
P25 More work in progress
This commit is contained in:
@@ -62,7 +62,7 @@ public class AdjacentStatusBroadcast extends TSBKMessage
|
||||
sb.append( " FAILURE-CONDITION" );
|
||||
}
|
||||
|
||||
if( isValid() )
|
||||
if( isValidSiteInformation() )
|
||||
{
|
||||
sb.append( " VALID-INFO" );
|
||||
}
|
||||
@@ -126,31 +126,4 @@ public class AdjacentStatusBroadcast extends TSBKMessage
|
||||
{
|
||||
return mMessage.getInt( SYSTEM_SERVICE_CLASS );
|
||||
}
|
||||
|
||||
public String getSourceAddress()
|
||||
{
|
||||
if( hasAdditionalInformation() && !hasExtendedAddress() )
|
||||
{
|
||||
return mMessage.getHex( SOURCE_ADDRESS, 6 );
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFromID()
|
||||
{
|
||||
return getSourceAddress();
|
||||
}
|
||||
|
||||
public String getTargetAddress()
|
||||
{
|
||||
return mMessage.getHex( TARGET_ADDRESS, 6 );
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getToID()
|
||||
{
|
||||
return getTargetAddress();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user