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 <limesdroutput.h>
Classes | |
class | MsgConfigureLimeSDR |
class | MsgGetDeviceInfo |
class | MsgGetStreamInfo |
class | MsgReportStreamInfo |
class | MsgStartStop |
Public Member Functions | |
LimeSDROutput (DeviceAPI *deviceAPI) | |
virtual | ~LimeSDROutput () |
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) |
std::size_t | getChannelIndex () |
void | getLORange (float &minF, float &maxF) const |
void | getSRRange (float &minF, float &maxF) const |
void | getLPRange (float &minF, float &maxF) const |
uint32_t | getHWLog2Interp () const |
DeviceLimeSDRParams::LimeType | getLimeType () const |
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 () |
bool | acquireChannel () |
void | releaseChannel () |
void | suspendRxBuddies () |
void | resumeRxBuddies () |
void | suspendTxBuddies () |
void | resumeTxBuddies () |
bool | applySettings (const LimeSDROutputSettings &settings, bool force=false, bool forceNCOFrequency=false) |
void | webapiFormatDeviceSettings (SWGSDRangel::SWGDeviceSettings &response, const LimeSDROutputSettings &settings) |
void | webapiFormatDeviceReport (SWGSDRangel::SWGDeviceReport &response) |
void | webapiReverseSendSettings (QList< QString > &deviceSettingsKeys, const LimeSDROutputSettings &settings, bool force) |
void | webapiReverseSendStartStop (bool start) |
Private Attributes | |
DeviceAPI * | m_deviceAPI |
QMutex | m_mutex |
LimeSDROutputSettings | m_settings |
LimeSDROutputThread * | m_limeSDROutputThread |
QString | m_deviceDescription |
bool | m_running |
DeviceLimeSDRShared | m_deviceShared |
bool | m_channelAcquired |
lms_stream_t | m_streamId |
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 limesdroutput.h.
LimeSDROutput::LimeSDROutput | ( | DeviceAPI * | deviceAPI | ) |
Definition at line 49 of file limesdroutput.cpp.
References LIMESDROUTPUT_BLOCKSIZE.
Referenced by LimeSDROutput::MsgReportStreamInfo::MsgReportStreamInfo().
|
virtual |
Definition at line 69 of file limesdroutput.cpp.
References closeDevice(), m_networkManager, m_running, networkManagerFinished(), resumeRxBuddies(), resumeTxBuddies(), stop(), suspendRxBuddies(), and suspendTxBuddies().
Referenced by LimeSDROutput::MsgReportStreamInfo::MsgReportStreamInfo().
|
private |
Definition at line 285 of file limesdroutput.cpp.
References DeviceLimeSDRParams::getDevice(), DeviceLimeSDRShared::m_channel, m_channelAcquired, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, m_streamId, resumeRxBuddies(), resumeTxBuddies(), suspendRxBuddies(), and suspendTxBuddies().
Referenced by start().
|
private |
Definition at line 739 of file limesdroutput.cpp.
References DeviceLimeSDRShared::MsgReportBuddyChange::create(), DeviceLimeSDRShared::MsgReportClockSourceChange::create(), DeviceLimeSDRShared::MsgReportGPIOChange::create(), DeviceLimeSDRParams::getDevice(), DeviceAPI::getDeviceEngineInputMessageQueue(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), LimeSDROutputThread::isRunning(), DeviceLimeSDRParams::LimeMini, DeviceLimeSDRParams::LimeUndefined, LimeSDROutputSettings::m_antennaPath, LimeSDROutputSettings::m_centerFrequency, DeviceLimeSDRShared::m_centerFrequency, DeviceLimeSDRShared::m_channel, m_channelAcquired, m_deviceAPI, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, LimeSDROutputSettings::m_devSampleRate, LimeSDROutputSettings::m_extClock, LimeSDROutputSettings::m_extClockFreq, LimeSDROutputSettings::m_gain, LimeSDROutputSettings::m_gpioDir, LimeSDROutputSettings::m_gpioPins, m_limeSDROutputThread, LimeSDROutputSettings::m_log2HardInterp, DeviceLimeSDRParams::m_log2OvSRTx, DeviceLimeSDRShared::m_log2Soft, LimeSDROutputSettings::m_log2SoftInterp, LimeSDROutputSettings::m_lpfBW, LimeSDROutputSettings::m_lpfFIRBW, LimeSDROutputSettings::m_lpfFIREnable, LimeSDROutputSettings::m_ncoEnable, LimeSDROutputSettings::m_ncoFrequency, DeviceLimeSDRShared::m_ncoFrequency, LimeSDROutputSettings::m_reverseAPIAddress, LimeSDROutputSettings::m_reverseAPIDeviceIndex, LimeSDROutputSettings::m_reverseAPIPort, DeviceLimeSDRShared::m_sampleFifoLengthInSeconds, DeviceLimeSDRShared::m_sampleFifoMinSize, DeviceLimeSDRParams::m_sampleRate, DeviceSampleSink::m_sampleSourceFifo, m_settings, LimeSDROutputSettings::m_transverterDeltaFrequency, LimeSDROutputSettings::m_transverterMode, DeviceLimeSDRParams::m_type, LimeSDROutputSettings::m_useReverseAPI, leansdr::max(), MessageQueue::push(), SampleSourceFifo::resize(), resumeRxBuddies(), resumeTxBuddies(), DeviceLimeSDR::setClockSource(), LimeSDROutputThread::setLog2Interpolation(), DeviceLimeSDR::setNCOFrequency(), DeviceLimeSDR::setTxAntennaPath(), LimeSDROutputThread::startWork(), LimeSDROutputThread::stopWork(), suspendRxBuddies(), suspendTxBuddies(), and webapiReverseSendSettings().
Referenced by handleMessage(), init(), and start().
|
private |
Definition at line 265 of file limesdroutput.cpp.
References DeviceLimeSDRParams::close(), DeviceLimeSDRParams::getDevice(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), DeviceLimeSDRShared::m_channel, m_deviceAPI, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, m_running, and stop().
Referenced by ~LimeSDROutput().
|
virtual |
Implements DeviceSampleSink.
Definition at line 422 of file limesdroutput.cpp.
References LimeSDROutput::MsgConfigureLimeSDR::create(), LimeSDROutputSettings::deserialize(), DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, m_settings, MessageQueue::push(), and LimeSDROutputSettings::resetToDefaults().
Referenced by LimeSDROutput::MsgReportStreamInfo::MsgReportStreamInfo().
|
virtual |
Implements DeviceSampleSink.
Definition at line 85 of file limesdroutput.cpp.
Referenced by LimeSDROutput::MsgReportStreamInfo::MsgReportStreamInfo().
|
virtual |
Center frequency exposed by the sink.
Implements DeviceSampleSink.
Definition at line 455 of file limesdroutput.cpp.
References LimeSDROutputSettings::m_centerFrequency, LimeSDROutputSettings::m_ncoEnable, LimeSDROutputSettings::m_ncoFrequency, and m_settings.
Referenced by setSampleRate().
std::size_t LimeSDROutput::getChannelIndex | ( | ) |
Definition at line 475 of file limesdroutput.cpp.
References DeviceLimeSDRShared::m_channel, and m_deviceShared.
Referenced by LimeSDROutputGUI::LimeSDROutputGUI(), and setSampleRate().
|
virtual |
Implements DeviceSampleSink.
Definition at line 444 of file limesdroutput.cpp.
References m_deviceDescription.
Referenced by setMessageQueueToGUI().
uint32_t LimeSDROutput::getHWLog2Interp | ( | ) | const |
Definition at line 504 of file limesdroutput.cpp.
References DeviceLimeSDRShared::m_deviceParams, m_deviceShared, and DeviceLimeSDRParams::m_log2OvSRTx.
Referenced by setSampleRate().
DeviceLimeSDRParams::LimeType LimeSDROutput::getLimeType | ( | ) | const |
Definition at line 509 of file limesdroutput.cpp.
References DeviceLimeSDRParams::LimeUndefined, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, and DeviceLimeSDRParams::m_type.
Referenced by LimeSDROutputGUI::LimeSDROutputGUI(), and setSampleRate().
void LimeSDROutput::getLORange | ( | float & | minF, |
float & | maxF | ||
) | const |
Definition at line 480 of file limesdroutput.cpp.
References DeviceLimeSDRShared::m_deviceParams, m_deviceShared, and DeviceLimeSDRParams::m_loRangeTx.
Referenced by LimeSDROutputGUI::LimeSDROutputGUI(), setSampleRate(), and LimeSDROutputGUI::updateFrequencyLimits().
void LimeSDROutput::getLPRange | ( | float & | minF, |
float & | maxF | ||
) | const |
Definition at line 496 of file limesdroutput.cpp.
References DeviceLimeSDRShared::m_deviceParams, m_deviceShared, and DeviceLimeSDRParams::m_lpfRangeTx.
Referenced by LimeSDROutputGUI::LimeSDROutputGUI(), and setSampleRate().
|
virtual |
Sample rate exposed by the sink.
Implements DeviceSampleSink.
Definition at line 449 of file limesdroutput.cpp.
References LimeSDROutputSettings::m_devSampleRate, LimeSDROutputSettings::m_log2SoftInterp, and m_settings.
Referenced by setMessageQueueToGUI().
void LimeSDROutput::getSRRange | ( | float & | minF, |
float & | maxF | ||
) | const |
Definition at line 488 of file limesdroutput.cpp.
References DeviceLimeSDRShared::m_deviceParams, m_deviceShared, and DeviceLimeSDRParams::m_srRangeTx.
Referenced by LimeSDROutputGUI::displaySampleRate(), LimeSDROutputGUI::LimeSDROutputGUI(), and setSampleRate().
|
virtual |
Implements DeviceSampleSink.
Definition at line 518 of file limesdroutput.cpp.
References applySettings(), DeviceLimeSDRShared::MsgReportBuddyChange::create(), DeviceLimeSDRShared::MsgReportClockSourceChange::create(), DeviceLimeSDRShared::MsgReportDeviceInfo::create(), LimeSDROutput::MsgReportStreamInfo::create(), DeviceLimeSDRShared::MsgReportBuddyChange::getCenterFrequency(), DeviceLimeSDRParams::getDevice(), DeviceAPI::getDeviceEngineInputMessageQueue(), DeviceLimeSDRShared::MsgReportBuddyChange::getDevSampleRate(), DeviceLimeSDRShared::MsgReportClockSourceChange::getExtClock(), DeviceLimeSDRShared::MsgReportClockSourceChange::getExtClockFeq(), LimeSDROutput::MsgConfigureLimeSDR::getForce(), DeviceLimeSDRShared::MsgReportGPIOChange::getGPIODir(), DeviceLimeSDRShared::MsgReportGPIOChange::getGPIOPins(), DeviceLimeSDRShared::MsgReportBuddyChange::getLog2HardDecimInterp(), DeviceSampleSink::getMessageQueueToGUI(), DeviceLimeSDRShared::MsgReportBuddyChange::getRxElseTx(), DeviceAPI::getSamplingDeviceGUIMessageQueue(), LimeSDROutput::MsgConfigureLimeSDR::getSettings(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), LimeSDROutput::MsgStartStop::getStartStop(), DeviceAPI::initDeviceEngine(), DeviceLimeSDRParams::LimeMini, DeviceLimeSDRParams::LimeUndefined, LimeSDROutputSettings::m_centerFrequency, DeviceLimeSDRShared::m_channel, m_deviceAPI, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, LimeSDROutputSettings::m_devSampleRate, LimeSDROutputSettings::m_extClock, LimeSDROutputSettings::m_extClockFreq, LimeSDROutputSettings::m_gpioDir, LimeSDROutputSettings::m_gpioPins, LimeSDROutputSettings::m_log2HardInterp, LimeSDROutputSettings::m_log2SoftInterp, LimeSDROutputSettings::m_ncoEnable, LimeSDROutputSettings::m_ncoFrequency, m_running, m_settings, m_streamId, DeviceLimeSDRParams::m_type, LimeSDROutputSettings::m_useReverseAPI, Message::match(), MessageQueue::push(), 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 365 of file limesdroutput.cpp.
References applySettings(), and m_settings.
Referenced by LimeSDROutput::MsgReportStreamInfo::MsgReportStreamInfo().
|
privateslot |
Definition at line 1553 of file limesdroutput.cpp.
Referenced by ~LimeSDROutput().
|
private |
Definition at line 90 of file limesdroutput.cpp.
References DeviceAPI::getBuddySharedPtr(), DeviceAPI::getDeviceItemIndex(), DeviceAPI::getSamplingDeviceSerial(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), i, DeviceLimeSDRShared::m_channel, m_deviceAPI, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, DeviceLimeSDRParams::m_nbTxChannels, DeviceLimeSDRParams::open(), and DeviceAPI::setBuddySharedPtr().
|
private |
Definition at line 330 of file limesdroutput.cpp.
References DeviceLimeSDRParams::getDevice(), DeviceLimeSDRShared::m_channel, m_channelAcquired, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, m_streamId, resumeRxBuddies(), resumeTxBuddies(), suspendRxBuddies(), and suspendTxBuddies().
Referenced by stop().
|
private |
Definition at line 231 of file limesdroutput.cpp.
References DeviceAPI::getSourceBuddies(), m_deviceAPI, DeviceLimeSDRShared::m_thread, DeviceLimeSDRShared::m_threadWasRunning, and DeviceLimeSDRShared::ThreadInterface::startWork().
Referenced by acquireChannel(), applySettings(), releaseChannel(), and ~LimeSDROutput().
|
private |
Definition at line 248 of file limesdroutput.cpp.
References DeviceAPI::getSinkBuddies(), m_deviceAPI, DeviceLimeSDRShared::m_thread, DeviceLimeSDRShared::m_threadWasRunning, and DeviceLimeSDRShared::ThreadInterface::startWork().
Referenced by acquireChannel(), applySettings(), releaseChannel(), and ~LimeSDROutput().
|
virtual |
Implements DeviceSampleSink.
Definition at line 417 of file limesdroutput.cpp.
References m_settings, and LimeSDROutputSettings::serialize().
Referenced by LimeSDROutput::MsgReportStreamInfo::MsgReportStreamInfo().
|
virtual |
Implements DeviceSampleSink.
Definition at line 460 of file limesdroutput.cpp.
References LimeSDROutput::MsgConfigureLimeSDR::create(), LimeSDROutputSettings::m_centerFrequency, DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, LimeSDROutputSettings::m_ncoEnable, LimeSDROutputSettings::m_ncoFrequency, m_settings, and MessageQueue::push().
Referenced by setSampleRate().
|
inlinevirtual |
Implements DeviceSampleSink.
Definition at line 198 of file limesdroutput.h.
References getDeviceDescription(), getSampleRate(), and DeviceSampleSink::m_guiMessageQueue.
|
inlinevirtual |
For when the sink sample rate is set externally.
Implements DeviceSampleSink.
Definition at line 201 of file limesdroutput.h.
References getCenterFrequency(), getChannelIndex(), getHWLog2Interp(), getLimeType(), getLORange(), getLPRange(), getSRRange(), handleMessage(), setCenterFrequency(), webapiReportGet(), webapiRun(), webapiRunGet(), webapiSettingsGet(), and webapiSettingsPutPatch().
|
virtual |
Implements DeviceSampleSink.
Definition at line 370 of file limesdroutput.cpp.
References acquireChannel(), applySettings(), DeviceLimeSDRParams::getDevice(), DeviceLimeSDRShared::m_deviceParams, m_deviceShared, m_limeSDROutputThread, LimeSDROutputSettings::m_log2SoftInterp, m_running, DeviceSampleSink::m_sampleSourceFifo, m_settings, m_streamId, DeviceLimeSDRShared::m_thread, LimeSDROutputThread::setLog2Interpolation(), LimeSDROutputThread::startWork(), and stop().
Referenced by LimeSDROutput::MsgReportStreamInfo::MsgReportStreamInfo().
|
virtual |
Implements DeviceSampleSink.
Definition at line 400 of file limesdroutput.cpp.
References m_deviceShared, m_limeSDROutputThread, m_running, DeviceLimeSDRShared::m_thread, releaseChannel(), and LimeSDROutputThread::stopWork().
Referenced by closeDevice(), LimeSDROutput::MsgReportStreamInfo::MsgReportStreamInfo(), start(), and ~LimeSDROutput().
|
private |
Definition at line 185 of file limesdroutput.cpp.
References DeviceAPI::getSourceBuddies(), DeviceLimeSDRShared::ThreadInterface::isRunning(), m_deviceAPI, DeviceLimeSDRShared::m_thread, DeviceLimeSDRShared::m_threadWasRunning, and DeviceLimeSDRShared::ThreadInterface::stopWork().
Referenced by acquireChannel(), applySettings(), releaseChannel(), and ~LimeSDROutput().
|
private |
Definition at line 208 of file limesdroutput.cpp.
References DeviceAPI::getSinkBuddies(), DeviceLimeSDRShared::ThreadInterface::isRunning(), m_deviceAPI, DeviceLimeSDRShared::m_thread, DeviceLimeSDRShared::m_threadWasRunning, and DeviceLimeSDRShared::ThreadInterface::stopWork().
Referenced by acquireChannel(), applySettings(), releaseChannel(), and ~LimeSDROutput().
|
private |
Definition at line 1404 of file limesdroutput.cpp.
References DeviceLimeSDRParams::getDevice(), SWGSDRangel::SWGDeviceReport::getLimeSdrOutputReport(), DeviceLimeSDRShared::m_deviceParams, m_deviceShared, m_streamId, SWGSDRangel::SWGLimeSdrOutputReport::setDroppedPacketsCount(), SWGSDRangel::SWGLimeSdrOutputReport::setFifoFill(), SWGSDRangel::SWGLimeSdrOutputReport::setFifoSize(), SWGSDRangel::SWGLimeSdrOutputReport::setGpioDir(), SWGSDRangel::SWGLimeSdrOutputReport::setGpioPins(), SWGSDRangel::SWGLimeSdrOutputReport::setHwTimestamp(), SWGSDRangel::SWGLimeSdrOutputReport::setLinkRate(), SWGSDRangel::SWGLimeSdrOutputReport::setOverrunCount(), SWGSDRangel::SWGLimeSdrOutputReport::setStreamActive(), SWGSDRangel::SWGLimeSdrOutputReport::setSuccess(), SWGSDRangel::SWGLimeSdrOutputReport::setTemperature(), and SWGSDRangel::SWGLimeSdrOutputReport::setUnderrunCount().
Referenced by webapiReportGet().
|
private |
Definition at line 1345 of file limesdroutput.cpp.
References SWGSDRangel::SWGDeviceSettings::getLimeSdrOutputSettings(), SWGSDRangel::SWGLimeSdrOutputSettings::getReverseApiAddress(), LimeSDROutputSettings::m_antennaPath, LimeSDROutputSettings::m_centerFrequency, LimeSDROutputSettings::m_devSampleRate, LimeSDROutputSettings::m_extClock, LimeSDROutputSettings::m_extClockFreq, LimeSDROutputSettings::m_gain, LimeSDROutputSettings::m_gpioDir, LimeSDROutputSettings::m_gpioPins, LimeSDROutputSettings::m_log2HardInterp, LimeSDROutputSettings::m_log2SoftInterp, LimeSDROutputSettings::m_lpfBW, LimeSDROutputSettings::m_lpfFIRBW, LimeSDROutputSettings::m_lpfFIREnable, LimeSDROutputSettings::m_ncoEnable, LimeSDROutputSettings::m_ncoFrequency, LimeSDROutputSettings::m_reverseAPIAddress, LimeSDROutputSettings::m_reverseAPIDeviceIndex, LimeSDROutputSettings::m_reverseAPIPort, LimeSDROutputSettings::m_transverterDeltaFrequency, LimeSDROutputSettings::m_transverterMode, LimeSDROutputSettings::m_useReverseAPI, SWGSDRangel::SWGLimeSdrOutputSettings::setAntennaPath(), SWGSDRangel::SWGLimeSdrOutputSettings::setCenterFrequency(), SWGSDRangel::SWGLimeSdrOutputSettings::setDevSampleRate(), SWGSDRangel::SWGLimeSdrOutputSettings::setExtClock(), SWGSDRangel::SWGLimeSdrOutputSettings::setExtClockFreq(), SWGSDRangel::SWGLimeSdrOutputSettings::setGain(), SWGSDRangel::SWGLimeSdrOutputSettings::setGpioDir(), SWGSDRangel::SWGLimeSdrOutputSettings::setGpioPins(), SWGSDRangel::SWGLimeSdrOutputSettings::setLog2HardInterp(), SWGSDRangel::SWGLimeSdrOutputSettings::setLog2SoftInterp(), SWGSDRangel::SWGLimeSdrOutputSettings::setLpfBw(), SWGSDRangel::SWGLimeSdrOutputSettings::setLpfFirbw(), SWGSDRangel::SWGLimeSdrOutputSettings::setLpfFirEnable(), SWGSDRangel::SWGLimeSdrOutputSettings::setNcoEnable(), SWGSDRangel::SWGLimeSdrOutputSettings::setNcoFrequency(), SWGSDRangel::SWGLimeSdrOutputSettings::setReverseApiAddress(), SWGSDRangel::SWGLimeSdrOutputSettings::setReverseApiDeviceIndex(), SWGSDRangel::SWGLimeSdrOutputSettings::setReverseApiPort(), SWGSDRangel::SWGLimeSdrOutputSettings::setTransverterDeltaFrequency(), SWGSDRangel::SWGLimeSdrOutputSettings::setTransverterMode(), and SWGSDRangel::SWGLimeSdrOutputSettings::setUseReverseApi().
Referenced by webapiSettingsGet(), and webapiSettingsPutPatch().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1335 of file limesdroutput.cpp.
References SWGSDRangel::SWGDeviceReport::getLimeSdrOutputReport(), SWGSDRangel::SWGLimeSdrOutputReport::init(), SWGSDRangel::SWGDeviceReport::setLimeSdrOutputReport(), and webapiFormatDeviceReport().
Referenced by setSampleRate().
|
private |
Definition at line 1444 of file limesdroutput.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), DeviceAPI::getDeviceSetIndex(), SWGSDRangel::SWGDeviceSettings::getLimeSdrOutputSettings(), LimeSDROutputSettings::m_antennaPath, LimeSDROutputSettings::m_centerFrequency, m_deviceAPI, LimeSDROutputSettings::m_devSampleRate, LimeSDROutputSettings::m_extClock, LimeSDROutputSettings::m_extClockFreq, LimeSDROutputSettings::m_gain, LimeSDROutputSettings::m_gpioDir, LimeSDROutputSettings::m_gpioPins, LimeSDROutputSettings::m_log2HardInterp, LimeSDROutputSettings::m_log2SoftInterp, LimeSDROutputSettings::m_lpfBW, LimeSDROutputSettings::m_lpfFIRBW, LimeSDROutputSettings::m_lpfFIREnable, LimeSDROutputSettings::m_ncoEnable, LimeSDROutputSettings::m_ncoFrequency, m_networkManager, m_networkRequest, LimeSDROutputSettings::m_reverseAPIAddress, LimeSDROutputSettings::m_reverseAPIDeviceIndex, LimeSDROutputSettings::m_reverseAPIPort, LimeSDROutputSettings::m_transverterDeltaFrequency, LimeSDROutputSettings::m_transverterMode, SWGSDRangel::SWGLimeSdrOutputSettings::setAntennaPath(), SWGSDRangel::SWGLimeSdrOutputSettings::setCenterFrequency(), SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGLimeSdrOutputSettings::setDevSampleRate(), SWGSDRangel::SWGDeviceSettings::setDirection(), SWGSDRangel::SWGLimeSdrOutputSettings::setExtClock(), SWGSDRangel::SWGLimeSdrOutputSettings::setExtClockFreq(), SWGSDRangel::SWGLimeSdrOutputSettings::setGain(), SWGSDRangel::SWGLimeSdrOutputSettings::setGpioDir(), SWGSDRangel::SWGLimeSdrOutputSettings::setGpioPins(), SWGSDRangel::SWGDeviceSettings::setLimeSdrOutputSettings(), SWGSDRangel::SWGLimeSdrOutputSettings::setLog2HardInterp(), SWGSDRangel::SWGLimeSdrOutputSettings::setLog2SoftInterp(), SWGSDRangel::SWGLimeSdrOutputSettings::setLpfBw(), SWGSDRangel::SWGLimeSdrOutputSettings::setLpfFirbw(), SWGSDRangel::SWGLimeSdrOutputSettings::setLpfFirEnable(), SWGSDRangel::SWGLimeSdrOutputSettings::setNcoEnable(), SWGSDRangel::SWGLimeSdrOutputSettings::setNcoFrequency(), SWGSDRangel::SWGDeviceSettings::setOriginatorIndex(), SWGSDRangel::SWGLimeSdrOutputSettings::setTransverterDeltaFrequency(), and SWGSDRangel::SWGLimeSdrOutputSettings::setTransverterMode().
Referenced by applySettings().
|
private |
Definition at line 1525 of file limesdroutput.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), DeviceAPI::getDeviceSetIndex(), m_deviceAPI, m_networkManager, m_networkRequest, LimeSDROutputSettings::m_reverseAPIAddress, LimeSDROutputSettings::m_reverseAPIDeviceIndex, LimeSDROutputSettings::m_reverseAPIPort, m_settings, SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGDeviceSettings::setDirection(), and SWGSDRangel::SWGDeviceSettings::setOriginatorIndex().
Referenced by handleMessage().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1385 of file limesdroutput.cpp.
References LimeSDROutput::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 1376 of file limesdroutput.cpp.
References DeviceAPI::getDeviceEngineStateStr(), SWGSDRangel::SWGDeviceState::getState(), and m_deviceAPI.
Referenced by setSampleRate().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1238 of file limesdroutput.cpp.
References SWGSDRangel::SWGDeviceSettings::getLimeSdrOutputSettings(), SWGSDRangel::SWGLimeSdrOutputSettings::init(), m_settings, SWGSDRangel::SWGDeviceSettings::setLimeSdrOutputSettings(), and webapiFormatDeviceSettings().
Referenced by setSampleRate().
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1249 of file limesdroutput.cpp.
References LimeSDROutput::MsgConfigureLimeSDR::create(), SWGSDRangel::SWGLimeSdrOutputSettings::getAntennaPath(), SWGSDRangel::SWGLimeSdrOutputSettings::getCenterFrequency(), SWGSDRangel::SWGLimeSdrOutputSettings::getDevSampleRate(), SWGSDRangel::SWGLimeSdrOutputSettings::getExtClock(), SWGSDRangel::SWGLimeSdrOutputSettings::getExtClockFreq(), SWGSDRangel::SWGLimeSdrOutputSettings::getGain(), SWGSDRangel::SWGLimeSdrOutputSettings::getGpioDir(), SWGSDRangel::SWGLimeSdrOutputSettings::getGpioPins(), SWGSDRangel::SWGDeviceSettings::getLimeSdrOutputSettings(), SWGSDRangel::SWGLimeSdrOutputSettings::getLog2HardInterp(), SWGSDRangel::SWGLimeSdrOutputSettings::getLog2SoftInterp(), SWGSDRangel::SWGLimeSdrOutputSettings::getLpfBw(), SWGSDRangel::SWGLimeSdrOutputSettings::getLpfFirbw(), SWGSDRangel::SWGLimeSdrOutputSettings::getLpfFirEnable(), SWGSDRangel::SWGLimeSdrOutputSettings::getNcoEnable(), SWGSDRangel::SWGLimeSdrOutputSettings::getNcoFrequency(), SWGSDRangel::SWGLimeSdrOutputSettings::getReverseApiAddress(), SWGSDRangel::SWGLimeSdrOutputSettings::getReverseApiDeviceIndex(), SWGSDRangel::SWGLimeSdrOutputSettings::getReverseApiPort(), SWGSDRangel::SWGLimeSdrOutputSettings::getTransverterDeltaFrequency(), SWGSDRangel::SWGLimeSdrOutputSettings::getTransverterMode(), SWGSDRangel::SWGLimeSdrOutputSettings::getUseReverseApi(), LimeSDROutputSettings::m_antennaPath, LimeSDROutputSettings::m_centerFrequency, LimeSDROutputSettings::m_devSampleRate, LimeSDROutputSettings::m_extClock, LimeSDROutputSettings::m_extClockFreq, LimeSDROutputSettings::m_gain, LimeSDROutputSettings::m_gpioDir, LimeSDROutputSettings::m_gpioPins, DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, LimeSDROutputSettings::m_log2HardInterp, LimeSDROutputSettings::m_log2SoftInterp, LimeSDROutputSettings::m_lpfBW, LimeSDROutputSettings::m_lpfFIRBW, LimeSDROutputSettings::m_lpfFIREnable, LimeSDROutputSettings::m_ncoEnable, LimeSDROutputSettings::m_ncoFrequency, LimeSDROutputSettings::m_reverseAPIAddress, LimeSDROutputSettings::m_reverseAPIDeviceIndex, LimeSDROutputSettings::m_reverseAPIPort, m_settings, LimeSDROutputSettings::m_transverterDeltaFrequency, LimeSDROutputSettings::m_transverterMode, LimeSDROutputSettings::m_useReverseAPI, MessageQueue::push(), and webapiFormatDeviceSettings().
Referenced by setSampleRate().
|
private |
Definition at line 245 of file limesdroutput.h.
Referenced by acquireChannel(), applySettings(), and releaseChannel().
|
private |
Definition at line 238 of file limesdroutput.h.
Referenced by applySettings(), closeDevice(), handleMessage(), openDevice(), resumeRxBuddies(), resumeTxBuddies(), suspendRxBuddies(), suspendTxBuddies(), webapiReverseSendSettings(), webapiReverseSendStartStop(), webapiRun(), and webapiRunGet().
|
private |
Definition at line 242 of file limesdroutput.h.
Referenced by getDeviceDescription().
|
private |
Definition at line 244 of file limesdroutput.h.
Referenced by acquireChannel(), applySettings(), closeDevice(), getChannelIndex(), getHWLog2Interp(), getLimeType(), getLORange(), getLPRange(), getSRRange(), handleMessage(), openDevice(), releaseChannel(), start(), stop(), and webapiFormatDeviceReport().
|
private |
Definition at line 241 of file limesdroutput.h.
Referenced by applySettings(), start(), and stop().
|
private |
Definition at line 239 of file limesdroutput.h.
|
private |
Definition at line 247 of file limesdroutput.h.
Referenced by webapiReverseSendSettings(), webapiReverseSendStartStop(), and ~LimeSDROutput().
|
private |
Definition at line 248 of file limesdroutput.h.
Referenced by webapiReverseSendSettings(), and webapiReverseSendStartStop().
|
private |
Definition at line 243 of file limesdroutput.h.
Referenced by closeDevice(), handleMessage(), start(), stop(), and ~LimeSDROutput().
|
private |
Definition at line 240 of file limesdroutput.h.
Referenced by applySettings(), deserialize(), getCenterFrequency(), getSampleRate(), handleMessage(), init(), serialize(), setCenterFrequency(), start(), webapiReverseSendStartStop(), webapiSettingsGet(), and webapiSettingsPutPatch().
|
private |
Definition at line 246 of file limesdroutput.h.
Referenced by acquireChannel(), handleMessage(), releaseChannel(), start(), and webapiFormatDeviceReport().