SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <fcdproinput.h>
Classes | |
class | MsgConfigureFCDPro |
class | MsgFileRecord |
class | MsgStartStop |
Public Member Functions | |
FCDProInput (DeviceAPI *deviceAPI) | |
virtual | ~FCDProInput () |
virtual void | destroy () |
virtual void | init () |
initializations to be done when all collaborating objects are created and possibly connected More... | |
virtual bool | start () |
virtual void | stop () |
virtual QByteArray | serialize () const |
virtual bool | deserialize (const QByteArray &data) |
virtual void | setMessageQueueToGUI (MessageQueue *queue) |
virtual const QString & | getDeviceDescription () const |
virtual int | getSampleRate () const |
Sample rate exposed by the source. More... | |
virtual void | setSampleRate (int sampleRate) |
For when the source sample rate is set externally. More... | |
virtual quint64 | getCenterFrequency () const |
Center frequency exposed by the source. More... | |
virtual void | setCenterFrequency (qint64 centerFrequency) |
virtual bool | handleMessage (const Message &message) |
virtual int | webapiSettingsGet (SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage) |
virtual int | webapiSettingsPutPatch (bool force, const QStringList &deviceSettingsKeys, SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage) |
virtual int | webapiRunGet (SWGSDRangel::SWGDeviceState &response, QString &errorMessage) |
virtual int | webapiRun (bool run, SWGSDRangel::SWGDeviceState &response, QString &errorMessage) |
void | set_center_freq (double freq) |
void | set_bias_t (bool on) |
void | set_lnaGain (int index) |
void | set_rfFilter (int index) |
void | set_lnaEnhance (int index) |
void | set_band (int index) |
void | set_mixerGain (int index) |
void | set_mixerFilter (int index) |
void | set_biasCurrent (int index) |
void | set_mode (int index) |
void | set_gain1 (int index) |
void | set_rcFilter (int index) |
void | set_gain2 (int index) |
void | set_gain3 (int index) |
void | set_gain4 (int index) |
void | set_ifFilter (int index) |
void | set_gain5 (int index) |
void | set_gain6 (int index) |
Public Member Functions inherited from DeviceSampleSource | |
DeviceSampleSource () | |
virtual | ~DeviceSampleSource () |
virtual int | webapiReportGet (SWGSDRangel::SWGDeviceReport &response, QString &errorMessage) |
MessageQueue * | getInputMessageQueue () |
MessageQueue * | getMessageQueueToGUI () |
SampleSinkFifo * | getSampleFifo () |
Private Slots | |
void | networkManagerFinished (QNetworkReply *reply) |
Private Member Functions | |
bool | openDevice () |
void | closeDevice () |
bool | openFCDAudio (const char *filename) |
void | closeFCDAudio () |
void | applySettings (const FCDProSettings &settings, bool force) |
void | webapiFormatDeviceSettings (SWGSDRangel::SWGDeviceSettings &response, const FCDProSettings &settings) |
void | webapiReverseSendSettings (QList< QString > &deviceSettingsKeys, const FCDProSettings &settings, bool force) |
void | webapiReverseSendStartStop (bool start) |
Private Attributes | |
DeviceAPI * | m_deviceAPI |
hid_device * | m_dev |
AudioInput | m_fcdAudioInput |
AudioFifo | m_fcdFIFO |
QMutex | m_mutex |
FCDProSettings | m_settings |
FCDProThread * | m_FCDThread |
QString | m_deviceDescription |
bool | m_running |
FileRecord * | m_fileSink |
File sink to record device I/Q output. More... | |
QNetworkAccessManager * | m_networkManager |
QNetworkRequest | m_networkRequest |
Additional Inherited Members | |
Public Types inherited from DeviceSampleSource | |
enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
enum | FrequencyShiftScheme { FSHIFT_STD = 0, FSHIFT_TXSYNC } |
Static Public Member Functions inherited from DeviceSampleSource | |
static qint64 | calculateDeviceCenterFrequency (quint64 centerFrequency, qint64 transverterDeltaFrequency, int log2Decim, fcPos_t fcPos, quint32 devSampleRate, FrequencyShiftScheme frequencyShiftScheme, bool transverterMode=false) |
static qint64 | calculateCenterFrequency (quint64 deviceCenterFrequency, qint64 transverterDeltaFrequency, int log2Decim, fcPos_t fcPos, quint32 devSampleRate, FrequencyShiftScheme frequencyShiftScheme, bool transverterMode=false) |
static qint32 | calculateFrequencyShift (int log2Decim, fcPos_t fcPos, quint32 devSampleRate, FrequencyShiftScheme frequencyShiftScheme) |
Protected Slots inherited from DeviceSampleSource | |
void | handleInputMessages () |
Protected Attributes inherited from DeviceSampleSource | |
SampleSinkFifo | m_sampleFifo |
MessageQueue | m_inputMessageQueue |
Input queue to the source. More... | |
MessageQueue * | m_guiMessageQueue |
Input message queue to the GUI. More... | |
Definition at line 45 of file fcdproinput.h.
FCDProInput::FCDProInput | ( | DeviceAPI * | deviceAPI | ) |
Definition at line 42 of file fcdproinput.cpp.
References arg().
|
virtual |
Definition at line 59 of file fcdproinput.cpp.
References closeDevice(), m_deviceAPI, m_fileSink, m_networkManager, m_running, networkManagerFinished(), DeviceAPI::removeAncillarySink(), and stop().
|
private |
Definition at line 323 of file fcdproinput.cpp.
References DeviceSampleSource::calculateDeviceCenterFrequency(), DeviceAPI::configureCorrections(), DeviceAPI::getDeviceEngineInputMessageQueue(), FileRecord::handleMessage(), FCDProSettings::m_bandIndex, FCDProSettings::m_biasCurrentIndex, FCDProSettings::m_centerFrequency, FCDProSettings::m_dcBlock, m_dev, m_deviceAPI, m_FCDThread, FCDProSettings::m_fcPos, m_fileSink, FCDProSettings::m_gain1Index, FCDProSettings::m_gain2Index, FCDProSettings::m_gain3Index, FCDProSettings::m_gain4Index, FCDProSettings::m_gain5Index, FCDProSettings::m_gain6Index, FCDProSettings::m_ifFilterIndex, FCDProSettings::m_iqCorrection, FCDProSettings::m_lnaEnhanceIndex, FCDProSettings::m_lnaGainIndex, FCDProSettings::m_log2Decim, FCDProSettings::m_LOppmTenths, FCDProSettings::m_mixerFilterIndex, FCDProSettings::m_mixerGainIndex, FCDProSettings::m_modeIndex, FCDProSettings::m_rcFilterIndex, FCDProSettings::m_reverseAPIAddress, FCDProSettings::m_reverseAPIDeviceIndex, FCDProSettings::m_reverseAPIPort, FCDProSettings::m_rfFilterIndex, m_settings, FCDProSettings::m_transverterDeltaFrequency, FCDProSettings::m_transverterMode, FCDProSettings::m_useReverseAPI, MessageQueue::push(), set_band(), set_biasCurrent(), set_center_freq(), set_gain1(), set_gain2(), set_gain3(), set_gain4(), set_gain5(), set_gain6(), set_ifFilter(), set_lnaEnhance(), set_lnaGain(), set_mixerFilter(), set_mixerGain(), set_mode(), set_rcFilter(), set_rfFilter(), FCDProThread::setFcPos(), FCDProThread::setLog2Decimation(), and webapiReverseSendSettings().
Referenced by handleMessage(), init(), and start().
|
private |
Definition at line 150 of file fcdproinput.cpp.
References closeFCDAudio(), fcdClose(), and m_dev.
Referenced by openDevice(), and ~FCDProInput().
|
private |
Definition at line 185 of file fcdproinput.cpp.
References m_fcdAudioInput, m_fcdFIFO, AudioInput::removeFifo(), and AudioInput::stop().
Referenced by closeDevice().
|
virtual |
Implements DeviceSampleSource.
Definition at line 211 of file fcdproinput.cpp.
References FCDProInput::MsgConfigureFCDPro::create(), FCDProSettings::deserialize(), DeviceSampleSource::m_guiMessageQueue, DeviceSampleSource::m_inputMessageQueue, m_settings, MessageQueue::push(), and FCDProSettings::resetToDefaults().
|
virtual |
Implements DeviceSampleSource.
Definition at line 74 of file fcdproinput.cpp.
|
virtual |
Center frequency exposed by the source.
Implements DeviceSampleSource.
Definition at line 243 of file fcdproinput.cpp.
References FCDProSettings::m_centerFrequency, and m_settings.
|
virtual |
Implements DeviceSampleSource.
Definition at line 233 of file fcdproinput.cpp.
References m_deviceDescription.
|
virtual |
Sample rate exposed by the source.
Implements DeviceSampleSource.
Definition at line 238 of file fcdproinput.cpp.
References FCDProSettings::m_log2Decim, and m_settings.
|
virtual |
Implements DeviceSampleSource.
Definition at line 263 of file fcdproinput.cpp.
References applySettings(), FileRecord::genUniqueFileName(), DeviceAPI::getDeviceUID(), FCDProInput::MsgConfigureFCDPro::getForce(), FCDProInput::MsgConfigureFCDPro::getSettings(), FCDProInput::MsgFileRecord::getStartStop(), FCDProInput::MsgStartStop::getStartStop(), DeviceAPI::initDeviceEngine(), m_deviceAPI, FCDProSettings::m_fileRecordName, m_fileSink, m_settings, FCDProSettings::m_useReverseAPI, Message::match(), FileRecord::setFileName(), DeviceAPI::startDeviceEngine(), FileRecord::startRecording(), DeviceAPI::stopDeviceEngine(), FileRecord::stopRecording(), and webapiReverseSendStartStop().
|
virtual |
initializations to be done when all collaborating objects are created and possibly connected
Implements DeviceSampleSource.
Definition at line 108 of file fcdproinput.cpp.
References applySettings(), and m_settings.
|
privateslot |
Definition at line 1156 of file fcdproinput.cpp.
Referenced by ~FCDProInput().
|
private |
Definition at line 79 of file fcdproinput.cpp.
References closeDevice(), fcdOpen(), DeviceAPI::getSamplingDeviceSequence(), m_dev, m_deviceAPI, and openFCDAudio().
|
private |
Definition at line 162 of file fcdproinput.cpp.
References AudioInput::addFifo(), DSPEngine::getAudioDeviceManager(), AudioDeviceManager::getInputDeviceIndex(), AudioDeviceManager::getInputDevices(), AudioInput::getRate(), DSPEngine::instance(), m_fcdAudioInput, m_fcdFIFO, and AudioInput::start().
Referenced by openDevice().
|
virtual |
Implements DeviceSampleSource.
Definition at line 206 of file fcdproinput.cpp.
References m_settings, and FCDProSettings::serialize().
void FCDProInput::set_band | ( | int | index | ) |
Definition at line 633 of file fcdproinput.cpp.
References FCDProConstants::bands, FCD_MODE_APP, fcdAppSetParam(), FCDProConstants::fcdpro_band_nb_values(), FCDPRO_HID_CMD_SET_BAND, m_dev, and fcdpro_band::value.
Referenced by applySettings().
void FCDProInput::set_bias_t | ( | bool | on | ) |
Definition at line 579 of file fcdproinput.cpp.
void FCDProInput::set_biasCurrent | ( | int | index | ) |
Definition at line 678 of file fcdproinput.cpp.
References FCDProConstants::bias_currents, FCD_MODE_APP, fcdAppSetParam(), FCDProConstants::fcdpro_bias_current_nb_values(), FCDPRO_HID_CMD_SET_BIAS_CURRENT, m_dev, and fcdpro_bias_current::value.
Referenced by applySettings().
void FCDProInput::set_center_freq | ( | double | freq | ) |
Definition at line 568 of file fcdproinput.cpp.
References FCD_MODE_NONE, fcdAppSetFreq(), m_dev, FCDProSettings::m_LOppmTenths, and m_settings.
Referenced by applySettings().
void FCDProInput::set_gain1 | ( | int | index | ) |
Definition at line 708 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_IF_GAIN1, FCDProConstants::fcdpro_if_gain1_nb_values(), FCDProConstants::if_gains1, m_dev, and fcdpro_if_gain1::value.
Referenced by applySettings().
void FCDProInput::set_gain2 | ( | int | index | ) |
Definition at line 738 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_IF_GAIN2, FCDProConstants::fcdpro_if_gain2_nb_values(), FCDProConstants::if_gains2, m_dev, and fcdpro_if_gain2::value.
Referenced by applySettings().
void FCDProInput::set_gain3 | ( | int | index | ) |
Definition at line 753 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_IF_GAIN3, FCDProConstants::fcdpro_if_gain3_nb_values(), FCDProConstants::if_gains3, m_dev, and fcdpro_if_gain3::value.
Referenced by applySettings().
void FCDProInput::set_gain4 | ( | int | index | ) |
Definition at line 768 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_IF_GAIN4, FCDProConstants::fcdpro_if_gain4_nb_values(), FCDProConstants::if_gains4, m_dev, and fcdpro_if_gain4::value.
Referenced by applySettings().
void FCDProInput::set_gain5 | ( | int | index | ) |
Definition at line 799 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_IF_GAIN5, FCDProConstants::fcdpro_if_gain5_nb_values(), FCDProConstants::if_gains5, m_dev, and fcdpro_if_gain5::value.
Referenced by applySettings().
void FCDProInput::set_gain6 | ( | int | index | ) |
Definition at line 814 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_IF_GAIN6, FCDProConstants::fcdpro_if_gain6_nb_values(), FCDProConstants::if_gains6, m_dev, and fcdpro_if_gain6::value.
Referenced by applySettings().
void FCDProInput::set_ifFilter | ( | int | index | ) |
Definition at line 783 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_IF_FILTER, FCDProConstants::fcdpro_if_filter_nb_values(), FCDProConstants::if_filters, m_dev, and fcdpro_if_filter::value.
Referenced by applySettings().
void FCDProInput::set_lnaEnhance | ( | int | index | ) |
Definition at line 618 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_LNA_ENHANCE, FCDProConstants::fcdpro_lna_enhance_nb_values(), FCDProConstants::lna_enhances, m_dev, and fcdpro_lna_enhance::value.
Referenced by applySettings().
void FCDProInput::set_lnaGain | ( | int | index | ) |
Definition at line 588 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_LNA_GAIN, FCDProConstants::fcdpro_lna_gain_nb_values(), FCDProConstants::lna_gains, m_dev, and fcdpro_lna_gain::value.
Referenced by applySettings().
void FCDProInput::set_mixerFilter | ( | int | index | ) |
Definition at line 663 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_MIXER_FILTER, FCDProConstants::fcdpro_mixer_filter_nb_values(), m_dev, FCDProConstants::mixer_filters, and fcdpro_mixer_filter::value.
Referenced by applySettings().
void FCDProInput::set_mixerGain | ( | int | index | ) |
Definition at line 648 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_MIXER_GAIN, FCDProConstants::fcdpro_mixer_gain_nb_values(), m_dev, FCDProConstants::mixer_gains, and fcdpro_mixer_gain::value.
Referenced by applySettings().
void FCDProInput::set_mode | ( | int | index | ) |
Definition at line 693 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_IF_GAIN_MODE, FCDProConstants::fcdpro_if_gain_mode_nb_values(), FCDProConstants::if_gain_modes, m_dev, and fcdpro_if_gain_mode::value.
Referenced by applySettings().
void FCDProInput::set_rcFilter | ( | int | index | ) |
Definition at line 723 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_IF_RC_FILTER, FCDProConstants::fcdpro_if_rc_filter_nb_values(), FCDProConstants::if_rc_filters, m_dev, and fcdpro_if_rc_filter::value.
Referenced by applySettings().
void FCDProInput::set_rfFilter | ( | int | index | ) |
Definition at line 603 of file fcdproinput.cpp.
References FCD_MODE_APP, fcdAppSetParam(), FCDPRO_HID_CMD_SET_RF_FILTER, FCDProConstants::fcdpro_rf_filter_nb_values(), m_dev, FCDProConstants::rf_filters, and fcdpro_rf_filter::value.
Referenced by applySettings().
|
virtual |
Implements DeviceSampleSource.
Definition at line 248 of file fcdproinput.cpp.
References FCDProInput::MsgConfigureFCDPro::create(), FCDProSettings::m_centerFrequency, DeviceSampleSource::m_guiMessageQueue, DeviceSampleSource::m_inputMessageQueue, m_settings, and MessageQueue::push().
|
inlinevirtual |
Implements DeviceSampleSource.
Definition at line 120 of file fcdproinput.h.
|
inlinevirtual |
For when the source sample rate is set externally.
Implements DeviceSampleSource.
Definition at line 123 of file fcdproinput.h.
|
virtual |
Implements DeviceSampleSource.
Definition at line 113 of file fcdproinput.cpp.
References applySettings(), m_dev, m_fcdFIFO, m_FCDThread, m_running, DeviceSampleSource::m_sampleFifo, m_settings, SampleSinkFifo::setSize(), FCDProThread::startWork(), and stop().
|
virtual |
Implements DeviceSampleSource.
Definition at line 191 of file fcdproinput.cpp.
References m_FCDThread, m_running, and FCDProThread::stopWork().
Referenced by start(), and ~FCDProInput().
|
private |
Definition at line 978 of file fcdproinput.cpp.
References SWGSDRangel::SWGDeviceSettings::getFcdProSettings(), SWGSDRangel::SWGFCDProSettings::getFileRecordName(), SWGSDRangel::SWGFCDProSettings::getReverseApiAddress(), FCDProSettings::m_bandIndex, FCDProSettings::m_biasCurrentIndex, FCDProSettings::m_centerFrequency, FCDProSettings::m_dcBlock, FCDProSettings::m_fcPos, FCDProSettings::m_fileRecordName, FCDProSettings::m_gain1Index, FCDProSettings::m_gain2Index, FCDProSettings::m_gain3Index, FCDProSettings::m_gain4Index, FCDProSettings::m_gain5Index, FCDProSettings::m_gain6Index, FCDProSettings::m_ifFilterIndex, FCDProSettings::m_iqCorrection, FCDProSettings::m_lnaEnhanceIndex, FCDProSettings::m_lnaGainIndex, FCDProSettings::m_log2Decim, FCDProSettings::m_LOppmTenths, FCDProSettings::m_mixerFilterIndex, FCDProSettings::m_mixerGainIndex, FCDProSettings::m_modeIndex, FCDProSettings::m_rcFilterIndex, FCDProSettings::m_reverseAPIAddress, FCDProSettings::m_reverseAPIDeviceIndex, FCDProSettings::m_reverseAPIPort, FCDProSettings::m_rfFilterIndex, FCDProSettings::m_transverterDeltaFrequency, FCDProSettings::m_transverterMode, FCDProSettings::m_useReverseAPI, SWGSDRangel::SWGFCDProSettings::setBandIndex(), SWGSDRangel::SWGFCDProSettings::setBiasCurrentIndex(), SWGSDRangel::SWGFCDProSettings::setCenterFrequency(), SWGSDRangel::SWGFCDProSettings::setDcBlock(), SWGSDRangel::SWGFCDProSettings::setFcPos(), SWGSDRangel::SWGFCDProSettings::setFileRecordName(), SWGSDRangel::SWGFCDProSettings::setGain1Index(), SWGSDRangel::SWGFCDProSettings::setGain2Index(), SWGSDRangel::SWGFCDProSettings::setGain3Index(), SWGSDRangel::SWGFCDProSettings::setGain4Index(), SWGSDRangel::SWGFCDProSettings::setGain5Index(), SWGSDRangel::SWGFCDProSettings::setGain6Index(), SWGSDRangel::SWGFCDProSettings::setIfFilterIndex(), SWGSDRangel::SWGFCDProSettings::setIqCorrection(), SWGSDRangel::SWGFCDProSettings::setLnaEnhanceIndex(), SWGSDRangel::SWGFCDProSettings::setLnaGainIndex(), SWGSDRangel::SWGFCDProSettings::setLog2Decim(), SWGSDRangel::SWGFCDProSettings::setLOppmTenths(), SWGSDRangel::SWGFCDProSettings::setMixerFilterIndex(), SWGSDRangel::SWGFCDProSettings::setMixerGainIndex(), SWGSDRangel::SWGFCDProSettings::setModeIndex(), SWGSDRangel::SWGFCDProSettings::setRcFilterIndex(), SWGSDRangel::SWGFCDProSettings::setReverseApiAddress(), SWGSDRangel::SWGFCDProSettings::setReverseApiDeviceIndex(), SWGSDRangel::SWGFCDProSettings::setReverseApiPort(), SWGSDRangel::SWGFCDProSettings::setRfFilterIndex(), SWGSDRangel::SWGFCDProSettings::setTransverterDeltaFrequency(), SWGSDRangel::SWGFCDProSettings::setTransverterMode(), and SWGSDRangel::SWGFCDProSettings::setUseReverseApi().
Referenced by webapiSettingsGet(), and webapiSettingsPutPatch().
|
private |
Definition at line 1023 of file fcdproinput.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), DeviceAPI::getDeviceSetIndex(), SWGSDRangel::SWGDeviceSettings::getFcdProSettings(), FCDProSettings::m_bandIndex, FCDProSettings::m_biasCurrentIndex, FCDProSettings::m_centerFrequency, FCDProSettings::m_dcBlock, m_deviceAPI, FCDProSettings::m_fcPos, FCDProSettings::m_fileRecordName, FCDProSettings::m_gain1Index, FCDProSettings::m_gain2Index, FCDProSettings::m_gain3Index, FCDProSettings::m_gain4Index, FCDProSettings::m_gain5Index, FCDProSettings::m_gain6Index, FCDProSettings::m_ifFilterIndex, FCDProSettings::m_iqCorrection, FCDProSettings::m_lnaEnhanceIndex, FCDProSettings::m_lnaGainIndex, FCDProSettings::m_log2Decim, FCDProSettings::m_LOppmTenths, FCDProSettings::m_mixerFilterIndex, FCDProSettings::m_mixerGainIndex, FCDProSettings::m_modeIndex, m_networkManager, m_networkRequest, FCDProSettings::m_rcFilterIndex, FCDProSettings::m_reverseAPIAddress, FCDProSettings::m_reverseAPIDeviceIndex, FCDProSettings::m_reverseAPIPort, FCDProSettings::m_rfFilterIndex, FCDProSettings::m_transverterDeltaFrequency, FCDProSettings::m_transverterMode, SWGSDRangel::SWGFCDProSettings::setBandIndex(), SWGSDRangel::SWGFCDProSettings::setBiasCurrentIndex(), SWGSDRangel::SWGFCDProSettings::setCenterFrequency(), SWGSDRangel::SWGFCDProSettings::setDcBlock(), SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGDeviceSettings::setDirection(), SWGSDRangel::SWGDeviceSettings::setFcdProSettings(), SWGSDRangel::SWGFCDProSettings::setFcPos(), SWGSDRangel::SWGFCDProSettings::setFileRecordName(), SWGSDRangel::SWGFCDProSettings::setGain1Index(), SWGSDRangel::SWGFCDProSettings::setGain2Index(), SWGSDRangel::SWGFCDProSettings::setGain3Index(), SWGSDRangel::SWGFCDProSettings::setGain4Index(), SWGSDRangel::SWGFCDProSettings::setGain5Index(), SWGSDRangel::SWGFCDProSettings::setGain6Index(), SWGSDRangel::SWGFCDProSettings::setIfFilterIndex(), SWGSDRangel::SWGFCDProSettings::setIqCorrection(), SWGSDRangel::SWGFCDProSettings::setLnaEnhanceIndex(), SWGSDRangel::SWGFCDProSettings::setLnaGainIndex(), SWGSDRangel::SWGFCDProSettings::setLog2Decim(), SWGSDRangel::SWGFCDProSettings::setLOppmTenths(), SWGSDRangel::SWGFCDProSettings::setMixerFilterIndex(), SWGSDRangel::SWGFCDProSettings::setMixerGainIndex(), SWGSDRangel::SWGFCDProSettings::setModeIndex(), SWGSDRangel::SWGDeviceSettings::setOriginatorIndex(), SWGSDRangel::SWGFCDProSettings::setRcFilterIndex(), SWGSDRangel::SWGFCDProSettings::setRfFilterIndex(), SWGSDRangel::SWGFCDProSettings::setTransverterDeltaFrequency(), and SWGSDRangel::SWGFCDProSettings::setTransverterMode().
Referenced by applySettings().
|
private |
Definition at line 1128 of file fcdproinput.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), DeviceAPI::getDeviceSetIndex(), m_deviceAPI, m_networkManager, m_networkRequest, FCDProSettings::m_reverseAPIAddress, FCDProSettings::m_reverseAPIDeviceIndex, FCDProSettings::m_reverseAPIPort, m_settings, SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGDeviceSettings::setDirection(), and SWGSDRangel::SWGDeviceSettings::setOriginatorIndex().
Referenced by handleMessage().
|
virtual |
Reimplemented from DeviceSampleSource.
Definition at line 838 of file fcdproinput.cpp.
References FCDProInput::MsgStartStop::create(), DeviceAPI::getDeviceEngineStateStr(), SWGSDRangel::SWGDeviceState::getState(), m_deviceAPI, DeviceSampleSource::m_guiMessageQueue, DeviceSampleSource::m_inputMessageQueue, and MessageQueue::push().
|
virtual |
Reimplemented from DeviceSampleSource.
Definition at line 829 of file fcdproinput.cpp.
References DeviceAPI::getDeviceEngineStateStr(), SWGSDRangel::SWGDeviceState::getState(), and m_deviceAPI.
|
virtual |
Reimplemented from DeviceSampleSource.
Definition at line 857 of file fcdproinput.cpp.
References SWGSDRangel::SWGDeviceSettings::getFcdProSettings(), SWGSDRangel::SWGFCDProSettings::init(), m_settings, SWGSDRangel::SWGDeviceSettings::setFcdProSettings(), and webapiFormatDeviceSettings().
|
virtual |
Reimplemented from DeviceSampleSource.
Definition at line 868 of file fcdproinput.cpp.
References FCDProInput::MsgConfigureFCDPro::create(), SWGSDRangel::SWGFCDProSettings::getBandIndex(), SWGSDRangel::SWGFCDProSettings::getBiasCurrentIndex(), SWGSDRangel::SWGFCDProSettings::getCenterFrequency(), SWGSDRangel::SWGFCDProSettings::getDcBlock(), SWGSDRangel::SWGDeviceSettings::getFcdProSettings(), SWGSDRangel::SWGFCDProSettings::getFcPos(), SWGSDRangel::SWGFCDProSettings::getFileRecordName(), SWGSDRangel::SWGFCDProSettings::getGain1Index(), SWGSDRangel::SWGFCDProSettings::getGain2Index(), SWGSDRangel::SWGFCDProSettings::getGain3Index(), SWGSDRangel::SWGFCDProSettings::getGain4Index(), SWGSDRangel::SWGFCDProSettings::getGain5Index(), SWGSDRangel::SWGFCDProSettings::getGain6Index(), SWGSDRangel::SWGFCDProSettings::getIfFilterIndex(), SWGSDRangel::SWGFCDProSettings::getIqCorrection(), SWGSDRangel::SWGFCDProSettings::getLnaEnhanceIndex(), SWGSDRangel::SWGFCDProSettings::getLnaGainIndex(), SWGSDRangel::SWGFCDProSettings::getLog2Decim(), SWGSDRangel::SWGFCDProSettings::getLOppmTenths(), SWGSDRangel::SWGFCDProSettings::getMixerFilterIndex(), SWGSDRangel::SWGFCDProSettings::getMixerGainIndex(), SWGSDRangel::SWGFCDProSettings::getModeIndex(), SWGSDRangel::SWGFCDProSettings::getRcFilterIndex(), SWGSDRangel::SWGFCDProSettings::getReverseApiAddress(), SWGSDRangel::SWGFCDProSettings::getReverseApiDeviceIndex(), SWGSDRangel::SWGFCDProSettings::getReverseApiPort(), SWGSDRangel::SWGFCDProSettings::getRfFilterIndex(), SWGSDRangel::SWGFCDProSettings::getTransverterDeltaFrequency(), SWGSDRangel::SWGFCDProSettings::getTransverterMode(), SWGSDRangel::SWGFCDProSettings::getUseReverseApi(), FCDProSettings::m_bandIndex, FCDProSettings::m_biasCurrentIndex, FCDProSettings::m_centerFrequency, FCDProSettings::m_dcBlock, FCDProSettings::m_fcPos, FCDProSettings::m_fileRecordName, FCDProSettings::m_gain1Index, FCDProSettings::m_gain2Index, FCDProSettings::m_gain3Index, FCDProSettings::m_gain4Index, FCDProSettings::m_gain5Index, FCDProSettings::m_gain6Index, DeviceSampleSource::m_guiMessageQueue, FCDProSettings::m_ifFilterIndex, DeviceSampleSource::m_inputMessageQueue, FCDProSettings::m_iqCorrection, FCDProSettings::m_lnaEnhanceIndex, FCDProSettings::m_lnaGainIndex, FCDProSettings::m_log2Decim, FCDProSettings::m_LOppmTenths, FCDProSettings::m_mixerFilterIndex, FCDProSettings::m_mixerGainIndex, FCDProSettings::m_modeIndex, FCDProSettings::m_rcFilterIndex, FCDProSettings::m_reverseAPIAddress, FCDProSettings::m_reverseAPIDeviceIndex, FCDProSettings::m_reverseAPIPort, FCDProSettings::m_rfFilterIndex, m_settings, FCDProSettings::m_transverterDeltaFrequency, FCDProSettings::m_transverterMode, FCDProSettings::m_useReverseAPI, MessageQueue::push(), and webapiFormatDeviceSettings().
|
private |
Definition at line 169 of file fcdproinput.h.
Referenced by applySettings(), closeDevice(), openDevice(), set_band(), set_biasCurrent(), set_center_freq(), set_gain1(), set_gain2(), set_gain3(), set_gain4(), set_gain5(), set_gain6(), set_ifFilter(), set_lnaEnhance(), set_lnaGain(), set_mixerFilter(), set_mixerGain(), set_mode(), set_rcFilter(), set_rfFilter(), and start().
|
private |
Definition at line 168 of file fcdproinput.h.
Referenced by applySettings(), handleMessage(), openDevice(), webapiReverseSendSettings(), webapiReverseSendStartStop(), webapiRun(), webapiRunGet(), and ~FCDProInput().
|
private |
Definition at line 175 of file fcdproinput.h.
Referenced by getDeviceDescription().
|
private |
Definition at line 170 of file fcdproinput.h.
Referenced by closeFCDAudio(), and openFCDAudio().
|
private |
Definition at line 171 of file fcdproinput.h.
Referenced by closeFCDAudio(), openFCDAudio(), and start().
|
private |
Definition at line 174 of file fcdproinput.h.
Referenced by applySettings(), start(), and stop().
|
private |
File sink to record device I/Q output.
Definition at line 177 of file fcdproinput.h.
Referenced by applySettings(), handleMessage(), and ~FCDProInput().
|
private |
Definition at line 172 of file fcdproinput.h.
|
private |
Definition at line 178 of file fcdproinput.h.
Referenced by webapiReverseSendSettings(), webapiReverseSendStartStop(), and ~FCDProInput().
|
private |
Definition at line 179 of file fcdproinput.h.
Referenced by webapiReverseSendSettings(), and webapiReverseSendStartStop().
|
private |
Definition at line 176 of file fcdproinput.h.
Referenced by start(), stop(), and ~FCDProInput().
|
private |
Definition at line 173 of file fcdproinput.h.
Referenced by applySettings(), deserialize(), getCenterFrequency(), getSampleRate(), handleMessage(), init(), serialize(), set_center_freq(), setCenterFrequency(), start(), webapiReverseSendStartStop(), webapiSettingsGet(), and webapiSettingsPutPatch().