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 <limesdroutputsettings.h>
Public Types | |
enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
enum | PathRFE { PATH_RFE_NONE = 0, PATH_RFE_TXRF1, PATH_RFE_TXEF2 } |
Public Member Functions | |
LimeSDROutputSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
uint64_t | m_centerFrequency |
int | m_devSampleRate |
uint32_t | m_log2HardInterp |
uint32_t | m_log2SoftInterp |
float | m_lpfBW |
LMS amalog lowpass filter bandwidth (Hz) More... | |
bool | m_lpfFIREnable |
Enable LMS digital lowpass FIR filters. More... | |
float | m_lpfFIRBW |
LMS digital lowpass FIR filters bandwidth (Hz) More... | |
uint32_t | m_gain |
Optimally distributed gain (dB) More... | |
bool | m_ncoEnable |
Enable TSP NCO and mixing. More... | |
int | m_ncoFrequency |
Actual NCO frequency (the resulting frequency with mixing is displayed) More... | |
PathRFE | m_antennaPath |
bool | m_extClock |
True if external clock source. More... | |
uint32_t | m_extClockFreq |
Frequency (Hz) of external clock source. More... | |
bool | m_transverterMode |
qint64 | m_transverterDeltaFrequency |
uint8_t | m_gpioDir |
GPIO pin direction LSB first; 0 input, 1 output. More... | |
uint8_t | m_gpioPins |
GPIO pins to write; LSB first. More... | |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
These are the settings individual to each hardware channel or software Tx chain Plus the settings to be saved in the presets
Definition at line 30 of file limesdroutputsettings.h.
Enumerator | |
---|---|
FC_POS_INFRA | |
FC_POS_SUPRA | |
FC_POS_CENTER |
Definition at line 32 of file limesdroutputsettings.h.
Enumerator | |
---|---|
PATH_RFE_NONE | |
PATH_RFE_TXRF1 | |
PATH_RFE_TXEF2 |
Definition at line 38 of file limesdroutputsettings.h.
LimeSDROutputSettings::LimeSDROutputSettings | ( | ) |
Definition at line 22 of file limesdroutputsettings.cpp.
References resetToDefaults().
bool LimeSDROutputSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 80 of file limesdroutputsettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_antennaPath, m_devSampleRate, m_extClock, m_extClockFreq, m_gain, m_gpioDir, m_gpioPins, m_log2HardInterp, m_log2SoftInterp, m_lpfBW, m_lpfFIRBW, m_lpfFIREnable, m_ncoEnable, m_ncoFrequency, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useReverseAPI, SimpleDeserializer::readBool(), SimpleDeserializer::readFloat(), SimpleDeserializer::readS32(), SimpleDeserializer::readS64(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by LimeSDROutputGUI::deserialize(), and LimeSDROutput::deserialize().
void LimeSDROutputSettings::resetToDefaults | ( | ) |
Definition at line 27 of file limesdroutputsettings.cpp.
References m_antennaPath, m_centerFrequency, m_devSampleRate, m_extClock, m_extClockFreq, m_gain, m_gpioDir, m_gpioPins, m_log2HardInterp, m_log2SoftInterp, m_lpfBW, m_lpfFIRBW, m_lpfFIREnable, m_ncoEnable, m_ncoFrequency, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useReverseAPI, and PATH_RFE_NONE.
Referenced by deserialize(), LimeSDROutput::deserialize(), LimeSDROutputSettings(), and LimeSDROutputGUI::resetToDefaults().
QByteArray LimeSDROutputSettings::serialize | ( | ) | const |
Definition at line 52 of file limesdroutputsettings.cpp.
References SimpleSerializer::final(), m_antennaPath, m_devSampleRate, m_extClock, m_extClockFreq, m_gain, m_gpioDir, m_gpioPins, m_log2HardInterp, m_log2SoftInterp, m_lpfBW, m_lpfFIRBW, m_lpfFIREnable, m_ncoEnable, m_ncoFrequency, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useReverseAPI, SimpleSerializer::writeBool(), SimpleSerializer::writeFloat(), SimpleSerializer::writeS32(), SimpleSerializer::writeS64(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by LimeSDROutputGUI::serialize(), and LimeSDROutput::serialize().
PathRFE LimeSDROutputSettings::m_antennaPath |
Definition at line 57 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySettings(), LimeSDROutputGUI::on_antenna_currentIndexChanged(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
uint64_t LimeSDROutputSettings::m_centerFrequency |
Definition at line 46 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), LimeSDROutputGUI::getCenterFrequency(), LimeSDROutput::getCenterFrequency(), LimeSDROutputGUI::handleMessage(), LimeSDROutput::handleMessage(), resetToDefaults(), LimeSDROutputGUI::setCenterFrequency(), LimeSDROutput::setCenterFrequency(), LimeSDROutputGUI::setCenterFrequencyDisplay(), LimeSDROutputGUI::setCenterFrequencySetting(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
int LimeSDROutputSettings::m_devSampleRate |
Definition at line 47 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySampleRate(), LimeSDROutput::getSampleRate(), LimeSDROutputGUI::handleMessage(), LimeSDROutput::handleMessage(), LimeSDROutputGUI::on_sampleRate_changed(), LimeSDROutputGUI::on_swInterp_currentIndexChanged(), resetToDefaults(), serialize(), LimeSDROutputGUI::setNCODisplay(), LimeSDROutputGUI::updateDACRate(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
bool LimeSDROutputSettings::m_extClock |
True if external clock source.
Definition at line 58 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySettings(), LimeSDROutputGUI::handleMessage(), LimeSDROutput::handleMessage(), LimeSDROutputGUI::on_extClock_clicked(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
uint32_t LimeSDROutputSettings::m_extClockFreq |
Frequency (Hz) of external clock source.
Definition at line 59 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySettings(), LimeSDROutputGUI::handleMessage(), LimeSDROutput::handleMessage(), LimeSDROutputGUI::on_extClock_clicked(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
uint32_t LimeSDROutputSettings::m_gain |
Optimally distributed gain (dB)
Definition at line 54 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySettings(), LimeSDROutputGUI::on_gain_valueChanged(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
uint8_t LimeSDROutputSettings::m_gpioDir |
GPIO pin direction LSB first; 0 input, 1 output.
Definition at line 62 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutput::handleMessage(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
uint8_t LimeSDROutputSettings::m_gpioPins |
GPIO pins to write; LSB first.
Definition at line 63 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutput::handleMessage(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
uint32_t LimeSDROutputSettings::m_log2HardInterp |
Definition at line 48 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySettings(), LimeSDROutputGUI::handleMessage(), LimeSDROutput::handleMessage(), LimeSDROutputGUI::on_hwInterp_currentIndexChanged(), resetToDefaults(), serialize(), LimeSDROutputGUI::setNCODisplay(), LimeSDROutputGUI::updateDACRate(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
uint32_t LimeSDROutputSettings::m_log2SoftInterp |
Definition at line 50 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySampleRate(), LimeSDROutputGUI::displaySettings(), LimeSDROutput::getSampleRate(), LimeSDROutput::handleMessage(), LimeSDROutputGUI::on_sampleRate_changed(), LimeSDROutputGUI::on_swInterp_currentIndexChanged(), resetToDefaults(), serialize(), LimeSDROutput::start(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
float LimeSDROutputSettings::m_lpfBW |
LMS amalog lowpass filter bandwidth (Hz)
Definition at line 51 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySettings(), LimeSDROutputGUI::on_lpf_changed(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
float LimeSDROutputSettings::m_lpfFIRBW |
LMS digital lowpass FIR filters bandwidth (Hz)
Definition at line 53 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySettings(), LimeSDROutputGUI::on_lpFIR_changed(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
bool LimeSDROutputSettings::m_lpfFIREnable |
Enable LMS digital lowpass FIR filters.
Definition at line 52 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySettings(), LimeSDROutputGUI::on_lpFIREnable_toggled(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
bool LimeSDROutputSettings::m_ncoEnable |
Enable TSP NCO and mixing.
Definition at line 55 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySettings(), LimeSDROutputGUI::getCenterFrequency(), LimeSDROutput::getCenterFrequency(), LimeSDROutput::handleMessage(), LimeSDROutputGUI::on_ncoEnable_toggled(), resetToDefaults(), serialize(), LimeSDROutputGUI::setCenterFrequency(), LimeSDROutput::setCenterFrequency(), LimeSDROutputGUI::setCenterFrequencyDisplay(), LimeSDROutputGUI::setCenterFrequencySetting(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
int LimeSDROutputSettings::m_ncoFrequency |
Actual NCO frequency (the resulting frequency with mixing is displayed)
Definition at line 56 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::getCenterFrequency(), LimeSDROutput::getCenterFrequency(), LimeSDROutput::handleMessage(), LimeSDROutputGUI::on_ncoFrequency_changed(), resetToDefaults(), serialize(), LimeSDROutputGUI::setCenterFrequency(), LimeSDROutput::setCenterFrequency(), LimeSDROutputGUI::setCenterFrequencyDisplay(), LimeSDROutputGUI::setCenterFrequencySetting(), LimeSDROutputGUI::setNCODisplay(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
QString LimeSDROutputSettings::m_reverseAPIAddress |
Definition at line 65 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::openDeviceSettingsDialog(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), LimeSDROutput::webapiReverseSendStartStop(), and LimeSDROutput::webapiSettingsPutPatch().
uint16_t LimeSDROutputSettings::m_reverseAPIDeviceIndex |
Definition at line 67 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::openDeviceSettingsDialog(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), LimeSDROutput::webapiReverseSendStartStop(), and LimeSDROutput::webapiSettingsPutPatch().
uint16_t LimeSDROutputSettings::m_reverseAPIPort |
Definition at line 66 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::openDeviceSettingsDialog(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), LimeSDROutput::webapiReverseSendStartStop(), and LimeSDROutput::webapiSettingsPutPatch().
qint64 LimeSDROutputSettings::m_transverterDeltaFrequency |
Definition at line 61 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySettings(), LimeSDROutputGUI::on_transverter_clicked(), resetToDefaults(), serialize(), LimeSDROutputGUI::updateFrequencyLimits(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
bool LimeSDROutputSettings::m_transverterMode |
Definition at line 60 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutputGUI::displaySettings(), LimeSDROutputGUI::on_transverter_clicked(), resetToDefaults(), serialize(), LimeSDROutputGUI::updateFrequencyLimits(), LimeSDROutput::webapiFormatDeviceSettings(), LimeSDROutput::webapiReverseSendSettings(), and LimeSDROutput::webapiSettingsPutPatch().
bool LimeSDROutputSettings::m_useReverseAPI |
Definition at line 64 of file limesdroutputsettings.h.
Referenced by LimeSDROutput::applySettings(), deserialize(), LimeSDROutput::handleMessage(), LimeSDROutputGUI::openDeviceSettingsDialog(), resetToDefaults(), serialize(), LimeSDROutput::webapiFormatDeviceSettings(), and LimeSDROutput::webapiSettingsPutPatch().