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 <hackrfoutputsettings.h>
Public Types | |
enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
Public Member Functions | |
HackRFOutputSettings () | |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
Public Attributes | |
quint64 | m_centerFrequency |
qint32 | m_LOppmTenths |
quint32 | m_bandwidth |
quint32 | m_vgaGain |
quint32 | m_log2Interp |
fcPos_t | m_fcPos |
quint64 | m_devSampleRate |
bool | m_biasT |
bool | m_lnaExt |
bool | m_useReverseAPI |
QString | m_reverseAPIAddress |
uint16_t | m_reverseAPIPort |
uint16_t | m_reverseAPIDeviceIndex |
Definition at line 24 of file hackrfoutputsettings.h.
Enumerator | |
---|---|
FC_POS_INFRA | |
FC_POS_SUPRA | |
FC_POS_CENTER |
Definition at line 25 of file hackrfoutputsettings.h.
HackRFOutputSettings::HackRFOutputSettings | ( | ) |
Definition at line 24 of file hackrfoutputsettings.cpp.
References resetToDefaults().
bool HackRFOutputSettings::deserialize | ( | const QByteArray & | data | ) |
Definition at line 66 of file hackrfoutputsettings.cpp.
References SimpleDeserializer::getVersion(), SimpleDeserializer::isValid(), m_bandwidth, m_biasT, m_devSampleRate, m_fcPos, m_lnaExt, m_log2Interp, m_LOppmTenths, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, m_vgaGain, SimpleDeserializer::readBool(), SimpleDeserializer::readS32(), SimpleDeserializer::readString(), SimpleDeserializer::readU32(), SimpleDeserializer::readU64(), and resetToDefaults().
Referenced by HackRFOutputGui::deserialize(), and HackRFOutput::deserialize().
void HackRFOutputSettings::resetToDefaults | ( | ) |
Definition at line 29 of file hackrfoutputsettings.cpp.
References FC_POS_CENTER, m_bandwidth, m_biasT, m_centerFrequency, m_devSampleRate, m_fcPos, m_lnaExt, m_log2Interp, m_LOppmTenths, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, and m_vgaGain.
Referenced by deserialize(), HackRFOutput::deserialize(), HackRFOutputSettings(), and HackRFOutputGui::resetToDefaults().
QByteArray HackRFOutputSettings::serialize | ( | ) | const |
Definition at line 46 of file hackrfoutputsettings.cpp.
References SimpleSerializer::final(), m_bandwidth, m_biasT, m_devSampleRate, m_fcPos, m_lnaExt, m_log2Interp, m_LOppmTenths, m_reverseAPIAddress, m_reverseAPIDeviceIndex, m_reverseAPIPort, m_useReverseAPI, m_vgaGain, SimpleSerializer::writeBool(), SimpleSerializer::writeS32(), SimpleSerializer::writeString(), SimpleSerializer::writeU32(), and SimpleSerializer::writeU64().
Referenced by HackRFOutputGui::serialize(), and HackRFOutput::serialize().
quint32 HackRFOutputSettings::m_bandwidth |
Definition at line 33 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutputGui::displayBandwidths(), HackRFOutputGui::displaySettings(), HackRFOutputGui::on_bbFilter_currentIndexChanged(), resetToDefaults(), serialize(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), and HackRFOutput::webapiSettingsPutPatch().
bool HackRFOutputSettings::m_biasT |
Definition at line 38 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutputGui::displaySettings(), HackRFOutputGui::on_biasT_stateChanged(), resetToDefaults(), serialize(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), and HackRFOutput::webapiSettingsPutPatch().
quint64 HackRFOutputSettings::m_centerFrequency |
Definition at line 31 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), HackRFOutputGui::displaySettings(), HackRFOutputGui::getCenterFrequency(), HackRFOutput::getCenterFrequency(), HackRFOutput::handleMessage(), HackRFOutputGui::on_centerFrequency_changed(), resetToDefaults(), HackRFOutputGui::setCenterFrequency(), HackRFOutput::setCenterFrequency(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), and HackRFOutput::webapiSettingsPutPatch().
quint64 HackRFOutputSettings::m_devSampleRate |
Definition at line 37 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutputGui::displayFcTooltip(), HackRFOutputGui::displaySampleRate(), HackRFOutput::getSampleRate(), HackRFOutput::handleMessage(), HackRFOutputGui::on_interp_currentIndexChanged(), HackRFOutputGui::on_sampleRate_changed(), HackRFOutput::openDevice(), resetToDefaults(), serialize(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), and HackRFOutput::webapiSettingsPutPatch().
fcPos_t HackRFOutputSettings::m_fcPos |
Definition at line 36 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutputGui::displayFcTooltip(), HackRFOutputGui::displaySettings(), HackRFOutput::handleMessage(), HackRFOutputGui::on_fcPos_currentIndexChanged(), resetToDefaults(), serialize(), HackRFOutput::start(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), and HackRFOutput::webapiSettingsPutPatch().
bool HackRFOutputSettings::m_lnaExt |
Definition at line 39 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutputGui::displaySettings(), HackRFOutputGui::on_lnaExt_stateChanged(), resetToDefaults(), serialize(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), and HackRFOutput::webapiSettingsPutPatch().
quint32 HackRFOutputSettings::m_log2Interp |
Definition at line 35 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutputGui::displayFcTooltip(), HackRFOutputGui::displaySampleRate(), HackRFOutputGui::displaySettings(), HackRFOutput::getSampleRate(), HackRFOutput::handleMessage(), HackRFOutputGui::on_interp_currentIndexChanged(), HackRFOutputGui::on_sampleRate_changed(), HackRFOutput::openDevice(), resetToDefaults(), serialize(), HackRFOutput::start(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), and HackRFOutput::webapiSettingsPutPatch().
qint32 HackRFOutputSettings::m_LOppmTenths |
Definition at line 32 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutputGui::displaySettings(), HackRFOutputGui::on_LOppm_valueChanged(), resetToDefaults(), serialize(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), and HackRFOutput::webapiSettingsPutPatch().
QString HackRFOutputSettings::m_reverseAPIAddress |
Definition at line 41 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), HackRFOutput::webapiReverseSendStartStop(), and HackRFOutput::webapiSettingsPutPatch().
uint16_t HackRFOutputSettings::m_reverseAPIDeviceIndex |
Definition at line 43 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), HackRFOutput::webapiReverseSendStartStop(), and HackRFOutput::webapiSettingsPutPatch().
uint16_t HackRFOutputSettings::m_reverseAPIPort |
Definition at line 42 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), HackRFOutput::webapiReverseSendStartStop(), and HackRFOutput::webapiSettingsPutPatch().
bool HackRFOutputSettings::m_useReverseAPI |
Definition at line 40 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutput::handleMessage(), HackRFOutputGui::openDeviceSettingsDialog(), resetToDefaults(), serialize(), HackRFOutput::webapiFormatDeviceSettings(), and HackRFOutput::webapiSettingsPutPatch().
quint32 HackRFOutputSettings::m_vgaGain |
Definition at line 34 of file hackrfoutputsettings.h.
Referenced by HackRFOutput::applySettings(), deserialize(), HackRFOutputGui::displaySettings(), HackRFOutputGui::on_txvga_valueChanged(), resetToDefaults(), serialize(), HackRFOutput::webapiFormatDeviceSettings(), HackRFOutput::webapiReverseSendSettings(), and HackRFOutput::webapiSettingsPutPatch().