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 <bladerf2outputsettings.h>
Public Member Functions | |
BladeRF2OutputSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
quint64 | m_centerFrequency |
int | m_LOppmTenths |
qint32 | m_devSampleRate |
qint32 | m_bandwidth |
int | m_globalGain |
bool | m_biasTee |
quint32 | m_log2Interp |
bool | m_transverterMode |
qint64 | m_transverterDeltaFrequency |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
Definition at line 24 of file bladerf2outputsettings.h.
BladeRF2OutputSettings::BladeRF2OutputSettings | ( | ) |
Definition at line 24 of file bladerf2outputsettings.cpp.
References resetToDefaults().
bool BladeRF2OutputSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 66 of file bladerf2outputsettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_bandwidth, m_biasTee, m_devSampleRate, m_globalGain, m_log2Interp, 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 BladeRF2OutputGui::deserialize(), and BladeRF2Output::deserialize().
void BladeRF2OutputSettings::resetToDefaults | ( | ) |
Definition at line 29 of file bladerf2outputsettings.cpp.
References m_bandwidth, m_biasTee, m_centerFrequency, m_devSampleRate, m_globalGain, m_log2Interp, m_LOppmTenths, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_transverterDeltaFrequency, m_transverterMode, and m_useReverseAPI.
Referenced by BladeRF2OutputSettings(), deserialize(), BladeRF2Output::deserialize(), and BladeRF2OutputGui::resetToDefaults().
QByteArray BladeRF2OutputSettings::serialize | ( | ) | const |
Definition at line 46 of file bladerf2outputsettings.cpp.
References SimpleSerializer::final(), m_bandwidth, m_biasTee, m_devSampleRate, m_globalGain, m_log2Interp, 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 BladeRF2OutputGui::serialize(), and BladeRF2Output::serialize().
qint32 BladeRF2OutputSettings::m_bandwidth |
Definition at line 28 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2OutputGui::displaySettings(), BladeRF2Output::handleMessage(), BladeRF2OutputGui::on_bandwidth_changed(), resetToDefaults(), serialize(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), and BladeRF2Output::webapiSettingsPutPatch().
bool BladeRF2OutputSettings::m_biasTee |
Definition at line 30 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2OutputGui::displaySettings(), BladeRF2Output::handleMessage(), BladeRF2OutputGui::on_biasTee_toggled(), resetToDefaults(), serialize(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), and BladeRF2Output::webapiSettingsPutPatch().
quint64 BladeRF2OutputSettings::m_centerFrequency |
Definition at line 25 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), BladeRF2OutputGui::displaySettings(), BladeRF2OutputGui::getCenterFrequency(), BladeRF2Output::getCenterFrequency(), BladeRF2Output::handleMessage(), BladeRF2OutputGui::on_centerFrequency_changed(), resetToDefaults(), BladeRF2OutputGui::setCenterFrequency(), BladeRF2Output::setCenterFrequency(), BladeRF2OutputGui::setCenterFrequencySetting(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), and BladeRF2Output::webapiSettingsPutPatch().
qint32 BladeRF2OutputSettings::m_devSampleRate |
Definition at line 27 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2OutputGui::displaySampleRate(), BladeRF2Output::getSampleRate(), BladeRF2Output::handleMessage(), BladeRF2OutputGui::on_interp_currentIndexChanged(), BladeRF2OutputGui::on_sampleRate_changed(), BladeRF2Output::openDevice(), resetToDefaults(), serialize(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), and BladeRF2Output::webapiSettingsPutPatch().
int BladeRF2OutputSettings::m_globalGain |
Definition at line 29 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2OutputGui::displaySettings(), BladeRF2OutputGui::on_gain_valueChanged(), resetToDefaults(), serialize(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), and BladeRF2Output::webapiSettingsPutPatch().
quint32 BladeRF2OutputSettings::m_log2Interp |
Definition at line 31 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2OutputGui::displaySampleRate(), BladeRF2OutputGui::displaySettings(), BladeRF2Output::getSampleRate(), BladeRF2Output::handleMessage(), BladeRF2OutputGui::on_interp_currentIndexChanged(), BladeRF2OutputGui::on_sampleRate_changed(), BladeRF2Output::openDevice(), resetToDefaults(), serialize(), BladeRF2Output::start(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), and BladeRF2Output::webapiSettingsPutPatch().
int BladeRF2OutputSettings::m_LOppmTenths |
Definition at line 26 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2OutputGui::displaySettings(), BladeRF2Output::handleMessage(), BladeRF2OutputGui::on_LOppm_valueChanged(), resetToDefaults(), serialize(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), and BladeRF2Output::webapiSettingsPutPatch().
QString BladeRF2OutputSettings::m_reverseAPIAddress |
Definition at line 35 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2OutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), BladeRF2Output::webapiReverseSendStartStop(), and BladeRF2Output::webapiSettingsPutPatch().
uint16_t BladeRF2OutputSettings::m_reverseAPIDeviceIndex |
Definition at line 37 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2OutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), BladeRF2Output::webapiReverseSendStartStop(), and BladeRF2Output::webapiSettingsPutPatch().
uint16_t BladeRF2OutputSettings::m_reverseAPIPort |
Definition at line 36 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2OutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), BladeRF2Output::webapiReverseSendStartStop(), and BladeRF2Output::webapiSettingsPutPatch().
qint64 BladeRF2OutputSettings::m_transverterDeltaFrequency |
Definition at line 33 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2OutputGui::displaySettings(), BladeRF2OutputGui::on_transverter_clicked(), resetToDefaults(), serialize(), BladeRF2OutputGui::updateFrequencyLimits(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), and BladeRF2Output::webapiSettingsPutPatch().
bool BladeRF2OutputSettings::m_transverterMode |
Definition at line 32 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2OutputGui::displaySettings(), BladeRF2OutputGui::on_transverter_clicked(), resetToDefaults(), serialize(), BladeRF2OutputGui::updateFrequencyLimits(), BladeRF2Output::webapiFormatDeviceSettings(), BladeRF2Output::webapiReverseSendSettings(), and BladeRF2Output::webapiSettingsPutPatch().
bool BladeRF2OutputSettings::m_useReverseAPI |
Definition at line 34 of file bladerf2outputsettings.h.
Referenced by BladeRF2Output::applySettings(), deserialize(), BladeRF2Output::handleMessage(), BladeRF2OutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), BladeRF2Output::webapiFormatDeviceSettings(), and BladeRF2Output::webapiSettingsPutPatch().