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 <bladerf2inputsettings.h>
Public Types | |
enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
Public Member Functions | |
BladeRF2InputSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
quint64 | m_centerFrequency |
qint32 | m_LOppmTenths |
qint32 | m_devSampleRate |
qint32 | m_bandwidth |
int | m_gainMode |
int | m_globalGain |
bool | m_biasTee |
quint32 | m_log2Decim |
fcPos_t | m_fcPos |
bool | m_dcBlock |
bool | m_iqCorrection |
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 24 of file bladerf2inputsettings.h.
Enumerator | |
---|---|
FC_POS_INFRA | |
FC_POS_SUPRA | |
FC_POS_CENTER |
Definition at line 25 of file bladerf2inputsettings.h.
BladeRF2InputSettings::BladeRF2InputSettings | ( | ) |
Definition at line 22 of file bladerf2inputsettings.cpp.
References resetToDefaults().
bool BladeRF2InputSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 73 of file bladerf2inputsettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_bandwidth, m_biasTee, m_dcBlock, m_devSampleRate, m_fcPos, m_gainMode, m_globalGain, m_iqCorrection, m_log2Decim, m_LOppmTenths, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useReverseAPI, SimpleDeserializer::readBool(), SimpleDeserializer::readS32(), SimpleDeserializer::readS64(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by BladeRF2InputGui::deserialize(), and BladeRF2Input::deserialize().
void BladeRF2InputSettings::resetToDefaults | ( | ) |
Definition at line 27 of file bladerf2inputsettings.cpp.
References FC_POS_INFRA, m_bandwidth, m_biasTee, m_centerFrequency, m_dcBlock, m_devSampleRate, m_fcPos, m_fileRecordName, m_gainMode, m_globalGain, m_iqCorrection, m_log2Decim, m_LOppmTenths, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, and m_useReverseAPI.
Referenced by BladeRF2InputSettings(), deserialize(), BladeRF2Input::deserialize(), and BladeRF2InputGui::resetToDefaults().
QByteArray BladeRF2InputSettings::serialize | ( | ) | const |
Definition at line 49 of file bladerf2inputsettings.cpp.
References SimpleSerializer::final(), m_bandwidth, m_biasTee, m_dcBlock, m_devSampleRate, m_fcPos, m_gainMode, m_globalGain, m_iqCorrection, m_log2Decim, m_LOppmTenths, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, m_useReverseAPI, SimpleSerializer::writeBool(), SimpleSerializer::writeS32(), SimpleSerializer::writeS64(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by BladeRF2InputGui::serialize(), and BladeRF2Input::serialize().
qint32 BladeRF2InputSettings::m_bandwidth |
Definition at line 34 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displaySettings(), BladeRF2Input::handleMessage(), BladeRF2InputGui::on_bandwidth_changed(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
bool BladeRF2InputSettings::m_biasTee |
Definition at line 37 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displaySettings(), BladeRF2Input::handleMessage(), BladeRF2InputGui::on_biasTee_toggled(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
quint64 BladeRF2InputSettings::m_centerFrequency |
Definition at line 31 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), BladeRF2InputGui::displaySettings(), BladeRF2InputGui::getCenterFrequency(), BladeRF2Input::getCenterFrequency(), BladeRF2Input::handleMessage(), BladeRF2InputGui::on_centerFrequency_changed(), resetToDefaults(), BladeRF2InputGui::setCenterFrequency(), BladeRF2Input::setCenterFrequency(), BladeRF2InputGui::setCenterFrequencySetting(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
bool BladeRF2InputSettings::m_dcBlock |
Definition at line 40 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displaySettings(), BladeRF2InputGui::on_dcOffset_toggled(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
qint32 BladeRF2InputSettings::m_devSampleRate |
Definition at line 33 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displayFcTooltip(), BladeRF2InputGui::displaySampleRate(), BladeRF2Input::getSampleRate(), BladeRF2Input::handleMessage(), BladeRF2InputGui::on_decim_currentIndexChanged(), BladeRF2InputGui::on_sampleRate_changed(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
fcPos_t BladeRF2InputSettings::m_fcPos |
Definition at line 39 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displayFcTooltip(), BladeRF2InputGui::displaySettings(), BladeRF2Input::handleMessage(), BladeRF2InputGui::on_fcPos_currentIndexChanged(), resetToDefaults(), serialize(), BladeRF2Input::start(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
QString BladeRF2InputSettings::m_fileRecordName |
Definition at line 44 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::handleMessage(), resetToDefaults(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
int BladeRF2InputSettings::m_gainMode |
Definition at line 35 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displaySettings(), BladeRF2InputGui::on_gainMode_currentIndexChanged(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
int BladeRF2InputSettings::m_globalGain |
Definition at line 36 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displaySettings(), BladeRF2InputGui::on_gain_valueChanged(), BladeRF2InputGui::on_gainMode_currentIndexChanged(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
bool BladeRF2InputSettings::m_iqCorrection |
Definition at line 41 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displaySettings(), BladeRF2InputGui::on_iqImbalance_toggled(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
quint32 BladeRF2InputSettings::m_log2Decim |
Definition at line 38 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displayFcTooltip(), BladeRF2InputGui::displaySampleRate(), BladeRF2InputGui::displaySettings(), BladeRF2Input::getSampleRate(), BladeRF2Input::handleMessage(), BladeRF2InputGui::on_decim_currentIndexChanged(), BladeRF2InputGui::on_sampleRate_changed(), resetToDefaults(), serialize(), BladeRF2Input::start(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
qint32 BladeRF2InputSettings::m_LOppmTenths |
Definition at line 32 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displaySettings(), BladeRF2Input::handleMessage(), BladeRF2InputGui::on_LOppm_valueChanged(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
QString BladeRF2InputSettings::m_reverseAPIAddress |
Definition at line 46 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), BladeRF2Input::webapiReverseSendStartStop(), and BladeRF2Input::webapiSettingsPutPatch().
uint16_t BladeRF2InputSettings::m_reverseAPIDeviceIndex |
Definition at line 48 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), BladeRF2Input::webapiReverseSendStartStop(), and BladeRF2Input::webapiSettingsPutPatch().
uint16_t BladeRF2InputSettings::m_reverseAPIPort |
Definition at line 47 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), BladeRF2Input::webapiReverseSendStartStop(), and BladeRF2Input::webapiSettingsPutPatch().
qint64 BladeRF2InputSettings::m_transverterDeltaFrequency |
Definition at line 43 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displaySettings(), BladeRF2InputGui::on_transverter_clicked(), resetToDefaults(), serialize(), BladeRF2InputGui::updateFrequencyLimits(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
bool BladeRF2InputSettings::m_transverterMode |
Definition at line 42 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2InputGui::displaySettings(), BladeRF2InputGui::on_transverter_clicked(), resetToDefaults(), serialize(), BladeRF2InputGui::updateFrequencyLimits(), BladeRF2Input::webapiFormatDeviceSettings(), BladeRF2Input::webapiReverseSendSettings(), and BladeRF2Input::webapiSettingsPutPatch().
bool BladeRF2InputSettings::m_useReverseAPI |
Definition at line 45 of file bladerf2inputsettings.h.
Referenced by BladeRF2Input::applySettings(), deserialize(), BladeRF2Input::handleMessage(), BladeRF2InputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), BladeRF2Input::webapiFormatDeviceSettings(), and BladeRF2Input::webapiSettingsPutPatch().