![]() |
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 <limesdrinput.h>
Inheritance diagram for LimeSDRInput:
Collaboration diagram for LimeSDRInput:Classes | |
| class | MsgConfigureLimeSDR |
| class | MsgFileRecord |
| class | MsgGetDeviceInfo |
| class | MsgGetStreamInfo |
| class | MsgReportStreamInfo |
| class | MsgStartStop |
Public Member Functions | |
| LimeSDRInput (DeviceAPI *deviceAPI) | |
| virtual | ~LimeSDRInput () |
| 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 source. More... | |
| virtual void | setSampleRate (int sampleRate) |
| For when the source sample rate is set externally. More... | |
| virtual quint64 | getCenterFrequency () const |
| Center frequency exposed by the source. 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 | getHWLog2Decim () const |
| DeviceLimeSDRParams::LimeType | getLimeType () const |
Public Member Functions inherited from DeviceSampleSource | |
| DeviceSampleSource () | |
| virtual | ~DeviceSampleSource () |
| MessageQueue * | getInputMessageQueue () |
| MessageQueue * | getMessageQueueToGUI () |
| SampleSinkFifo * | 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 LimeSDRInputSettings &settings, bool force=false, bool forceNCOFrequency=false) |
| void | webapiFormatDeviceSettings (SWGSDRangel::SWGDeviceSettings &response, const LimeSDRInputSettings &settings) |
| void | webapiFormatDeviceReport (SWGSDRangel::SWGDeviceReport &response) |
| void | webapiReverseSendSettings (QList< QString > &deviceSettingsKeys, const LimeSDRInputSettings &settings, bool force) |
| void | webapiReverseSendStartStop (bool start) |
Private Attributes | |
| DeviceAPI * | m_deviceAPI |
| QMutex | m_mutex |
| LimeSDRInputSettings | m_settings |
| LimeSDRInputThread * | m_limeSDRInputThread |
| QString | m_deviceDescription |
| bool | m_running |
| DeviceLimeSDRShared | m_deviceShared |
| bool | m_channelAcquired |
| lms_stream_t | m_streamId |
| FileRecord * | m_fileSink |
| File sink to record device I/Q output. More... | |
| QNetworkAccessManager * | m_networkManager |
| QNetworkRequest | m_networkRequest |
Additional Inherited Members | |
Public Types inherited from DeviceSampleSource | |
| enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
| enum | FrequencyShiftScheme { FSHIFT_STD = 0, FSHIFT_TXSYNC } |
Static Public Member Functions inherited from DeviceSampleSource | |
| static qint64 | calculateDeviceCenterFrequency (quint64 centerFrequency, qint64 transverterDeltaFrequency, int log2Decim, fcPos_t fcPos, quint32 devSampleRate, FrequencyShiftScheme frequencyShiftScheme, bool transverterMode=false) |
| static qint64 | calculateCenterFrequency (quint64 deviceCenterFrequency, qint64 transverterDeltaFrequency, int log2Decim, fcPos_t fcPos, quint32 devSampleRate, FrequencyShiftScheme frequencyShiftScheme, bool transverterMode=false) |
| static qint32 | calculateFrequencyShift (int log2Decim, fcPos_t fcPos, quint32 devSampleRate, FrequencyShiftScheme frequencyShiftScheme) |
Protected Slots inherited from DeviceSampleSource | |
| void | handleInputMessages () |
Protected Attributes inherited from DeviceSampleSource | |
| SampleSinkFifo | m_sampleFifo |
| MessageQueue | m_inputMessageQueue |
| Input queue to the source. More... | |
| MessageQueue * | m_guiMessageQueue |
| Input message queue to the GUI. More... | |
Definition at line 37 of file limesdrinput.h.
| LimeSDRInput::LimeSDRInput | ( | DeviceAPI * | deviceAPI | ) |
Definition at line 51 of file limesdrinput.cpp.
References arg().
Referenced by LimeSDRInput::MsgStartStop::MsgStartStop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Definition at line 74 of file limesdrinput.cpp.
References closeDevice(), m_deviceAPI, m_fileSink, m_networkManager, m_running, networkManagerFinished(), DeviceAPI::removeAncillarySink(), resumeRxBuddies(), resumeTxBuddies(), stop(), suspendRxBuddies(), and suspendTxBuddies().
Referenced by LimeSDRInput::MsgStartStop::MsgStartStop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 316 of file limesdrinput.cpp.
References DeviceLimeSDRParams::getDevice(), DeviceLimeSDRShared::m_channel, m_channelAcquired, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, m_streamId, resumeRxBuddies(), resumeTxBuddies(), suspendRxBuddies(), and suspendTxBuddies().
Referenced by start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 797 of file limesdrinput.cpp.
References DeviceAPI::configureCorrections(), DeviceLimeSDRShared::MsgReportBuddyChange::create(), DeviceLimeSDRShared::MsgReportClockSourceChange::create(), LimeSDRInputSettings::GAIN_AUTO, LimeSDRInputSettings::GAIN_MANUAL, DeviceLimeSDRParams::getDevice(), DeviceAPI::getDeviceEngineInputMessageQueue(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), FileRecord::handleMessage(), LimeSDRInputThread::isRunning(), DeviceLimeSDRParams::LimeMini, DeviceLimeSDRParams::LimeUndefined, LimeSDRInputSettings::m_antennaPath, LimeSDRInputSettings::m_centerFrequency, DeviceLimeSDRShared::m_centerFrequency, DeviceLimeSDRShared::m_channel, m_channelAcquired, LimeSDRInputSettings::m_dcBlock, m_deviceAPI, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, LimeSDRInputSettings::m_devSampleRate, LimeSDRInputSettings::m_extClock, LimeSDRInputSettings::m_extClockFreq, m_fileSink, LimeSDRInputSettings::m_gain, LimeSDRInputSettings::m_gainMode, LimeSDRInputSettings::m_gpioDir, LimeSDRInputSettings::m_gpioPins, LimeSDRInputSettings::m_iqCorrection, m_limeSDRInputThread, LimeSDRInputSettings::m_lnaGain, LimeSDRInputSettings::m_log2HardDecim, DeviceLimeSDRParams::m_log2OvSRRx, DeviceLimeSDRShared::m_log2Soft, LimeSDRInputSettings::m_log2SoftDecim, LimeSDRInputSettings::m_lpfBW, LimeSDRInputSettings::m_lpfFIRBW, LimeSDRInputSettings::m_lpfFIREnable, LimeSDRInputSettings::m_ncoEnable, LimeSDRInputSettings::m_ncoFrequency, DeviceLimeSDRShared::m_ncoFrequency, LimeSDRInputSettings::m_pgaGain, LimeSDRInputSettings::m_reverseAPIAddress, LimeSDRInputSettings::m_reverseAPIDeviceIndex, LimeSDRInputSettings::m_reverseAPIPort, DeviceLimeSDRParams::m_sampleRate, m_settings, LimeSDRInputSettings::m_tiaGain, LimeSDRInputSettings::m_transverterDeltaFrequency, LimeSDRInputSettings::m_transverterMode, DeviceLimeSDRParams::m_type, LimeSDRInputSettings::m_useReverseAPI, MessageQueue::push(), resumeRxBuddies(), resumeTxBuddies(), DeviceLimeSDR::setClockSource(), LimeSDRInputThread::setLog2Decimation(), DeviceLimeSDR::setNCOFrequency(), DeviceLimeSDR::SetRBBPGA_dB(), DeviceLimeSDR::SetRFELNA_dB(), DeviceLimeSDR::SetRFETIA_dB(), DeviceLimeSDR::setRxAntennaPath(), LimeSDRInputThread::startWork(), LimeSDRInputThread::stopWork(), suspendRxBuddies(), suspendTxBuddies(), and webapiReverseSendSettings().
Referenced by handleMessage(), init(), and start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 296 of file limesdrinput.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 ~LimeSDRInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSource.
Definition at line 454 of file limesdrinput.cpp.
References LimeSDRInput::MsgConfigureLimeSDR::create(), LimeSDRInputSettings::deserialize(), DeviceSampleSource::m_guiMessageQueue, DeviceSampleSource::m_inputMessageQueue, m_settings, MessageQueue::push(), and LimeSDRInputSettings::resetToDefaults().
Referenced by LimeSDRInput::MsgStartStop::MsgStartStop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSource.
Definition at line 92 of file limesdrinput.cpp.
Referenced by LimeSDRInput::MsgStartStop::MsgStartStop().
Here is the caller graph for this function:
|
virtual |
Center frequency exposed by the source.
Implements DeviceSampleSource.
Definition at line 487 of file limesdrinput.cpp.
References LimeSDRInputSettings::m_centerFrequency, LimeSDRInputSettings::m_ncoEnable, LimeSDRInputSettings::m_ncoFrequency, and m_settings.
Referenced by setSampleRate().
Here is the caller graph for this function:| std::size_t LimeSDRInput::getChannelIndex | ( | ) |
Definition at line 507 of file limesdrinput.cpp.
References DeviceLimeSDRShared::m_channel, and m_deviceShared.
Referenced by LimeSDRInputGUI::LimeSDRInputGUI(), and setSampleRate().
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSource.
Definition at line 476 of file limesdrinput.cpp.
References m_deviceDescription.
Referenced by setMessageQueueToGUI().
Here is the caller graph for this function:| uint32_t LimeSDRInput::getHWLog2Decim | ( | ) | const |
Definition at line 536 of file limesdrinput.cpp.
References DeviceLimeSDRShared::m_deviceParams, m_deviceShared, and DeviceLimeSDRParams::m_log2OvSRRx.
Referenced by setSampleRate().
Here is the caller graph for this function:| DeviceLimeSDRParams::LimeType LimeSDRInput::getLimeType | ( | ) | const |
Definition at line 541 of file limesdrinput.cpp.
References DeviceLimeSDRParams::LimeUndefined, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, and DeviceLimeSDRParams::m_type.
Referenced by LimeSDRInputGUI::LimeSDRInputGUI(), and setSampleRate().
Here is the caller graph for this function:| void LimeSDRInput::getLORange | ( | float & | minF, |
| float & | maxF | ||
| ) | const |
Definition at line 512 of file limesdrinput.cpp.
References DeviceLimeSDRShared::m_deviceParams, m_deviceShared, and DeviceLimeSDRParams::m_loRangeRx.
Referenced by LimeSDRInputGUI::LimeSDRInputGUI(), setSampleRate(), and LimeSDRInputGUI::updateFrequencyLimits().
Here is the caller graph for this function:| void LimeSDRInput::getLPRange | ( | float & | minF, |
| float & | maxF | ||
| ) | const |
Definition at line 528 of file limesdrinput.cpp.
References DeviceLimeSDRShared::m_deviceParams, m_deviceShared, and DeviceLimeSDRParams::m_lpfRangeRx.
Referenced by LimeSDRInputGUI::LimeSDRInputGUI(), and setSampleRate().
Here is the caller graph for this function:
|
virtual |
Sample rate exposed by the source.
Implements DeviceSampleSource.
Definition at line 481 of file limesdrinput.cpp.
References LimeSDRInputSettings::m_devSampleRate, LimeSDRInputSettings::m_log2SoftDecim, and m_settings.
Referenced by setMessageQueueToGUI().
Here is the caller graph for this function:| void LimeSDRInput::getSRRange | ( | float & | minF, |
| float & | maxF | ||
| ) | const |
Definition at line 520 of file limesdrinput.cpp.
References DeviceLimeSDRShared::m_deviceParams, m_deviceShared, and DeviceLimeSDRParams::m_srRangeRx.
Referenced by LimeSDRInputGUI::displaySampleRate(), LimeSDRInputGUI::LimeSDRInputGUI(), and setSampleRate().
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSource.
Definition at line 550 of file limesdrinput.cpp.
References applySettings(), DeviceLimeSDRShared::MsgReportBuddyChange::create(), DeviceLimeSDRShared::MsgReportClockSourceChange::create(), LimeSDRInput::MsgReportStreamInfo::create(), DeviceLimeSDRShared::MsgReportDeviceInfo::create(), FileRecord::genUniqueFileName(), DeviceLimeSDRShared::MsgReportBuddyChange::getCenterFrequency(), DeviceLimeSDRParams::getDevice(), DeviceAPI::getDeviceEngineInputMessageQueue(), DeviceAPI::getDeviceUID(), DeviceLimeSDRShared::MsgReportBuddyChange::getDevSampleRate(), DeviceLimeSDRShared::MsgReportClockSourceChange::getExtClock(), DeviceLimeSDRShared::MsgReportClockSourceChange::getExtClockFeq(), LimeSDRInput::MsgConfigureLimeSDR::getForce(), DeviceLimeSDRShared::MsgReportGPIOChange::getGPIODir(), DeviceLimeSDRShared::MsgReportGPIOChange::getGPIOPins(), DeviceLimeSDRShared::MsgReportBuddyChange::getLog2HardDecimInterp(), DeviceSampleSource::getMessageQueueToGUI(), DeviceLimeSDRShared::MsgReportBuddyChange::getRxElseTx(), DeviceAPI::getSamplingDeviceGUIMessageQueue(), LimeSDRInput::MsgConfigureLimeSDR::getSettings(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), LimeSDRInput::MsgFileRecord::getStartStop(), LimeSDRInput::MsgStartStop::getStartStop(), DeviceAPI::initDeviceEngine(), DeviceLimeSDRParams::LimeMini, DeviceLimeSDRParams::LimeUndefined, LimeSDRInputSettings::m_centerFrequency, DeviceLimeSDRShared::m_channel, m_deviceAPI, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, LimeSDRInputSettings::m_devSampleRate, LimeSDRInputSettings::m_extClock, LimeSDRInputSettings::m_extClockFreq, LimeSDRInputSettings::m_fileRecordName, m_fileSink, LimeSDRInputSettings::m_gpioDir, LimeSDRInputSettings::m_gpioPins, LimeSDRInputSettings::m_log2HardDecim, LimeSDRInputSettings::m_log2SoftDecim, LimeSDRInputSettings::m_ncoEnable, LimeSDRInputSettings::m_ncoFrequency, m_running, m_settings, m_streamId, DeviceLimeSDRParams::m_type, LimeSDRInputSettings::m_useReverseAPI, Message::match(), MessageQueue::push(), FileRecord::setFileName(), DeviceAPI::startDeviceEngine(), FileRecord::startRecording(), DeviceAPI::stopDeviceEngine(), FileRecord::stopRecording(), and webapiReverseSendStartStop().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
initializations to be done when all collaborating objects are created and possibly connected
Implements DeviceSampleSource.
Definition at line 397 of file limesdrinput.cpp.
References applySettings(), and m_settings.
Referenced by LimeSDRInput::MsgStartStop::MsgStartStop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1797 of file limesdrinput.cpp.
Referenced by ~LimeSDRInput().
Here is the caller graph for this function:
|
private |
Definition at line 97 of file limesdrinput.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_nbRxChannels, DeviceSampleSource::m_sampleFifo, DeviceLimeSDRParams::open(), DeviceAPI::setBuddySharedPtr(), and SampleSinkFifo::setSize().
Here is the call graph for this function:
|
private |
Definition at line 361 of file limesdrinput.cpp.
References DeviceLimeSDRParams::getDevice(), DeviceLimeSDRShared::m_channel, m_channelAcquired, DeviceLimeSDRShared::m_deviceParams, m_deviceShared, m_streamId, resumeRxBuddies(), resumeTxBuddies(), suspendRxBuddies(), and suspendTxBuddies().
Referenced by stop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 262 of file limesdrinput.cpp.
References DeviceAPI::getSourceBuddies(), m_deviceAPI, DeviceLimeSDRShared::m_thread, DeviceLimeSDRShared::m_threadWasRunning, and DeviceLimeSDRShared::ThreadInterface::startWork().
Referenced by acquireChannel(), applySettings(), releaseChannel(), and ~LimeSDRInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 279 of file limesdrinput.cpp.
References DeviceAPI::getSinkBuddies(), m_deviceAPI, DeviceLimeSDRShared::m_thread, DeviceLimeSDRShared::m_threadWasRunning, and DeviceLimeSDRShared::ThreadInterface::startWork().
Referenced by acquireChannel(), applySettings(), releaseChannel(), and ~LimeSDRInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSource.
Definition at line 449 of file limesdrinput.cpp.
References m_settings, and LimeSDRInputSettings::serialize().
Referenced by LimeSDRInput::MsgStartStop::MsgStartStop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSource.
Definition at line 492 of file limesdrinput.cpp.
References LimeSDRInput::MsgConfigureLimeSDR::create(), LimeSDRInputSettings::m_centerFrequency, DeviceSampleSource::m_guiMessageQueue, DeviceSampleSource::m_inputMessageQueue, LimeSDRInputSettings::m_ncoEnable, LimeSDRInputSettings::m_ncoFrequency, m_settings, and MessageQueue::push().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Implements DeviceSampleSource.
Definition at line 218 of file limesdrinput.h.
References getDeviceDescription(), getSampleRate(), and DeviceSampleSource::m_guiMessageQueue.
Referenced by LimeSDRInputGUI::LimeSDRInputGUI().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
For when the source sample rate is set externally.
Implements DeviceSampleSource.
Definition at line 221 of file limesdrinput.h.
References getCenterFrequency(), getChannelIndex(), getHWLog2Decim(), getLimeType(), getLORange(), getLPRange(), getSRRange(), handleMessage(), setCenterFrequency(), webapiReportGet(), webapiRun(), webapiRunGet(), webapiSettingsGet(), and webapiSettingsPutPatch().
Here is the call graph for this function:
|
virtual |
Implements DeviceSampleSource.
Definition at line 402 of file limesdrinput.cpp.
References acquireChannel(), applySettings(), DeviceLimeSDRParams::getDevice(), DeviceLimeSDRShared::m_deviceParams, m_deviceShared, m_limeSDRInputThread, LimeSDRInputSettings::m_log2SoftDecim, m_running, DeviceSampleSource::m_sampleFifo, m_settings, m_streamId, DeviceLimeSDRShared::m_thread, LimeSDRInputThread::setLog2Decimation(), LimeSDRInputThread::startWork(), and stop().
Referenced by LimeSDRInput::MsgStartStop::MsgStartStop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSource.
Definition at line 432 of file limesdrinput.cpp.
References m_deviceShared, m_limeSDRInputThread, m_running, DeviceLimeSDRShared::m_thread, releaseChannel(), and LimeSDRInputThread::stopWork().
Referenced by closeDevice(), LimeSDRInput::MsgStartStop::MsgStartStop(), start(), and ~LimeSDRInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 216 of file limesdrinput.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 ~LimeSDRInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 239 of file limesdrinput.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 ~LimeSDRInput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1627 of file limesdrinput.cpp.
References DeviceLimeSDRParams::getDevice(), SWGSDRangel::SWGDeviceReport::getLimeSdrInputReport(), DeviceLimeSDRShared::m_deviceParams, m_deviceShared, m_streamId, SWGSDRangel::SWGLimeSdrInputReport::setDroppedPacketsCount(), SWGSDRangel::SWGLimeSdrInputReport::setFifoFill(), SWGSDRangel::SWGLimeSdrInputReport::setFifoSize(), SWGSDRangel::SWGLimeSdrInputReport::setGpioDir(), SWGSDRangel::SWGLimeSdrInputReport::setGpioPins(), SWGSDRangel::SWGLimeSdrInputReport::setHwTimestamp(), SWGSDRangel::SWGLimeSdrInputReport::setLinkRate(), SWGSDRangel::SWGLimeSdrInputReport::setOverrunCount(), SWGSDRangel::SWGLimeSdrInputReport::setStreamActive(), SWGSDRangel::SWGLimeSdrInputReport::setSuccess(), SWGSDRangel::SWGLimeSdrInputReport::setTemperature(), and SWGSDRangel::SWGLimeSdrInputReport::setUnderrunCount().
Referenced by webapiReportGet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1544 of file limesdrinput.cpp.
References SWGSDRangel::SWGLimeSdrInputSettings::getFileRecordName(), SWGSDRangel::SWGDeviceSettings::getLimeSdrInputSettings(), SWGSDRangel::SWGLimeSdrInputSettings::getReverseApiAddress(), LimeSDRInputSettings::m_antennaPath, LimeSDRInputSettings::m_centerFrequency, LimeSDRInputSettings::m_dcBlock, LimeSDRInputSettings::m_devSampleRate, LimeSDRInputSettings::m_extClock, LimeSDRInputSettings::m_extClockFreq, LimeSDRInputSettings::m_fileRecordName, LimeSDRInputSettings::m_gain, LimeSDRInputSettings::m_gainMode, LimeSDRInputSettings::m_gpioDir, LimeSDRInputSettings::m_gpioPins, LimeSDRInputSettings::m_iqCorrection, LimeSDRInputSettings::m_lnaGain, LimeSDRInputSettings::m_log2HardDecim, LimeSDRInputSettings::m_log2SoftDecim, LimeSDRInputSettings::m_lpfBW, LimeSDRInputSettings::m_lpfFIRBW, LimeSDRInputSettings::m_lpfFIREnable, LimeSDRInputSettings::m_ncoEnable, LimeSDRInputSettings::m_ncoFrequency, LimeSDRInputSettings::m_pgaGain, LimeSDRInputSettings::m_reverseAPIAddress, LimeSDRInputSettings::m_reverseAPIDeviceIndex, LimeSDRInputSettings::m_reverseAPIPort, LimeSDRInputSettings::m_tiaGain, LimeSDRInputSettings::m_transverterDeltaFrequency, LimeSDRInputSettings::m_transverterMode, LimeSDRInputSettings::m_useReverseAPI, SWGSDRangel::SWGLimeSdrInputSettings::setAntennaPath(), SWGSDRangel::SWGLimeSdrInputSettings::setCenterFrequency(), SWGSDRangel::SWGLimeSdrInputSettings::setDcBlock(), SWGSDRangel::SWGLimeSdrInputSettings::setDevSampleRate(), SWGSDRangel::SWGLimeSdrInputSettings::setExtClock(), SWGSDRangel::SWGLimeSdrInputSettings::setExtClockFreq(), SWGSDRangel::SWGLimeSdrInputSettings::setFileRecordName(), SWGSDRangel::SWGLimeSdrInputSettings::setGain(), SWGSDRangel::SWGLimeSdrInputSettings::setGainMode(), SWGSDRangel::SWGLimeSdrInputSettings::setGpioDir(), SWGSDRangel::SWGLimeSdrInputSettings::setGpioPins(), SWGSDRangel::SWGLimeSdrInputSettings::setIqCorrection(), SWGSDRangel::SWGLimeSdrInputSettings::setLnaGain(), SWGSDRangel::SWGLimeSdrInputSettings::setLog2HardDecim(), SWGSDRangel::SWGLimeSdrInputSettings::setLog2SoftDecim(), SWGSDRangel::SWGLimeSdrInputSettings::setLpfBw(), SWGSDRangel::SWGLimeSdrInputSettings::setLpfFirbw(), SWGSDRangel::SWGLimeSdrInputSettings::setLpfFirEnable(), SWGSDRangel::SWGLimeSdrInputSettings::setNcoEnable(), SWGSDRangel::SWGLimeSdrInputSettings::setNcoFrequency(), SWGSDRangel::SWGLimeSdrInputSettings::setPgaGain(), SWGSDRangel::SWGLimeSdrInputSettings::setReverseApiAddress(), SWGSDRangel::SWGLimeSdrInputSettings::setReverseApiDeviceIndex(), SWGSDRangel::SWGLimeSdrInputSettings::setReverseApiPort(), SWGSDRangel::SWGLimeSdrInputSettings::setTiaGain(), SWGSDRangel::SWGLimeSdrInputSettings::setTransverterDeltaFrequency(), SWGSDRangel::SWGLimeSdrInputSettings::setTransverterMode(), and SWGSDRangel::SWGLimeSdrInputSettings::setUseReverseApi().
Referenced by webapiSettingsGet(), and webapiSettingsPutPatch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from DeviceSampleSource.
Definition at line 1588 of file limesdrinput.cpp.
References SWGSDRangel::SWGDeviceReport::getLimeSdrInputReport(), SWGSDRangel::SWGLimeSdrInputReport::init(), SWGSDRangel::SWGDeviceReport::setLimeSdrInputReport(), and webapiFormatDeviceReport().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1667 of file limesdrinput.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), DeviceAPI::getDeviceSetIndex(), SWGSDRangel::SWGDeviceSettings::getLimeSdrInputSettings(), LimeSDRInputSettings::m_antennaPath, LimeSDRInputSettings::m_centerFrequency, LimeSDRInputSettings::m_dcBlock, m_deviceAPI, LimeSDRInputSettings::m_devSampleRate, LimeSDRInputSettings::m_extClock, LimeSDRInputSettings::m_extClockFreq, LimeSDRInputSettings::m_fileRecordName, LimeSDRInputSettings::m_gain, LimeSDRInputSettings::m_gainMode, LimeSDRInputSettings::m_gpioDir, LimeSDRInputSettings::m_gpioPins, LimeSDRInputSettings::m_iqCorrection, LimeSDRInputSettings::m_lnaGain, LimeSDRInputSettings::m_log2HardDecim, LimeSDRInputSettings::m_log2SoftDecim, LimeSDRInputSettings::m_lpfBW, LimeSDRInputSettings::m_lpfFIRBW, LimeSDRInputSettings::m_lpfFIREnable, LimeSDRInputSettings::m_ncoEnable, LimeSDRInputSettings::m_ncoFrequency, m_networkManager, m_networkRequest, LimeSDRInputSettings::m_pgaGain, LimeSDRInputSettings::m_reverseAPIAddress, LimeSDRInputSettings::m_reverseAPIDeviceIndex, LimeSDRInputSettings::m_reverseAPIPort, LimeSDRInputSettings::m_tiaGain, LimeSDRInputSettings::m_transverterDeltaFrequency, LimeSDRInputSettings::m_transverterMode, SWGSDRangel::SWGLimeSdrInputSettings::setAntennaPath(), SWGSDRangel::SWGLimeSdrInputSettings::setCenterFrequency(), SWGSDRangel::SWGLimeSdrInputSettings::setDcBlock(), SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGLimeSdrInputSettings::setDevSampleRate(), SWGSDRangel::SWGDeviceSettings::setDirection(), SWGSDRangel::SWGLimeSdrInputSettings::setExtClock(), SWGSDRangel::SWGLimeSdrInputSettings::setExtClockFreq(), SWGSDRangel::SWGLimeSdrInputSettings::setFileRecordName(), SWGSDRangel::SWGLimeSdrInputSettings::setGain(), SWGSDRangel::SWGLimeSdrInputSettings::setGainMode(), SWGSDRangel::SWGLimeSdrInputSettings::setGpioDir(), SWGSDRangel::SWGLimeSdrInputSettings::setGpioPins(), SWGSDRangel::SWGLimeSdrInputSettings::setIqCorrection(), SWGSDRangel::SWGDeviceSettings::setLimeSdrInputSettings(), SWGSDRangel::SWGLimeSdrInputSettings::setLnaGain(), SWGSDRangel::SWGLimeSdrInputSettings::setLog2HardDecim(), SWGSDRangel::SWGLimeSdrInputSettings::setLog2SoftDecim(), SWGSDRangel::SWGLimeSdrInputSettings::setLpfBw(), SWGSDRangel::SWGLimeSdrInputSettings::setLpfFirbw(), SWGSDRangel::SWGLimeSdrInputSettings::setLpfFirEnable(), SWGSDRangel::SWGLimeSdrInputSettings::setNcoEnable(), SWGSDRangel::SWGLimeSdrInputSettings::setNcoFrequency(), SWGSDRangel::SWGDeviceSettings::setOriginatorIndex(), SWGSDRangel::SWGLimeSdrInputSettings::setPgaGain(), SWGSDRangel::SWGLimeSdrInputSettings::setTiaGain(), SWGSDRangel::SWGLimeSdrInputSettings::setTransverterDeltaFrequency(), and SWGSDRangel::SWGLimeSdrInputSettings::setTransverterMode().
Referenced by applySettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1769 of file limesdrinput.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), DeviceAPI::getDeviceSetIndex(), m_deviceAPI, m_networkManager, m_networkRequest, LimeSDRInputSettings::m_reverseAPIAddress, LimeSDRInputSettings::m_reverseAPIDeviceIndex, LimeSDRInputSettings::m_reverseAPIPort, m_settings, SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGDeviceSettings::setDirection(), and SWGSDRangel::SWGDeviceSettings::setOriginatorIndex().
Referenced by handleMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from DeviceSampleSource.
Definition at line 1608 of file limesdrinput.cpp.
References LimeSDRInput::MsgStartStop::create(), DeviceAPI::getDeviceEngineStateStr(), SWGSDRangel::SWGDeviceState::getState(), m_deviceAPI, DeviceSampleSource::m_guiMessageQueue, DeviceSampleSource::m_inputMessageQueue, and MessageQueue::push().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from DeviceSampleSource.
Definition at line 1599 of file limesdrinput.cpp.
References DeviceAPI::getDeviceEngineStateStr(), SWGSDRangel::SWGDeviceState::getState(), and m_deviceAPI.
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from DeviceSampleSource.
Definition at line 1426 of file limesdrinput.cpp.
References SWGSDRangel::SWGDeviceSettings::getLimeSdrInputSettings(), SWGSDRangel::SWGLimeSdrInputSettings::init(), m_settings, SWGSDRangel::SWGDeviceSettings::setLimeSdrInputSettings(), and webapiFormatDeviceSettings().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from DeviceSampleSource.
Definition at line 1437 of file limesdrinput.cpp.
References LimeSDRInput::MsgConfigureLimeSDR::create(), SWGSDRangel::SWGLimeSdrInputSettings::getAntennaPath(), SWGSDRangel::SWGLimeSdrInputSettings::getCenterFrequency(), SWGSDRangel::SWGLimeSdrInputSettings::getDcBlock(), SWGSDRangel::SWGLimeSdrInputSettings::getDevSampleRate(), SWGSDRangel::SWGLimeSdrInputSettings::getExtClock(), SWGSDRangel::SWGLimeSdrInputSettings::getExtClockFreq(), SWGSDRangel::SWGLimeSdrInputSettings::getFileRecordName(), SWGSDRangel::SWGLimeSdrInputSettings::getGain(), SWGSDRangel::SWGLimeSdrInputSettings::getGainMode(), SWGSDRangel::SWGLimeSdrInputSettings::getGpioDir(), SWGSDRangel::SWGLimeSdrInputSettings::getGpioPins(), SWGSDRangel::SWGLimeSdrInputSettings::getIqCorrection(), SWGSDRangel::SWGDeviceSettings::getLimeSdrInputSettings(), SWGSDRangel::SWGLimeSdrInputSettings::getLnaGain(), SWGSDRangel::SWGLimeSdrInputSettings::getLog2HardDecim(), SWGSDRangel::SWGLimeSdrInputSettings::getLog2SoftDecim(), SWGSDRangel::SWGLimeSdrInputSettings::getLpfBw(), SWGSDRangel::SWGLimeSdrInputSettings::getLpfFirbw(), SWGSDRangel::SWGLimeSdrInputSettings::getLpfFirEnable(), SWGSDRangel::SWGLimeSdrInputSettings::getNcoEnable(), SWGSDRangel::SWGLimeSdrInputSettings::getNcoFrequency(), SWGSDRangel::SWGLimeSdrInputSettings::getPgaGain(), SWGSDRangel::SWGLimeSdrInputSettings::getReverseApiAddress(), SWGSDRangel::SWGLimeSdrInputSettings::getReverseApiDeviceIndex(), SWGSDRangel::SWGLimeSdrInputSettings::getReverseApiPort(), SWGSDRangel::SWGLimeSdrInputSettings::getTiaGain(), SWGSDRangel::SWGLimeSdrInputSettings::getTransverterDeltaFrequency(), SWGSDRangel::SWGLimeSdrInputSettings::getTransverterMode(), SWGSDRangel::SWGLimeSdrInputSettings::getUseReverseApi(), LimeSDRInputSettings::m_antennaPath, LimeSDRInputSettings::m_centerFrequency, LimeSDRInputSettings::m_dcBlock, LimeSDRInputSettings::m_devSampleRate, LimeSDRInputSettings::m_extClock, LimeSDRInputSettings::m_extClockFreq, LimeSDRInputSettings::m_fileRecordName, LimeSDRInputSettings::m_gain, LimeSDRInputSettings::m_gainMode, LimeSDRInputSettings::m_gpioDir, LimeSDRInputSettings::m_gpioPins, DeviceSampleSource::m_guiMessageQueue, DeviceSampleSource::m_inputMessageQueue, LimeSDRInputSettings::m_iqCorrection, LimeSDRInputSettings::m_lnaGain, LimeSDRInputSettings::m_log2HardDecim, LimeSDRInputSettings::m_log2SoftDecim, LimeSDRInputSettings::m_lpfBW, LimeSDRInputSettings::m_lpfFIRBW, LimeSDRInputSettings::m_lpfFIREnable, LimeSDRInputSettings::m_ncoEnable, LimeSDRInputSettings::m_ncoFrequency, LimeSDRInputSettings::m_pgaGain, LimeSDRInputSettings::m_reverseAPIAddress, LimeSDRInputSettings::m_reverseAPIDeviceIndex, LimeSDRInputSettings::m_reverseAPIPort, m_settings, LimeSDRInputSettings::m_tiaGain, LimeSDRInputSettings::m_transverterDeltaFrequency, LimeSDRInputSettings::m_transverterMode, LimeSDRInputSettings::m_useReverseAPI, MessageQueue::push(), and webapiFormatDeviceSettings().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 265 of file limesdrinput.h.
Referenced by acquireChannel(), applySettings(), and releaseChannel().
|
private |
Definition at line 258 of file limesdrinput.h.
Referenced by applySettings(), closeDevice(), handleMessage(), openDevice(), resumeRxBuddies(), resumeTxBuddies(), suspendRxBuddies(), suspendTxBuddies(), webapiReverseSendSettings(), webapiReverseSendStartStop(), webapiRun(), webapiRunGet(), and ~LimeSDRInput().
|
private |
Definition at line 262 of file limesdrinput.h.
Referenced by getDeviceDescription().
|
private |
Definition at line 264 of file limesdrinput.h.
Referenced by acquireChannel(), applySettings(), closeDevice(), getChannelIndex(), getHWLog2Decim(), getLimeType(), getLORange(), getLPRange(), getSRRange(), handleMessage(), openDevice(), releaseChannel(), start(), stop(), and webapiFormatDeviceReport().
|
private |
File sink to record device I/Q output.
Definition at line 267 of file limesdrinput.h.
Referenced by applySettings(), handleMessage(), and ~LimeSDRInput().
|
private |
Definition at line 261 of file limesdrinput.h.
Referenced by applySettings(), start(), and stop().
|
private |
Definition at line 259 of file limesdrinput.h.
|
private |
Definition at line 268 of file limesdrinput.h.
Referenced by webapiReverseSendSettings(), webapiReverseSendStartStop(), and ~LimeSDRInput().
|
private |
Definition at line 269 of file limesdrinput.h.
Referenced by webapiReverseSendSettings(), and webapiReverseSendStartStop().
|
private |
Definition at line 263 of file limesdrinput.h.
Referenced by closeDevice(), handleMessage(), start(), stop(), and ~LimeSDRInput().
|
private |
Definition at line 260 of file limesdrinput.h.
Referenced by applySettings(), deserialize(), getCenterFrequency(), getSampleRate(), handleMessage(), init(), serialize(), setCenterFrequency(), start(), webapiReverseSendStartStop(), webapiSettingsGet(), and webapiSettingsPutPatch().
|
private |
Definition at line 266 of file limesdrinput.h.
Referenced by acquireChannel(), handleMessage(), releaseChannel(), start(), and webapiFormatDeviceReport().
1.8.13