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 <plutosdroutput.h>
Classes | |
class | MsgConfigurePlutoSDR |
class | MsgStartStop |
Public Member Functions | |
PlutoSDROutput (DeviceAPI *deviceAPI) | |
~PlutoSDROutput () | |
virtual void | destroy () |
virtual void | init () |
initializations to be done when all collaborating objects are created and possibly connected More... | |
virtual bool | start () |
virtual void | stop () |
virtual QByteArray | serialize () const |
virtual bool | deserialize (const QByteArray &data) |
virtual void | setMessageQueueToGUI (MessageQueue *queue) |
virtual const QString & | getDeviceDescription () const |
virtual int | getSampleRate () const |
Sample rate exposed by the sink. More... | |
virtual void | setSampleRate (int sampleRate) |
For when the sink sample rate is set externally. More... | |
virtual quint64 | getCenterFrequency () const |
Center frequency exposed by the sink. More... | |
virtual void | setCenterFrequency (qint64 centerFrequency) |
virtual bool | handleMessage (const Message &message) |
virtual int | webapiSettingsGet (SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage) |
virtual int | webapiSettingsPutPatch (bool force, const QStringList &deviceSettingsKeys, SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage) |
virtual int | webapiReportGet (SWGSDRangel::SWGDeviceReport &response, QString &errorMessage) |
virtual int | webapiRunGet (SWGSDRangel::SWGDeviceState &response, QString &errorMessage) |
virtual int | webapiRun (bool run, SWGSDRangel::SWGDeviceState &response, QString &errorMessage) |
uint32_t | getDACSampleRate () const |
uint32_t | getFIRSampleRate () const |
void | getRSSI (std::string &rssiStr) |
void | getLORange (qint64 &minLimit, qint64 &maxLimit) |
void | getbbLPRange (quint32 &minLimit, quint32 &maxLimit) |
bool | fetchTemperature () |
float | getTemperature () |
Public Member Functions inherited from DeviceSampleSink | |
DeviceSampleSink () | |
virtual | ~DeviceSampleSink () |
MessageQueue * | getInputMessageQueue () |
MessageQueue * | getMessageQueueToGUI () |
SampleSourceFifo * | getSampleFifo () |
Private Slots | |
void | networkManagerFinished (QNetworkReply *reply) |
Private Member Functions | |
bool | openDevice () |
void | closeDevice () |
void | suspendBuddies () |
void | resumeBuddies () |
bool | applySettings (const PlutoSDROutputSettings &settings, bool force=false) |
void | webapiFormatDeviceSettings (SWGSDRangel::SWGDeviceSettings &response, const PlutoSDROutputSettings &settings) |
void | webapiFormatDeviceReport (SWGSDRangel::SWGDeviceReport &response) |
void | webapiReverseSendSettings (QList< QString > &deviceSettingsKeys, const PlutoSDROutputSettings &settings, bool force) |
void | webapiReverseSendStartStop (bool start) |
Private Attributes | |
DeviceAPI * | m_deviceAPI |
QString | m_deviceDescription |
PlutoSDROutputSettings | m_settings |
bool | m_running |
DevicePlutoSDRShared | m_deviceShared |
struct iio_buffer * | m_plutoTxBuffer |
PlutoSDROutputThread * | m_plutoSDROutputThread |
DevicePlutoSDRBox::SampleRates | m_deviceSampleRates |
QMutex | m_mutex |
QNetworkAccessManager * | m_networkManager |
QNetworkRequest | m_networkRequest |
Additional Inherited Members | |
Public Types inherited from DeviceSampleSink | |
enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
Static Public Member Functions inherited from DeviceSampleSink | |
static qint64 | calculateDeviceCenterFrequency (quint64 centerFrequency, qint64 transverterDeltaFrequency, int log2Interp, fcPos_t fcPos, quint32 devSampleRate, bool transverterMode=false) |
static qint64 | calculateCenterFrequency (quint64 deviceCenterFrequency, qint64 transverterDeltaFrequency, int log2Interp, fcPos_t fcPos, quint32 devSampleRate, bool transverterMode=false) |
static qint32 | calculateFrequencyShift (int log2Interp, fcPos_t fcPos, quint32 devSampleRate) |
Protected Slots inherited from DeviceSampleSink | |
void | handleInputMessages () |
Protected Attributes inherited from DeviceSampleSink | |
SampleSourceFifo | m_sampleSourceFifo |
MessageQueue | m_inputMessageQueue |
Input queue to the sink. More... | |
MessageQueue * | m_guiMessageQueue |
Input message queue to the GUI. More... | |
Definition at line 36 of file plutosdroutput.h.
PlutoSDROutput::PlutoSDROutput | ( | DeviceAPI * | deviceAPI | ) |
Definition at line 41 of file plutosdroutput.cpp.
Referenced by PlutoSDROutput::MsgStartStop::MsgStartStop().
PlutoSDROutput::~PlutoSDROutput | ( | ) |
Definition at line 65 of file plutosdroutput.cpp.
References closeDevice(), m_networkManager, networkManagerFinished(), resumeBuddies(), and suspendBuddies().
Referenced by PlutoSDROutput::MsgStartStop::MsgStartStop().
|
private |
Definition at line 323 of file plutosdroutput.cpp.
References arg(), DevicePlutoSDRShared::MsgCrossReportToBuddy::create(), DevicePlutoSDRBox::DEVICE_PHY, DevicePlutoSDRParams::getBox(), DeviceAPI::getDeviceEngineInputMessageQueue(), DeviceAPI::getSourceBuddies(), DevicePlutoSDRBox::getTxSampleRates(), PlutoSDROutputThread::isRunning(), DevicePlutoSDRBox::SampleRates::m_addaConnvRate, PlutoSDROutputSettings::m_antennaPath, PlutoSDROutputSettings::m_att, DevicePlutoSDRBox::SampleRates::m_bbRateHz, PlutoSDROutputSettings::m_centerFrequency, m_deviceAPI, DevicePlutoSDRShared::m_deviceParams, m_deviceSampleRates, m_deviceShared, PlutoSDROutputSettings::m_devSampleRate, DevicePlutoSDRBox::SampleRates::m_firRate, DevicePlutoSDRBox::SampleRates::m_hb1Rate, DevicePlutoSDRBox::SampleRates::m_hb2Rate, DevicePlutoSDRBox::SampleRates::m_hb3Rate, PlutoSDROutputSettings::m_log2Interp, PlutoSDROutputSettings::m_LOppmTenths, PlutoSDROutputSettings::m_lpfBW, PlutoSDROutputSettings::m_lpfFIRBW, PlutoSDROutputSettings::m_lpfFIREnable, PlutoSDROutputSettings::m_lpfFIRGain, PlutoSDROutputSettings::m_lpfFIRlog2Interp, m_plutoSDROutputThread, PlutoSDROutputSettings::m_reverseAPIAddress, PlutoSDROutputSettings::m_reverseAPIDeviceIndex, PlutoSDROutputSettings::m_reverseAPIPort, DeviceSampleSink::m_sampleSourceFifo, m_settings, DevicePlutoSDRShared::m_thread, DevicePlutoSDRShared::m_threadWasRunning, PlutoSDROutputSettings::m_transverterDeltaFrequency, PlutoSDROutputSettings::m_transverterMode, PlutoSDROutputSettings::m_useReverseAPI, PLUTOSDR_BLOCKSIZE_SAMPLES, MessageQueue::push(), SampleSourceFifo::resize(), DevicePlutoSDRBox::set_params(), DevicePlutoSDRBox::setFIR(), DevicePlutoSDRBox::setFIREnable(), PlutoSDROutputThread::setLog2Interpolation(), DevicePlutoSDRBox::setLOPPMTenths(), DevicePlutoSDRBox::setSampleRate(), PlutoSDROutputThread::startWork(), DevicePlutoSDRShared::ThreadInterface::startWork(), PlutoSDROutputThread::stopWork(), DevicePlutoSDRShared::ThreadInterface::stopWork(), PlutoSDROutputSettings::translateRFPath(), DevicePlutoSDRBox::USE_TX, and webapiReverseSendSettings().
Referenced by handleMessage(), init(), and start().
|
private |
Definition at line 279 of file plutosdroutput.cpp.
References DevicePlutoSDRParams::close(), DevicePlutoSDRParams::getBox(), DeviceAPI::getSourceBuddies(), m_deviceAPI, DevicePlutoSDRShared::m_deviceParams, and m_deviceShared.
Referenced by ~PlutoSDROutput().
|
virtual |
Implements DeviceSampleSink.
Definition at line 127 of file plutosdroutput.cpp.
References PlutoSDROutput::MsgConfigurePlutoSDR::create(), PlutoSDROutputSettings::deserialize(), DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, m_settings, MessageQueue::push(), and PlutoSDROutputSettings::resetToDefaults().
Referenced by PlutoSDROutput::MsgStartStop::MsgStartStop().
|
virtual |
Implements DeviceSampleSink.
Definition at line 75 of file plutosdroutput.cpp.
Referenced by PlutoSDROutput::MsgStartStop::MsgStartStop().
bool PlutoSDROutput::fetchTemperature | ( | ) |
Definition at line 614 of file plutosdroutput.cpp.
References DevicePlutoSDRBox::fetchTemp(), DevicePlutoSDRParams::getBox(), DevicePlutoSDRShared::m_deviceParams, and m_deviceShared.
Referenced by getFIRSampleRate(), and webapiFormatDeviceReport().
void PlutoSDROutput::getbbLPRange | ( | quint32 & | minLimit, |
quint32 & | maxLimit | ||
) |
Definition at line 604 of file plutosdroutput.cpp.
References DevicePlutoSDRBox::getbbLPTxRange(), DevicePlutoSDRParams::getBox(), DevicePlutoSDRShared::m_deviceParams, m_deviceShared, leansdr::max(), and leansdr::min().
Referenced by getFIRSampleRate().
|
virtual |
Center frequency exposed by the sink.
Implements DeviceSampleSink.
Definition at line 158 of file plutosdroutput.cpp.
References PlutoSDROutputSettings::m_centerFrequency, and m_settings.
Referenced by setSampleRate().
|
inline |
Definition at line 124 of file plutosdroutput.h.
References DevicePlutoSDRBox::SampleRates::m_addaConnvRate, and m_deviceSampleRates.
Referenced by webapiFormatDeviceReport().
|
virtual |
Implements DeviceSampleSink.
Definition at line 149 of file plutosdroutput.cpp.
References m_deviceDescription.
Referenced by setMessageQueueToGUI().
|
inline |
Definition at line 125 of file plutosdroutput.h.
References fetchTemperature(), getbbLPRange(), getLORange(), getRSSI(), getTemperature(), m_deviceSampleRates, and DevicePlutoSDRBox::SampleRates::m_hb1Rate.
void PlutoSDROutput::getLORange | ( | qint64 & | minLimit, |
qint64 & | maxLimit | ||
) |
Definition at line 594 of file plutosdroutput.cpp.
References DevicePlutoSDRParams::getBox(), DevicePlutoSDRBox::getTxLORange(), DevicePlutoSDRShared::m_deviceParams, m_deviceShared, leansdr::max(), and leansdr::min().
Referenced by getFIRSampleRate().
void PlutoSDROutput::getRSSI | ( | std::string & | rssiStr | ) |
Definition at line 585 of file plutosdroutput.cpp.
References DevicePlutoSDRParams::getBox(), DevicePlutoSDRBox::getTxRSSI(), DevicePlutoSDRShared::m_deviceParams, and m_deviceShared.
Referenced by getFIRSampleRate(), and webapiFormatDeviceReport().
|
virtual |
Sample rate exposed by the sink.
Implements DeviceSampleSink.
Definition at line 153 of file plutosdroutput.cpp.
References PlutoSDROutputSettings::m_devSampleRate, PlutoSDROutputSettings::m_log2Interp, and m_settings.
Referenced by setMessageQueueToGUI().
float PlutoSDROutput::getTemperature | ( | ) |
Definition at line 620 of file plutosdroutput.cpp.
References DevicePlutoSDRParams::getBox(), DevicePlutoSDRBox::getTemp(), DevicePlutoSDRShared::m_deviceParams, and m_deviceShared.
Referenced by getFIRSampleRate(), and webapiFormatDeviceReport().
|
virtual |
Implements DeviceSampleSink.
Definition at line 178 of file plutosdroutput.cpp.
References applySettings(), DevicePlutoSDRShared::MsgCrossReportToBuddy::getDevSampleRate(), PlutoSDROutput::MsgConfigurePlutoSDR::getForce(), DevicePlutoSDRShared::MsgCrossReportToBuddy::getLoPPMTenths(), DevicePlutoSDRShared::MsgCrossReportToBuddy::getLpfFirbw(), DevicePlutoSDRShared::MsgCrossReportToBuddy::getLpfFiRlog2IntDec(), PlutoSDROutput::MsgConfigurePlutoSDR::getSettings(), PlutoSDROutput::MsgStartStop::getStartStop(), DeviceAPI::initDeviceEngine(), DevicePlutoSDRShared::MsgCrossReportToBuddy::isLpfFirEnable(), m_deviceAPI, PlutoSDROutputSettings::m_devSampleRate, PlutoSDROutputSettings::m_LOppmTenths, PlutoSDROutputSettings::m_lpfFIRBW, PlutoSDROutputSettings::m_lpfFIREnable, PlutoSDROutputSettings::m_lpfFIRlog2Interp, m_settings, PlutoSDROutputSettings::m_useReverseAPI, Message::match(), DeviceAPI::startDeviceEngine(), DeviceAPI::stopDeviceEngine(), and webapiReverseSendStartStop().
Referenced by setSampleRate().
|
virtual |
initializations to be done when all collaborating objects are created and possibly connected
Implements DeviceSampleSink.
Definition at line 80 of file plutosdroutput.cpp.
References applySettings(), and m_settings.
Referenced by PlutoSDROutput::MsgStartStop::MsgStartStop().
|
privateslot |
Definition at line 886 of file plutosdroutput.cpp.
Referenced by ~PlutoSDROutput().
|
private |
Definition at line 234 of file plutosdroutput.cpp.
References DevicePlutoSDRBox::createTxBuffer(), DevicePlutoSDRParams::getBox(), DeviceAPI::getBuddySharedPtr(), DeviceAPI::getSamplingDeviceSerial(), DeviceAPI::getSourceBuddies(), m_deviceAPI, DevicePlutoSDRShared::m_deviceParams, m_deviceShared, m_plutoTxBuffer, DeviceSampleSink::m_sampleSourceFifo, DevicePlutoSDRParams::open(), DevicePlutoSDRBox::openTx(), PLUTOSDR_BLOCKSIZE_SAMPLES, SampleSourceFifo::resize(), and DeviceAPI::setBuddySharedPtr().
|
private |
Definition at line 308 of file plutosdroutput.cpp.
References DeviceAPI::getBuddySharedPtr(), DeviceAPI::getSourceBuddies(), i, m_deviceAPI, DevicePlutoSDRShared::m_thread, and DevicePlutoSDRShared::ThreadInterface::startWork().
Referenced by ~PlutoSDROutput().
|
virtual |
Implements DeviceSampleSink.
Definition at line 122 of file plutosdroutput.cpp.
References m_settings, and PlutoSDROutputSettings::serialize().
Referenced by PlutoSDROutput::MsgStartStop::MsgStartStop().
|
virtual |
Implements DeviceSampleSink.
Definition at line 163 of file plutosdroutput.cpp.
References PlutoSDROutput::MsgConfigurePlutoSDR::create(), PlutoSDROutputSettings::m_centerFrequency, DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, m_settings, and MessageQueue::push().
Referenced by setSampleRate().
|
inlinevirtual |
Implements DeviceSampleSink.
Definition at line 92 of file plutosdroutput.h.
References getDeviceDescription(), getSampleRate(), and DeviceSampleSink::m_guiMessageQueue.
|
inlinevirtual |
For when the sink sample rate is set externally.
Implements DeviceSampleSink.
Definition at line 95 of file plutosdroutput.h.
References getCenterFrequency(), handleMessage(), setCenterFrequency(), webapiReportGet(), webapiRun(), webapiRunGet(), webapiSettingsGet(), and webapiSettingsPutPatch().
|
virtual |
Implements DeviceSampleSink.
Definition at line 85 of file plutosdroutput.cpp.
References applySettings(), DevicePlutoSDRParams::getBox(), DevicePlutoSDRShared::m_deviceParams, m_deviceShared, PlutoSDROutputSettings::m_log2Interp, m_plutoSDROutputThread, m_running, DeviceSampleSink::m_sampleSourceFifo, m_settings, DevicePlutoSDRShared::m_thread, PLUTOSDR_BLOCKSIZE_SAMPLES, PlutoSDROutputThread::setLog2Interpolation(), PlutoSDROutputThread::startWork(), and stop().
Referenced by PlutoSDROutput::MsgStartStop::MsgStartStop().
|
virtual |
Implements DeviceSampleSink.
Definition at line 109 of file plutosdroutput.cpp.
References m_deviceShared, m_plutoSDROutputThread, m_running, DevicePlutoSDRShared::m_thread, and PlutoSDROutputThread::stopWork().
Referenced by PlutoSDROutput::MsgStartStop::MsgStartStop(), and start().
|
private |
Definition at line 293 of file plutosdroutput.cpp.
References DeviceAPI::getBuddySharedPtr(), DeviceAPI::getSourceBuddies(), i, m_deviceAPI, DevicePlutoSDRShared::m_thread, and DevicePlutoSDRShared::ThreadInterface::stopWork().
Referenced by ~PlutoSDROutput().
|
private |
Definition at line 779 of file plutosdroutput.cpp.
References fetchTemperature(), getDACSampleRate(), SWGSDRangel::SWGDeviceReport::getPlutoSdrOutputReport(), getRSSI(), getTemperature(), SWGSDRangel::SWGPlutoSdrOutputReport::setDacRate(), SWGSDRangel::SWGPlutoSdrOutputReport::setRssi(), and SWGSDRangel::SWGPlutoSdrOutputReport::setTemperature().
Referenced by webapiReportGet().
|
private |
Definition at line 752 of file plutosdroutput.cpp.
References SWGSDRangel::SWGDeviceSettings::getPlutoSdrOutputSettings(), SWGSDRangel::SWGPlutoSdrOutputSettings::getReverseApiAddress(), PlutoSDROutputSettings::m_antennaPath, PlutoSDROutputSettings::m_att, PlutoSDROutputSettings::m_centerFrequency, PlutoSDROutputSettings::m_devSampleRate, PlutoSDROutputSettings::m_log2Interp, PlutoSDROutputSettings::m_LOppmTenths, PlutoSDROutputSettings::m_lpfBW, PlutoSDROutputSettings::m_lpfFIRBW, PlutoSDROutputSettings::m_lpfFIREnable, PlutoSDROutputSettings::m_lpfFIRGain, PlutoSDROutputSettings::m_lpfFIRlog2Interp, PlutoSDROutputSettings::m_reverseAPIAddress, PlutoSDROutputSettings::m_reverseAPIDeviceIndex, PlutoSDROutputSettings::m_reverseAPIPort, PlutoSDROutputSettings::m_transverterDeltaFrequency, PlutoSDROutputSettings::m_transverterMode, PlutoSDROutputSettings::m_useReverseAPI, SWGSDRangel::SWGPlutoSdrOutputSettings::setAntennaPath(), SWGSDRangel::SWGPlutoSdrOutputSettings::setAtt(), SWGSDRangel::SWGPlutoSdrOutputSettings::setCenterFrequency(), SWGSDRangel::SWGPlutoSdrOutputSettings::setDevSampleRate(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLog2Interp(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLOppmTenths(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfBw(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFirbw(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFirEnable(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFirGain(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFiRlog2Interp(), SWGSDRangel::SWGPlutoSdrOutputSettings::setReverseApiAddress(), SWGSDRangel::SWGPlutoSdrOutputSettings::setReverseApiDeviceIndex(), SWGSDRangel::SWGPlutoSdrOutputSettings::setReverseApiPort(), SWGSDRangel::SWGPlutoSdrOutputSettings::setTransverterDeltaFrequency(), SWGSDRangel::SWGPlutoSdrOutputSettings::setTransverterMode(), and SWGSDRangel::SWGPlutoSdrOutputSettings::setUseReverseApi().
Referenced by webapiSettingsGet(), and webapiSettingsPutPatch().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 741 of file plutosdroutput.cpp.
References SWGSDRangel::SWGDeviceReport::getPlutoSdrOutputReport(), SWGSDRangel::SWGPlutoSdrOutputReport::init(), SWGSDRangel::SWGDeviceReport::setPlutoSdrOutputReport(), and webapiFormatDeviceReport().
Referenced by setSampleRate().
|
private |
Definition at line 789 of file plutosdroutput.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), DeviceAPI::getDeviceSetIndex(), SWGSDRangel::SWGDeviceSettings::getPlutoSdrOutputSettings(), PlutoSDROutputSettings::m_antennaPath, PlutoSDROutputSettings::m_att, PlutoSDROutputSettings::m_centerFrequency, m_deviceAPI, PlutoSDROutputSettings::m_devSampleRate, PlutoSDROutputSettings::m_log2Interp, PlutoSDROutputSettings::m_LOppmTenths, PlutoSDROutputSettings::m_lpfBW, PlutoSDROutputSettings::m_lpfFIRBW, PlutoSDROutputSettings::m_lpfFIREnable, PlutoSDROutputSettings::m_lpfFIRGain, PlutoSDROutputSettings::m_lpfFIRlog2Interp, m_networkManager, m_networkRequest, PlutoSDROutputSettings::m_reverseAPIAddress, PlutoSDROutputSettings::m_reverseAPIDeviceIndex, PlutoSDROutputSettings::m_reverseAPIPort, PlutoSDROutputSettings::m_transverterDeltaFrequency, PlutoSDROutputSettings::m_transverterMode, SWGSDRangel::SWGPlutoSdrOutputSettings::setAntennaPath(), SWGSDRangel::SWGPlutoSdrOutputSettings::setAtt(), SWGSDRangel::SWGPlutoSdrOutputSettings::setCenterFrequency(), SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGPlutoSdrOutputSettings::setDevSampleRate(), SWGSDRangel::SWGDeviceSettings::setDirection(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLog2Interp(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLOppmTenths(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfBw(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFirbw(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFirEnable(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFirGain(), SWGSDRangel::SWGPlutoSdrOutputSettings::setLpfFiRlog2Interp(), SWGSDRangel::SWGDeviceSettings::setOriginatorIndex(), SWGSDRangel::SWGDeviceSettings::setPlutoSdrOutputSettings(), SWGSDRangel::SWGPlutoSdrOutputSettings::setTransverterDeltaFrequency(), and SWGSDRangel::SWGPlutoSdrOutputSettings::setTransverterMode().
Referenced by applySettings().
|
private |
Definition at line 858 of file plutosdroutput.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), DeviceAPI::getDeviceSetIndex(), m_deviceAPI, m_networkManager, m_networkRequest, PlutoSDROutputSettings::m_reverseAPIAddress, PlutoSDROutputSettings::m_reverseAPIDeviceIndex, PlutoSDROutputSettings::m_reverseAPIPort, m_settings, SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGDeviceSettings::setDirection(), and SWGSDRangel::SWGDeviceSettings::setOriginatorIndex().
Referenced by handleMessage().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 635 of file plutosdroutput.cpp.
References PlutoSDROutput::MsgStartStop::create(), DeviceAPI::getDeviceEngineStateStr(), SWGSDRangel::SWGDeviceState::getState(), m_deviceAPI, DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, and MessageQueue::push().
Referenced by setSampleRate().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 626 of file plutosdroutput.cpp.
References DeviceAPI::getDeviceEngineStateStr(), SWGSDRangel::SWGDeviceState::getState(), and m_deviceAPI.
Referenced by setSampleRate().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 654 of file plutosdroutput.cpp.
References SWGSDRangel::SWGDeviceSettings::getPlutoSdrOutputSettings(), SWGSDRangel::SWGPlutoSdrOutputSettings::init(), m_settings, SWGSDRangel::SWGDeviceSettings::setPlutoSdrOutputSettings(), and webapiFormatDeviceSettings().
Referenced by setSampleRate().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 665 of file plutosdroutput.cpp.
References PlutoSDROutput::MsgConfigurePlutoSDR::create(), SWGSDRangel::SWGPlutoSdrOutputSettings::getAntennaPath(), SWGSDRangel::SWGPlutoSdrOutputSettings::getAtt(), SWGSDRangel::SWGPlutoSdrOutputSettings::getCenterFrequency(), SWGSDRangel::SWGPlutoSdrOutputSettings::getDevSampleRate(), SWGSDRangel::SWGPlutoSdrOutputSettings::getLog2Interp(), SWGSDRangel::SWGPlutoSdrOutputSettings::getLOppmTenths(), SWGSDRangel::SWGPlutoSdrOutputSettings::getLpfBw(), SWGSDRangel::SWGPlutoSdrOutputSettings::getLpfFirbw(), SWGSDRangel::SWGPlutoSdrOutputSettings::getLpfFirEnable(), SWGSDRangel::SWGPlutoSdrOutputSettings::getLpfFirGain(), SWGSDRangel::SWGPlutoSdrOutputSettings::getLpfFiRlog2Interp(), SWGSDRangel::SWGDeviceSettings::getPlutoSdrOutputSettings(), SWGSDRangel::SWGPlutoSdrOutputSettings::getReverseApiAddress(), SWGSDRangel::SWGPlutoSdrOutputSettings::getReverseApiDeviceIndex(), SWGSDRangel::SWGPlutoSdrOutputSettings::getReverseApiPort(), SWGSDRangel::SWGPlutoSdrOutputSettings::getTransverterDeltaFrequency(), SWGSDRangel::SWGPlutoSdrOutputSettings::getTransverterMode(), SWGSDRangel::SWGPlutoSdrOutputSettings::getUseReverseApi(), PlutoSDROutputSettings::m_antennaPath, PlutoSDROutputSettings::m_att, PlutoSDROutputSettings::m_centerFrequency, PlutoSDROutputSettings::m_devSampleRate, DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, PlutoSDROutputSettings::m_log2Interp, PlutoSDROutputSettings::m_LOppmTenths, PlutoSDROutputSettings::m_lpfBW, PlutoSDROutputSettings::m_lpfFIRBW, PlutoSDROutputSettings::m_lpfFIREnable, PlutoSDROutputSettings::m_lpfFIRGain, PlutoSDROutputSettings::m_lpfFIRlog2Interp, PlutoSDROutputSettings::m_reverseAPIAddress, PlutoSDROutputSettings::m_reverseAPIDeviceIndex, PlutoSDROutputSettings::m_reverseAPIPort, m_settings, PlutoSDROutputSettings::m_transverterDeltaFrequency, PlutoSDROutputSettings::m_transverterMode, PlutoSDROutputSettings::m_useReverseAPI, MessageQueue::push(), PlutoSDROutputSettings::RFPATH_END, and webapiFormatDeviceSettings().
Referenced by setSampleRate().
|
private |
Definition at line 133 of file plutosdroutput.h.
Referenced by applySettings(), closeDevice(), handleMessage(), openDevice(), resumeBuddies(), suspendBuddies(), webapiReverseSendSettings(), webapiReverseSendStartStop(), webapiRun(), and webapiRunGet().
|
private |
Definition at line 134 of file plutosdroutput.h.
Referenced by getDeviceDescription().
|
private |
Definition at line 140 of file plutosdroutput.h.
Referenced by applySettings(), getDACSampleRate(), and getFIRSampleRate().
|
private |
Definition at line 137 of file plutosdroutput.h.
Referenced by applySettings(), closeDevice(), fetchTemperature(), getbbLPRange(), getLORange(), getRSSI(), getTemperature(), openDevice(), start(), and stop().
|
private |
Definition at line 141 of file plutosdroutput.h.
|
private |
Definition at line 142 of file plutosdroutput.h.
Referenced by webapiReverseSendSettings(), webapiReverseSendStartStop(), and ~PlutoSDROutput().
|
private |
Definition at line 143 of file plutosdroutput.h.
Referenced by webapiReverseSendSettings(), and webapiReverseSendStartStop().
|
private |
Definition at line 139 of file plutosdroutput.h.
Referenced by applySettings(), start(), and stop().
|
private |
Definition at line 138 of file plutosdroutput.h.
Referenced by openDevice().
|
private |
Definition at line 136 of file plutosdroutput.h.
|
private |
Definition at line 135 of file plutosdroutput.h.
Referenced by applySettings(), deserialize(), getCenterFrequency(), getSampleRate(), handleMessage(), init(), serialize(), setCenterFrequency(), start(), webapiReverseSendStartStop(), webapiSettingsGet(), and webapiSettingsPutPatch().