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 <airspyhfsettings.h>
Public Member Functions | |
AirspyHFSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
quint64 | m_centerFrequency |
qint32 | m_LOppmTenths |
quint32 | m_devSampleRateIndex |
quint32 | m_log2Decim |
bool | m_transverterMode |
qint64 | m_transverterDeltaFrequency |
quint32 | m_bandIndex |
QString | m_fileRecordName |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
bool | m_useDSP |
bool | m_useAGC |
bool | m_agcHigh |
bool | m_useLNA |
quint32 | m_attenuatorSteps |
bool | m_dcBlock |
bool | m_iqCorrection |
Definition at line 23 of file airspyhfsettings.h.
AirspyHFSettings::AirspyHFSettings | ( | ) |
Definition at line 23 of file airspyhfsettings.cpp.
References resetToDefaults().
bool AirspyHFSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 76 of file airspyhfsettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_agcHigh, m_attenuatorSteps, m_bandIndex, m_dcBlock, m_devSampleRateIndex, m_iqCorrection, m_log2Decim, m_LOppmTenths, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useAGC, m_useDSP, m_useLNA, m_useReverseAPI, SimpleDeserializer::readBool(), SimpleDeserializer::readS32(), SimpleDeserializer::readS64(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by AirspyHFGui::deserialize(), and AirspyHFInput::deserialize().
void AirspyHFSettings::resetToDefaults | ( | ) |
Definition at line 28 of file airspyhfsettings.cpp.
References m_agcHigh, m_attenuatorSteps, m_bandIndex, m_centerFrequency, m_dcBlock, m_devSampleRateIndex, m_fileRecordName, m_iqCorrection, m_log2Decim, m_LOppmTenths, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useAGC, m_useDSP, m_useLNA, and m_useReverseAPI.
Referenced by AirspyHFSettings(), deserialize(), AirspyHFInput::deserialize(), and AirspyHFGui::resetToDefaults().
QByteArray AirspyHFSettings::serialize | ( | ) | const |
Definition at line 51 of file airspyhfsettings.cpp.
References SimpleSerializer::final(), m_agcHigh, m_attenuatorSteps, m_bandIndex, m_dcBlock, m_devSampleRateIndex, m_iqCorrection, m_log2Decim, m_LOppmTenths, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useAGC, m_useDSP, m_useLNA, m_useReverseAPI, SimpleSerializer::writeBool(), SimpleSerializer::writeS32(), SimpleSerializer::writeS64(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by AirspyHFGui::serialize(), and AirspyHFInput::serialize().
bool AirspyHFSettings::m_agcHigh |
Definition at line 39 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displayAGC(), AirspyHFGui::on_agc_currentIndexChanged(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
quint32 AirspyHFSettings::m_attenuatorSteps |
Definition at line 41 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displaySettings(), AirspyHFGui::on_att_currentIndexChanged(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
quint32 AirspyHFSettings::m_bandIndex |
Definition at line 31 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displaySettings(), AirspyHFGui::on_band_currentIndexChanged(), resetToDefaults(), serialize(), AirspyHFInput::setDeviceCenterFrequency(), AirspyHFGui::updateFrequencyLimits(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
quint64 AirspyHFSettings::m_centerFrequency |
Definition at line 25 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), AirspyHFGui::displaySettings(), AirspyHFGui::getCenterFrequency(), AirspyHFInput::getCenterFrequency(), AirspyHFGui::on_band_currentIndexChanged(), AirspyHFGui::on_centerFrequency_changed(), AirspyHFGui::on_transverter_clicked(), resetToDefaults(), AirspyHFGui::setCenterFrequency(), AirspyHFInput::setCenterFrequency(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
bool AirspyHFSettings::m_dcBlock |
Definition at line 42 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displaySettings(), AirspyHFGui::on_dcOffset_toggled(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
quint32 AirspyHFSettings::m_devSampleRateIndex |
Definition at line 27 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displaySampleRates(), AirspyHFGui::displaySettings(), AirspyHFInput::getSampleRate(), AirspyHFGui::on_sampleRate_currentIndexChanged(), resetToDefaults(), serialize(), AirspyHFInput::start(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
QString AirspyHFSettings::m_fileRecordName |
Definition at line 32 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), AirspyHFInput::handleMessage(), resetToDefaults(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
bool AirspyHFSettings::m_iqCorrection |
Definition at line 43 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displaySettings(), AirspyHFGui::on_iqImbalance_toggled(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
quint32 AirspyHFSettings::m_log2Decim |
Definition at line 28 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displaySettings(), AirspyHFInput::getSampleRate(), AirspyHFGui::on_decim_currentIndexChanged(), resetToDefaults(), serialize(), AirspyHFInput::start(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
qint32 AirspyHFSettings::m_LOppmTenths |
Definition at line 26 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displaySettings(), AirspyHFGui::on_LOppm_valueChanged(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
QString AirspyHFSettings::m_reverseAPIAddress |
Definition at line 34 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), AirspyHFInput::webapiReverseSendStartStop(), and AirspyHFInput::webapiSettingsPutPatch().
uint16_t AirspyHFSettings::m_reverseAPIDeviceIndex |
Definition at line 36 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), AirspyHFInput::webapiReverseSendStartStop(), and AirspyHFInput::webapiSettingsPutPatch().
uint16_t AirspyHFSettings::m_reverseAPIPort |
Definition at line 35 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), AirspyHFInput::webapiReverseSendStartStop(), and AirspyHFInput::webapiSettingsPutPatch().
qint64 AirspyHFSettings::m_transverterDeltaFrequency |
Definition at line 30 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displaySettings(), AirspyHFGui::on_transverter_clicked(), resetToDefaults(), serialize(), AirspyHFGui::updateFrequencyLimits(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
bool AirspyHFSettings::m_transverterMode |
Definition at line 29 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displaySettings(), AirspyHFGui::on_transverter_clicked(), resetToDefaults(), serialize(), AirspyHFGui::updateFrequencyLimits(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
bool AirspyHFSettings::m_useAGC |
Definition at line 38 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displayAGC(), AirspyHFGui::on_agc_currentIndexChanged(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
bool AirspyHFSettings::m_useDSP |
Definition at line 37 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displaySettings(), AirspyHFGui::on_dsp_toggled(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
bool AirspyHFSettings::m_useLNA |
Definition at line 40 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFGui::displaySettings(), AirspyHFGui::on_lna_toggled(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), AirspyHFInput::webapiReverseSendSettings(), and AirspyHFInput::webapiSettingsPutPatch().
bool AirspyHFSettings::m_useReverseAPI |
Definition at line 33 of file airspyhfsettings.h.
Referenced by AirspyHFInput::applySettings(), deserialize(), AirspyHFInput::handleMessage(), AirspyHFGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), AirspyHFInput::webapiFormatDeviceSettings(), and AirspyHFInput::webapiSettingsPutPatch().