P25 Work-in-progress check-in.

This commit is contained in:
dennis.sheirer
2014-11-10 09:53:03 +00:00
parent 7b89c614e7
commit 46e3594c07
31 changed files with 2271 additions and 227 deletions

View File

@@ -94,4 +94,30 @@ public class P25Interleave
return message;
}
public static void main( String[] args )
{
int start = 0;
int end = 196;
BitSetBuffer b = new BitSetBuffer( end );
for( int x = 0; x < end; x += 3 )
{
if( x > 20 )
{
b.set( x );
}
}
mLog.debug( "Origi:" + b.toString() );
P25Interleave.interleave( b, start, end );
mLog.debug( "Inter:" + b.toString() );
P25Interleave.deinterleave( b, start, end );
mLog.debug( "Donee:" + b.toString() );
}
}