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 <plutosdroutputsettings.h>
Public Types | |
enum | RFPath { RFPATH_A = 0, RFPATH_B, RFPATH_END } |
Public Member Functions | |
PlutoSDROutputSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Static Public Member Functions | |
static void | translateRFPath (RFPath path, 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_lpfFIRlog2Interp |
digital lowpass FIR filter log2 of interpolation factor (0..2) More... | |
int | m_lpfFIRGain |
digital lowpass FIR filter gain (dB) More... | |
quint32 | m_log2Interp |
quint32 | m_lpfBW |
analog lowpass filter bandwidth (Hz) More... | |
qint32 | m_att |
"hardware" attenuation in dB fourths More... | |
RFPath | m_antennaPath |
bool | m_transverterMode |
qint64 | m_transverterDeltaFrequency |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
Definition at line 26 of file plutosdroutputsettings.h.
PlutoSDROutputSettings::PlutoSDROutputSettings | ( | ) |
Definition at line 23 of file plutosdroutputsettings.cpp.
References resetToDefaults().
bool PlutoSDROutputSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 73 of file plutosdroutputsettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_antennaPath, m_att, m_devSampleRate, m_log2Interp, m_LOppmTenths, m_lpfBW, m_lpfFIRBW, m_lpfFIREnable, m_lpfFIRGain, m_lpfFIRlog2Interp, 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, and RFPATH_END.
Referenced by PlutoSDROutputGUI::deserialize(), and PlutoSDROutput::deserialize().
void PlutoSDROutputSettings::resetToDefaults | ( | ) |
Definition at line 28 of file plutosdroutputsettings.cpp.
References m_antennaPath, m_att, m_centerFrequency, m_devSampleRate, m_log2Interp, m_LOppmTenths, m_lpfBW, m_lpfFIRBW, m_lpfFIREnable, m_lpfFIRGain, m_lpfFIRlog2Interp, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useReverseAPI, and RFPATH_A.
Referenced by deserialize(), PlutoSDROutput::deserialize(), and PlutoSDROutputSettings().
QByteArray PlutoSDROutputSettings::serialize | ( | ) | const |
Definition at line 49 of file plutosdroutputsettings.cpp.
References SimpleSerializer::final(), m_antennaPath, m_att, m_devSampleRate, m_log2Interp, m_LOppmTenths, m_lpfBW, m_lpfFIRBW, m_lpfFIREnable, m_lpfFIRGain, m_lpfFIRlog2Interp, 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 PlutoSDROutputGUI::serialize(), and PlutoSDROutput::serialize().
|
static |
Definition at line 132 of file plutosdroutputsettings.cpp.
References RFPATH_A, and RFPATH_B.
Referenced by PlutoSDROutput::applySettings().
RFPath PlutoSDROutputSettings::m_antennaPath |
Definition at line 47 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutputGUI::on_antenna_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
qint32 PlutoSDROutputSettings::m_att |
"hardware" attenuation in dB fourths
Definition at line 46 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutputGUI::on_att_valueChanged(), resetToDefaults(), serialize(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
quint64 PlutoSDROutputSettings::m_centerFrequency |
Definition at line 35 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutputGUI::getCenterFrequency(), PlutoSDROutput::getCenterFrequency(), PlutoSDROutputGUI::on_centerFrequency_changed(), PlutoSDROutputGUI::on_transverter_clicked(), resetToDefaults(), PlutoSDROutputGUI::setCenterFrequency(), PlutoSDROutput::setCenterFrequency(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
quint64 PlutoSDROutputSettings::m_devSampleRate |
Host interface sample rate.
Definition at line 37 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySampleRate(), PlutoSDROutput::getSampleRate(), PlutoSDROutputGUI::handleMessage(), PlutoSDROutput::handleMessage(), PlutoSDROutputGUI::on_sampleRate_changed(), PlutoSDROutputGUI::on_swInterp_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDROutputGUI::setSampleRateLimits(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
quint32 PlutoSDROutputSettings::m_log2Interp |
Definition at line 44 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySampleRate(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutput::getSampleRate(), PlutoSDROutputGUI::on_sampleRate_changed(), PlutoSDROutputGUI::on_swInterp_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDROutput::start(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
qint32 PlutoSDROutputSettings::m_LOppmTenths |
XO correction.
Definition at line 38 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutputGUI::handleMessage(), PlutoSDROutput::handleMessage(), PlutoSDROutputGUI::on_loPPM_valueChanged(), resetToDefaults(), serialize(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
quint32 PlutoSDROutputSettings::m_lpfBW |
analog lowpass filter bandwidth (Hz)
Definition at line 45 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutputGUI::on_lpf_changed(), resetToDefaults(), serialize(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
quint32 PlutoSDROutputSettings::m_lpfFIRBW |
digital lowpass FIR filter bandwidth (Hz)
Definition at line 40 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutputGUI::handleMessage(), PlutoSDROutput::handleMessage(), PlutoSDROutputGUI::on_lpFIR_changed(), resetToDefaults(), serialize(), PlutoSDROutputGUI::setFIRBWLimits(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
bool PlutoSDROutputSettings::m_lpfFIREnable |
enable digital lowpass FIR filter
Definition at line 39 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutputGUI::handleMessage(), PlutoSDROutput::handleMessage(), PlutoSDROutputGUI::on_lpFIREnable_toggled(), resetToDefaults(), serialize(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
int PlutoSDROutputSettings::m_lpfFIRGain |
digital lowpass FIR filter gain (dB)
Definition at line 42 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutputGUI::on_lpFIRGain_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
quint32 PlutoSDROutputSettings::m_lpfFIRlog2Interp |
digital lowpass FIR filter log2 of interpolation factor (0..2)
Definition at line 41 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutputGUI::handleMessage(), PlutoSDROutput::handleMessage(), PlutoSDROutputGUI::on_lpFIRInterpolation_currentIndexChanged(), resetToDefaults(), serialize(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
QString PlutoSDROutputSettings::m_reverseAPIAddress |
Definition at line 51 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::openDeviceSettingsDialog(), resetToDefaults(), serialize(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), PlutoSDROutput::webapiReverseSendStartStop(), and PlutoSDROutput::webapiSettingsPutPatch().
uint16_t PlutoSDROutputSettings::m_reverseAPIDeviceIndex |
Definition at line 53 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::openDeviceSettingsDialog(), resetToDefaults(), serialize(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), PlutoSDROutput::webapiReverseSendStartStop(), and PlutoSDROutput::webapiSettingsPutPatch().
uint16_t PlutoSDROutputSettings::m_reverseAPIPort |
Definition at line 52 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::openDeviceSettingsDialog(), resetToDefaults(), serialize(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), PlutoSDROutput::webapiReverseSendStartStop(), and PlutoSDROutput::webapiSettingsPutPatch().
qint64 PlutoSDROutputSettings::m_transverterDeltaFrequency |
Definition at line 49 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutputGUI::on_transverter_clicked(), resetToDefaults(), serialize(), PlutoSDROutputGUI::updateFrequencyLimits(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
bool PlutoSDROutputSettings::m_transverterMode |
Definition at line 48 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutputGUI::displaySettings(), PlutoSDROutputGUI::on_transverter_clicked(), resetToDefaults(), serialize(), PlutoSDROutputGUI::updateFrequencyLimits(), PlutoSDROutput::webapiFormatDeviceSettings(), PlutoSDROutput::webapiReverseSendSettings(), and PlutoSDROutput::webapiSettingsPutPatch().
bool PlutoSDROutputSettings::m_useReverseAPI |
Definition at line 50 of file plutosdroutputsettings.h.
Referenced by PlutoSDROutput::applySettings(), deserialize(), PlutoSDROutput::handleMessage(), PlutoSDROutputGUI::openDeviceSettingsDialog(), resetToDefaults(), serialize(), PlutoSDROutput::webapiFormatDeviceSettings(), and PlutoSDROutput::webapiSettingsPutPatch().