HackRF - partial check-in of code. HackRF is commented out in the TunerManager, since it's not yet ready for use.

This commit is contained in:
dennis.sheirer
2014-09-30 16:40:37 +00:00
parent 550aed79d4
commit c5c3029392
21 changed files with 2145 additions and 93 deletions

View File

@@ -40,6 +40,8 @@ import source.tuner.ettus.B100Tuner;
import source.tuner.fcd.FCDTuner;
import source.tuner.fcd.proV1.FCD1TunerController;
import source.tuner.fcd.proplusV2.FCD2TunerController;
import source.tuner.hackrf.HackRFTuner;
import source.tuner.hackrf.HackRFTunerController;
import source.tuner.rtl.RTL2832Tuner;
import source.tuner.rtl.RTL2832TunerController;
import source.tuner.rtl.e4k.E4KTunerController;
@@ -361,6 +363,29 @@ public class TunerManager
status = sLOADED;
reason = null;
break;
case HACKRF_ONE:
// try
// {
// HackRFTunerController hackRFController =
// new HackRFTunerController( device );
//
// hackRFController.init();
//
// HackRFTuner hackRFTuner =
// new HackRFTuner( hackRFController );
//
// mTuners.add( hackRFTuner );
// name = hackRFTuner.getName();
// status = sLOADED;
// reason = null;
// }
// catch( SourceException se )
// {
// status = sNOT_LOADED;
// reason = "Error constructing HackRF tuner "
// + "controller - " + se.getLocalizedMessage();
// }
break;
case UNKNOWN:
default:
break;