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 <bladerf1inputsettings.h>
Public Types | |
enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
Public Member Functions | |
BladeRF1InputSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
quint64 | m_centerFrequency |
qint32 | m_devSampleRate |
qint32 | m_lnaGain |
qint32 | m_vga1 |
qint32 | m_vga2 |
qint32 | m_bandwidth |
quint32 | m_log2Decim |
fcPos_t | m_fcPos |
bool | m_xb200 |
bladerf_xb200_path | m_xb200Path |
bladerf_xb200_filter | m_xb200Filter |
bool | m_dcBlock |
bool | m_iqCorrection |
QString | m_fileRecordName |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
Definition at line 25 of file bladerf1inputsettings.h.
Enumerator | |
---|---|
FC_POS_INFRA | |
FC_POS_SUPRA | |
FC_POS_CENTER |
Definition at line 26 of file bladerf1inputsettings.h.
BladeRF1InputSettings::BladeRF1InputSettings | ( | ) |
Definition at line 24 of file bladerf1inputsettings.cpp.
References resetToDefaults().
bool BladeRF1InputSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 75 of file bladerf1inputsettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_bandwidth, m_dcBlock, m_devSampleRate, m_fcPos, m_iqCorrection, m_lnaGain, m_log2Decim, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, m_vga1, m_vga2, m_xb200, m_xb200Filter, m_xb200Path, SimpleDeserializer::readBool(), SimpleDeserializer::readS32(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), and resetToDefaults().
Referenced by Bladerf1InputGui::deserialize(), and Bladerf1Input::deserialize().
void BladeRF1InputSettings::resetToDefaults | ( | ) |
Definition at line 29 of file bladerf1inputsettings.cpp.
References FC_POS_INFRA, m_bandwidth, m_centerFrequency, m_dcBlock, m_devSampleRate, m_fcPos, m_fileRecordName, m_iqCorrection, m_lnaGain, m_log2Decim, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, m_vga1, m_vga2, m_xb200, m_xb200Filter, and m_xb200Path.
Referenced by BladeRF1InputSettings(), deserialize(), Bladerf1Input::deserialize(), and Bladerf1InputGui::resetToDefaults().
QByteArray BladeRF1InputSettings::serialize | ( | ) | const |
Definition at line 51 of file bladerf1inputsettings.cpp.
References SimpleSerializer::final(), m_bandwidth, m_dcBlock, m_devSampleRate, m_fcPos, m_iqCorrection, m_lnaGain, m_log2Decim, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, m_vga1, m_vga2, m_xb200, m_xb200Filter, m_xb200Path, SimpleSerializer::writeBool(), SimpleSerializer::writeS32(), SimpleSerializer::writeString(), and SimpleSerializer::writeU32().
Referenced by Bladerf1InputGui::serialize(), and Bladerf1Input::serialize().
qint32 BladeRF1InputSettings::m_bandwidth |
Definition at line 37 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displaySettings(), Bladerf1InputGui::on_bandwidth_currentIndexChanged(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
quint64 BladeRF1InputSettings::m_centerFrequency |
Definition at line 32 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), Bladerf1InputGui::displaySettings(), Bladerf1InputGui::getCenterFrequency(), Bladerf1Input::getCenterFrequency(), Bladerf1InputGui::on_centerFrequency_changed(), resetToDefaults(), Bladerf1InputGui::setCenterFrequency(), Bladerf1Input::setCenterFrequency(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
bool BladeRF1InputSettings::m_dcBlock |
Definition at line 43 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displaySettings(), Bladerf1InputGui::on_dcOffset_toggled(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
qint32 BladeRF1InputSettings::m_devSampleRate |
Definition at line 33 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displayFcTooltip(), Bladerf1InputGui::displaySampleRate(), Bladerf1Input::getSampleRate(), Bladerf1InputGui::on_decim_currentIndexChanged(), Bladerf1InputGui::on_sampleRate_changed(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
fcPos_t BladeRF1InputSettings::m_fcPos |
Definition at line 39 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displayFcTooltip(), Bladerf1InputGui::displaySettings(), Bladerf1InputGui::on_fcPos_currentIndexChanged(), resetToDefaults(), serialize(), Bladerf1Input::start(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
QString BladeRF1InputSettings::m_fileRecordName |
Definition at line 45 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::handleMessage(), resetToDefaults(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
bool BladeRF1InputSettings::m_iqCorrection |
Definition at line 44 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displaySettings(), Bladerf1InputGui::on_iqImbalance_toggled(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
qint32 BladeRF1InputSettings::m_lnaGain |
Definition at line 34 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displaySettings(), Bladerf1InputGui::on_lna_currentIndexChanged(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
quint32 BladeRF1InputSettings::m_log2Decim |
Definition at line 38 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displayFcTooltip(), Bladerf1InputGui::displaySampleRate(), Bladerf1InputGui::displaySettings(), Bladerf1Input::getSampleRate(), Bladerf1InputGui::on_decim_currentIndexChanged(), Bladerf1InputGui::on_sampleRate_changed(), resetToDefaults(), serialize(), Bladerf1Input::start(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
QString BladeRF1InputSettings::m_reverseAPIAddress |
Definition at line 47 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), Bladerf1Input::webapiReverseSendStartStop(), and Bladerf1Input::webapiSettingsPutPatch().
uint16_t BladeRF1InputSettings::m_reverseAPIDeviceIndex |
Definition at line 49 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), Bladerf1Input::webapiReverseSendStartStop(), and Bladerf1Input::webapiSettingsPutPatch().
uint16_t BladeRF1InputSettings::m_reverseAPIPort |
Definition at line 48 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), Bladerf1Input::webapiReverseSendStartStop(), and Bladerf1Input::webapiSettingsPutPatch().
bool BladeRF1InputSettings::m_useReverseAPI |
Definition at line 46 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1Input::handleMessage(), Bladerf1InputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), and Bladerf1Input::webapiSettingsPutPatch().
qint32 BladeRF1InputSettings::m_vga1 |
Definition at line 35 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displaySettings(), Bladerf1InputGui::on_vga1_valueChanged(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
qint32 BladeRF1InputSettings::m_vga2 |
Definition at line 36 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displaySettings(), Bladerf1InputGui::on_vga2_valueChanged(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
bool BladeRF1InputSettings::m_xb200 |
Definition at line 40 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displaySettings(), Bladerf1InputGui::on_xb200_currentIndexChanged(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
bladerf_xb200_filter BladeRF1InputSettings::m_xb200Filter |
Definition at line 42 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displaySettings(), Bladerf1InputGui::on_xb200_currentIndexChanged(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().
bladerf_xb200_path BladeRF1InputSettings::m_xb200Path |
Definition at line 41 of file bladerf1inputsettings.h.
Referenced by Bladerf1Input::applySettings(), deserialize(), Bladerf1InputGui::displaySettings(), Bladerf1InputGui::on_xb200_currentIndexChanged(), resetToDefaults(), serialize(), Bladerf1Input::webapiFormatDeviceSettings(), Bladerf1Input::webapiReverseSendSettings(), and Bladerf1Input::webapiSettingsPutPatch().