mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
Adds support for experimental Tait-1200 FFSK auxiliary decoder
This commit is contained in:
63
src/decode/tait/Tait1200ChannelState.java
Normal file
63
src/decode/tait/Tait1200ChannelState.java
Normal file
@@ -0,0 +1,63 @@
|
||||
/*******************************************************************************
|
||||
* SDR Trunk
|
||||
* Copyright (C) 2014 Dennis Sheirer
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||
******************************************************************************/
|
||||
package decode.tait;
|
||||
|
||||
import message.Message;
|
||||
import controller.state.AuxChannelState;
|
||||
import controller.state.ChannelState;
|
||||
|
||||
public class Tait1200ChannelState extends AuxChannelState
|
||||
{
|
||||
private Tait1200ActivitySummary mActivitySummary;
|
||||
|
||||
public Tait1200ChannelState( ChannelState parentState )
|
||||
{
|
||||
super( parentState );
|
||||
|
||||
mActivitySummary =
|
||||
new Tait1200ActivitySummary( parentState.getAliasList() );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void reset()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fade()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void receive( Message message )
|
||||
{
|
||||
if( message instanceof Tait1200MessageA )
|
||||
{
|
||||
mActivitySummary.receive( message );
|
||||
|
||||
// mParentChannelState.receiveCallEvent(
|
||||
// Tait1200CallEvent.getLJ1200Event( (Tait1200Message)message ) );
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getActivitySummary()
|
||||
{
|
||||
return mActivitySummary.getSummary();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user