mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Adds tuner preference editor with channelizer type options. Updates (#456)
tuners to use the preference to select either polyphase or heterodyne channelizers.
This commit is contained in:
@@ -2145,7 +2145,8 @@ public class P25DecoderState extends DecoderState implements IChannelEventListen
|
||||
.build());
|
||||
break;
|
||||
default:
|
||||
mLog.debug("Unrecognized TSBK Opcode: " + tsbk.getOpcode().name());
|
||||
mLog.debug("Unrecognized TSBK Opcode: " + tsbk.getOpcode().name() + " VENDOR:" + tsbk.getVendor() +
|
||||
" OPCODE:" + tsbk.getOpcodeNumber());
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -2378,7 +2379,8 @@ public class P25DecoderState extends DecoderState implements IChannelEventListen
|
||||
.build());
|
||||
break;
|
||||
default:
|
||||
mLog.info("Unrecognized/Unprocessed Link Control Word Opcode: " + lcw.getOpcode().name());
|
||||
mLog.debug("Unrecognized LCW Opcode: " + lcw.getOpcode().name() + " VENDOR:" + lcw.getVendor() +
|
||||
" OPCODE:" + lcw.getOpcodeNumber());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,23 @@
|
||||
/*
|
||||
* ******************************************************************************
|
||||
* sdrtrunk
|
||||
* Copyright (C) 2014-2018 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 io.github.dsheirer.module.decode.p25.message.lc;
|
||||
|
||||
import io.github.dsheirer.bits.BinaryMessage;
|
||||
@@ -115,6 +135,14 @@ public abstract class LinkControlWord
|
||||
return mLinkControlOpcode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Opcode number for this LCW
|
||||
*/
|
||||
public int getOpcodeNumber()
|
||||
{
|
||||
return getMessage().getInt(OPCODE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Identifies the link control word opcode from the binary message.
|
||||
*/
|
||||
|
||||
@@ -126,6 +126,11 @@ public class AMBTCGroupDataChannelGrant extends AMBTCMessage implements IFrequen
|
||||
}
|
||||
}
|
||||
|
||||
if(mChannel == null)
|
||||
{
|
||||
mChannel = APCO25Channel.create(-1, 0);
|
||||
}
|
||||
|
||||
return mChannel;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,23 @@
|
||||
/*
|
||||
* ******************************************************************************
|
||||
* sdrtrunk
|
||||
* Copyright (C) 2014-2018 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 io.github.dsheirer.module.decode.p25.message.tsbk;
|
||||
|
||||
import io.github.dsheirer.bits.BinaryMessage;
|
||||
@@ -100,6 +120,14 @@ public abstract class TSBKMessage extends P25Message
|
||||
return getOpcode(getMessage(), getDirection(), getVendor());
|
||||
}
|
||||
|
||||
/**
|
||||
* Opcode numeric value
|
||||
*/
|
||||
public int getOpcodeNumber()
|
||||
{
|
||||
return getMessage().getInt(OPCODE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Opcode for this TSBK
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user