![]() |
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 <plutosdrinputsettings.h>
Public Types | |
| enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER, FC_POS_END } |
| enum | RFPath { RFPATH_A_BAL = 0, RFPATH_B_BAL, RFPATH_C_BAL, RFPATH_A_NEG, RFPATH_A_POS, RFPATH_B_NEG, RFPATH_B_POS, RFPATH_C_NEG, RFPATH_C_POS, RFPATH_TX1MON, RFPATH_TX2MON, RFPATH_TX3MON, RFPATH_END } |
| enum | GainMode { GAIN_MANUAL, GAIN_AGC_SLOW, GAIN_AGC_FAST, GAIN_HYBRID, GAIN_END } |
Public Member Functions | |
| PlutoSDRInputSettings () | |
| void | resetToDefaults () |
| QByteArray | serialize () const |
| bool | deserialize (const QByteArray &data) |
Static Public Member Functions | |
| static void | translateRFPath (RFPath path, QString &s) |
| static void | translateGainMode (GainMode mod, QString &s) |
Public Attributes | |
| quint64 | m_centerFrequency |
| quint64 | m_devSampleRate |
| Host interface sample rate. More... | |
| qint32 | m_LOppmTenths |
| XO correction. More... | |
| bool | m_lpfFIREnable |
| enable digital lowpass FIR filter More... | |
| quint32 | m_lpfFIRBW |
| digital lowpass FIR filter bandwidth (Hz) More... | |
| quint32 | m_lpfFIRlog2Decim |
| digital lowpass FIR filter log2 of decimation factor (0..2) More... | |
| int | m_lpfFIRGain |
| digital lowpass FIR filter gain (dB) More... | |
| fcPos_t | m_fcPos |
| bool | m_dcBlock |
| bool | m_iqCorrection |
| bool | m_hwBBDCBlock |
| Hardware baseband DC blocking. More... | |
| bool | m_hwRFDCBlock |
| Hardware RF DC blocking. More... | |
| bool | m_hwIQCorrection |
| Hardware IQ correction. More... | |
| quint32 | m_log2Decim |
| quint32 | m_lpfBW |
| analog lowpass filter bandwidth (Hz) More... | |
| quint32 | m_gain |
| "hardware" gain More... | |
| RFPath | m_antennaPath |
| GainMode | m_gainMode |
| bool | m_transverterMode |
| qint64 | m_transverterDeltaFrequency |
| QString | m_fileRecordName |
| bool | m_useReverseAPI |
| QString | m_reverseAPIAddress |
| uint16_t | m_reverseAPIPort |
| uint16_t | m_reverseAPIDeviceIndex |
Definition at line 25 of file plutosdrinputsettings.h.
| Enumerator | |
|---|---|
| FC_POS_INFRA | |
| FC_POS_SUPRA | |
| FC_POS_CENTER | |
| FC_POS_END | |
Definition at line 26 of file plutosdrinputsettings.h.
| Enumerator | |
|---|---|
| GAIN_MANUAL | |
| GAIN_AGC_SLOW | |
| GAIN_AGC_FAST | |
| GAIN_HYBRID | |
| GAIN_END | |
Definition at line 50 of file plutosdrinputsettings.h.
| Enumerator | |
|---|---|
| RFPATH_A_BAL | |
| RFPATH_B_BAL | |
| RFPATH_C_BAL | |
| RFPATH_A_NEG | |
| RFPATH_A_POS | |
| RFPATH_B_NEG | |
| RFPATH_B_POS | |
| RFPATH_C_NEG | |
| RFPATH_C_POS | |
| RFPATH_TX1MON | |
| RFPATH_TX2MON | |
| RFPATH_TX3MON | |
| RFPATH_END | |
Definition at line 33 of file plutosdrinputsettings.h.
| PlutoSDRInputSettings::PlutoSDRInputSettings | ( | ) |
Definition at line 24 of file plutosdrinputsettings.cpp.
References resetToDefaults().
Here is the call graph for this function:| bool PlutoSDRInputSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 89 of file plutosdrinputsettings.cpp.
References FC_POS_INFRA, GAIN_END, GAIN_MANUAL, SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_antennaPath, m_dcBlock, m_devSampleRate, m_fcPos, m_gain, m_gainMode, m_hwBBDCBlock, m_hwIQCorrection, m_hwRFDCBlock, m_iqCorrection, m_log2Decim, m_LOppmTenths, m_lpfBW, m_lpfFIRBW, m_lpfFIREnable, m_lpfFIRGain, m_lpfFIRlog2Decim, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useReverseAPI, SimpleDeserializer::readBool(), SimpleDeserializer::readS32(), SimpleDeserializer::readS64(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), SimpleDeserializer::readU64(), resetToDefaults(), RFPATH_A_BAL, and RFPATH_END.
Referenced by PlutoSDRInputGui::deserialize(), and PlutoSDRInput::deserialize().
Here is the call graph for this function:
Here is the caller graph for this function:| void PlutoSDRInputSettings::resetToDefaults | ( | ) |
Definition at line 29 of file plutosdrinputsettings.cpp.
References FC_POS_CENTER, GAIN_MANUAL, m_antennaPath, m_centerFrequency, m_dcBlock, m_devSampleRate, m_fcPos, m_fileRecordName, m_gain, m_gainMode, m_hwBBDCBlock, m_hwIQCorrection, m_hwRFDCBlock, m_iqCorrection, m_log2Decim, m_LOppmTenths, m_lpfBW, m_lpfFIRBW, m_lpfFIREnable, m_lpfFIRGain, m_lpfFIRlog2Decim, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useReverseAPI, and RFPATH_A_BAL.
Referenced by deserialize(), PlutoSDRInput::deserialize(), and PlutoSDRInputSettings().
Here is the caller graph for this function:| QByteArray PlutoSDRInputSettings::serialize | ( | ) | const |
Definition at line 58 of file plutosdrinputsettings.cpp.
References SimpleSerializer::final(), m_antennaPath, m_dcBlock, m_devSampleRate, m_fcPos, m_gain, m_gainMode, m_hwBBDCBlock, m_hwIQCorrection, m_hwRFDCBlock, m_iqCorrection, m_log2Decim, m_LOppmTenths, m_lpfBW, m_lpfFIRBW, m_lpfFIREnable, m_lpfFIRGain, m_lpfFIRlog2Decim, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useReverseAPI, SimpleSerializer::writeBool(), SimpleSerializer::writeS32(), SimpleSerializer::writeS64(), SimpleSerializer::writeString(), SimpleSerializer::writeU32(), and SimpleSerializer::writeU64().
Referenced by PlutoSDRInputGui::serialize(), and PlutoSDRInput::serialize().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 212 of file plutosdrinputsettings.cpp.
References GAIN_AGC_FAST, GAIN_AGC_SLOW, GAIN_HYBRID, and GAIN_MANUAL.
Referenced by PlutoSDRInput::applySettings().
Here is the caller graph for this function:
|
static |
Definition at line 166 of file plutosdrinputsettings.cpp.
References RFPATH_A_BAL, RFPATH_A_NEG, RFPATH_A_POS, RFPATH_B_BAL, RFPATH_B_NEG, RFPATH_B_POS, RFPATH_C_BAL, RFPATH_C_NEG, RFPATH_C_POS, RFPATH_TX1MON, RFPATH_TX2MON, and RFPATH_TX3MON.
Referenced by PlutoSDRInput::applySettings().
Here is the caller graph for this function:| RFPath PlutoSDRInputSettings::m_antennaPath |
Definition at line 77 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_antenna_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| quint64 PlutoSDRInputSettings::m_centerFrequency |
Definition at line 59 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::getCenterFrequency(), PlutoSDRInput::getCenterFrequency(), PlutoSDRInputGui::on_centerFrequency_changed(), PlutoSDRInputGui::on_transverter_clicked(), resetToDefaults(), PlutoSDRInputGui::setCenterFrequency(), PlutoSDRInput::setCenterFrequency(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| bool PlutoSDRInputSettings::m_dcBlock |
Definition at line 69 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_dcOffset_toggled(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| quint64 PlutoSDRInputSettings::m_devSampleRate |
Host interface sample rate.
Definition at line 61 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displayFcTooltip(), PlutoSDRInputGui::displaySampleRate(), PlutoSDRInput::getSampleRate(), PlutoSDRInputGui::handleMessage(), PlutoSDRInput::handleMessage(), PlutoSDRInputGui::on_sampleRate_changed(), PlutoSDRInputGui::on_swDecim_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDRInputGui::setSampleRateLimits(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| fcPos_t PlutoSDRInputSettings::m_fcPos |
Definition at line 68 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displayFcTooltip(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_fcPos_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| QString PlutoSDRInputSettings::m_fileRecordName |
Definition at line 81 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), PlutoSDRInput::handleMessage(), resetToDefaults(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| quint32 PlutoSDRInputSettings::m_gain |
"hardware" gain
Definition at line 76 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_gain_valueChanged(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| GainMode PlutoSDRInputSettings::m_gainMode |
Definition at line 78 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_gainMode_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| bool PlutoSDRInputSettings::m_hwBBDCBlock |
Hardware baseband DC blocking.
Definition at line 71 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_bbDCOffset_toggled(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| bool PlutoSDRInputSettings::m_hwIQCorrection |
Hardware IQ correction.
Definition at line 73 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_hwIQImbalance_toggled(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), and PlutoSDRInput::webapiReverseSendSettings().
| bool PlutoSDRInputSettings::m_hwRFDCBlock |
Hardware RF DC blocking.
Definition at line 72 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_rfDCOffset_toggled(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), and PlutoSDRInput::webapiReverseSendSettings().
| bool PlutoSDRInputSettings::m_iqCorrection |
Definition at line 70 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_iqImbalance_toggled(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| quint32 PlutoSDRInputSettings::m_log2Decim |
Definition at line 74 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displayFcTooltip(), PlutoSDRInputGui::displaySampleRate(), PlutoSDRInputGui::displaySettings(), PlutoSDRInput::getSampleRate(), PlutoSDRInputGui::on_sampleRate_changed(), PlutoSDRInputGui::on_swDecim_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDRInput::start(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| qint32 PlutoSDRInputSettings::m_LOppmTenths |
XO correction.
Definition at line 62 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::handleMessage(), PlutoSDRInput::handleMessage(), PlutoSDRInputGui::on_loPPM_valueChanged(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| quint32 PlutoSDRInputSettings::m_lpfBW |
analog lowpass filter bandwidth (Hz)
Definition at line 75 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_lpf_changed(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| quint32 PlutoSDRInputSettings::m_lpfFIRBW |
digital lowpass FIR filter bandwidth (Hz)
Definition at line 64 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::handleMessage(), PlutoSDRInput::handleMessage(), PlutoSDRInputGui::on_lpFIR_changed(), resetToDefaults(), serialize(), PlutoSDRInputGui::setFIRBWLimits(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| bool PlutoSDRInputSettings::m_lpfFIREnable |
enable digital lowpass FIR filter
Definition at line 63 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::handleMessage(), PlutoSDRInput::handleMessage(), PlutoSDRInputGui::on_lpFIREnable_toggled(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| int PlutoSDRInputSettings::m_lpfFIRGain |
digital lowpass FIR filter gain (dB)
Definition at line 66 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_lpFIRGain_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| quint32 PlutoSDRInputSettings::m_lpfFIRlog2Decim |
digital lowpass FIR filter log2 of decimation factor (0..2)
Definition at line 65 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::handleMessage(), PlutoSDRInput::handleMessage(), PlutoSDRInputGui::on_lpFIRDecimation_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| QString PlutoSDRInputSettings::m_reverseAPIAddress |
Definition at line 83 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), PlutoSDRInput::webapiReverseSendStartStop(), and PlutoSDRInput::webapiSettingsPutPatch().
| uint16_t PlutoSDRInputSettings::m_reverseAPIDeviceIndex |
Definition at line 85 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), PlutoSDRInput::webapiReverseSendStartStop(), and PlutoSDRInput::webapiSettingsPutPatch().
| uint16_t PlutoSDRInputSettings::m_reverseAPIPort |
Definition at line 84 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), PlutoSDRInput::webapiReverseSendStartStop(), and PlutoSDRInput::webapiSettingsPutPatch().
| qint64 PlutoSDRInputSettings::m_transverterDeltaFrequency |
Definition at line 80 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_transverter_clicked(), resetToDefaults(), serialize(), PlutoSDRInputGui::updateFrequencyLimits(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| bool PlutoSDRInputSettings::m_transverterMode |
Definition at line 79 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInputGui::displaySettings(), PlutoSDRInputGui::on_transverter_clicked(), resetToDefaults(), serialize(), PlutoSDRInputGui::updateFrequencyLimits(), PlutoSDRInput::webapiFormatDeviceSettings(), PlutoSDRInput::webapiReverseSendSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
| bool PlutoSDRInputSettings::m_useReverseAPI |
Definition at line 82 of file plutosdrinputsettings.h.
Referenced by PlutoSDRInput::applySettings(), deserialize(), PlutoSDRInput::handleMessage(), PlutoSDRInputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), PlutoSDRInput::webapiFormatDeviceSettings(), and PlutoSDRInput::webapiSettingsPutPatch().
1.8.13