REST API: changed binary tx parameter to ternary direction parameter (0: rx, 1: tx, 2: any)

This commit is contained in:
f4exb 2019-05-07 14:43:38 +02:00
parent a69d8a6422
commit 54e46837dd
317 changed files with 805 additions and 779 deletions

View File

@ -718,7 +718,7 @@ void AMDemod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response)
void AMDemod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const AMDemodSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(0);
swgChannelSettings->setDirection(0); // Single sink (Rx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("AMDemod"));

View File

@ -778,7 +778,7 @@ void BFMDemod::webapiFormatRDSReport(SWGSDRangel::SWGRDSReport *report)
void BFMDemod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const BFMDemodSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(0);
swgChannelSettings->setDirection(0); // single sink (Rx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("BFMDemod"));

View File

@ -1038,7 +1038,7 @@ void DSDDemod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response
void DSDDemod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const DSDDemodSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(0);
swgChannelSettings->setDirection(0); // single sink (Rx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("DSDDemod"));

View File

@ -938,7 +938,7 @@ void FreeDVDemod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& respo
void FreeDVDemod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const FreeDVDemodSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(0);
swgChannelSettings->setDirection(0); // single sink (Rx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("SSBDemod"));

View File

@ -812,7 +812,7 @@ void NFMDemod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response
void NFMDemod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const NFMDemodSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(0);
swgChannelSettings->setDirection(0); // single sink (Rx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("NFMDemod"));

View File

@ -837,7 +837,7 @@ void SSBDemod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response
void SSBDemod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const SSBDemodSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(0);
swgChannelSettings->setDirection(0); // single sink (Rx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("SSBDemod"));

View File

@ -586,7 +586,7 @@ void WFMDemod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response
void WFMDemod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const WFMDemodSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(0);
swgChannelSettings->setDirection(0); // single sink (Rx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("WFMDemod"));

View File

@ -678,7 +678,7 @@ void FreqTracker::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& respo
void FreqTracker::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const FreqTrackerSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(0);
swgChannelSettings->setDirection(0); // single sink (Rx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("FreqTracker"));

View File

@ -443,7 +443,7 @@ void LocalSink::webapiFormatChannelSettings(SWGSDRangel::SWGChannelSettings& res
void LocalSink::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const LocalSinkSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(0);
swgChannelSettings->setDirection(0); // single sink (Rx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("LocalSink"));

View File

@ -572,7 +572,7 @@ void RemoteSink::webapiFormatChannelSettings(SWGSDRangel::SWGChannelSettings& re
void RemoteSink::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const RemoteSinkSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(0);
swgChannelSettings->setDirection(0); // single sink (Rx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("RemoteSink"));

View File

@ -904,7 +904,7 @@ void UDPSink::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response)
void UDPSink::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const UDPSinkSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(0);
swgChannelSettings->setDirection(0); // single sink (Rx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("UDPSink"));

View File

@ -779,7 +779,7 @@ void AMMod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response)
void AMMod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const AMModSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("AMMod"));
@ -856,7 +856,7 @@ void AMMod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const
void AMMod::webapiReverseSendCWSettings(const CWKeyerSettings& cwKeyerSettings)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setChannelType(new QString("AMMod"));
swgChannelSettings->setAmModSettings(new SWGSDRangel::SWGAMModSettings());
SWGSDRangel::SWGAMModSettings *swgAMModSettings = swgChannelSettings->getAmModSettings();

View File

@ -1502,7 +1502,7 @@ void ATVMod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response)
void ATVMod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const ATVModSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("ATVMod"));

View File

@ -1045,7 +1045,7 @@ void FreeDVMod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& respons
void FreeDVMod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const FreeDVModSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("FreeDVMod"));
@ -1125,7 +1125,7 @@ void FreeDVMod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, c
void FreeDVMod::webapiReverseSendCWSettings(const CWKeyerSettings& cwKeyerSettings)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setChannelType(new QString("FreeDVMod"));
swgChannelSettings->setFreeDvModSettings(new SWGSDRangel::SWGFreeDVModSettings());
SWGSDRangel::SWGFreeDVModSettings *swgFreeDVModSettings = swgChannelSettings->getFreeDvModSettings();

View File

@ -838,7 +838,7 @@ void NFMMod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response)
void NFMMod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const NFMModSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("NFMMod"));
@ -924,7 +924,7 @@ void NFMMod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, cons
void NFMMod::webapiReverseSendCWSettings(const CWKeyerSettings& cwKeyerSettings)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setChannelType(new QString("AMMod"));
swgChannelSettings->setNfmModSettings(new SWGSDRangel::SWGNFMModSettings());
SWGSDRangel::SWGNFMModSettings *swgNFModSettings = swgChannelSettings->getNfmModSettings();

View File

@ -1202,7 +1202,7 @@ void SSBMod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response)
void SSBMod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const SSBModSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("SSBMod"));
@ -1315,7 +1315,7 @@ void SSBMod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, cons
void SSBMod::webapiReverseSendCWSettings(const CWKeyerSettings& cwKeyerSettings)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setChannelType(new QString("SSBMod"));
swgChannelSettings->setSsbModSettings(new SWGSDRangel::SWGSSBModSettings());
SWGSDRangel::SWGSSBModSettings *swgSSBModSettings = swgChannelSettings->getSsbModSettings();

View File

@ -810,7 +810,7 @@ void WFMMod::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& response)
void WFMMod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const WFMModSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("WFMMod"));
@ -890,7 +890,7 @@ void WFMMod::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, cons
void WFMMod::webapiReverseSendCWSettings(const CWKeyerSettings& cwKeyerSettings)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setChannelType(new QString("WFMMod"));
swgChannelSettings->setWfmModSettings(new SWGSDRangel::SWGWFMModSettings());
SWGSDRangel::SWGWFMModSettings *swgWFMModSettings = swgChannelSettings->getWfmModSettings();

View File

@ -514,7 +514,7 @@ void RemoteSource::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& resp
void RemoteSource::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const RemoteSourceSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("RemoteSource"));

View File

@ -858,7 +858,7 @@ void UDPSource::webapiFormatChannelReport(SWGSDRangel::SWGChannelReport& respons
void UDPSource::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, const UDPSourceSettings& settings, bool force)
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setDirection(1); // single source (Tx)
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("UDPSource"));

View File

@ -673,7 +673,7 @@ int Bladerf1Output::webapiRun(
void Bladerf1Output::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const BladeRF1OutputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("BladeRF1"));
swgDeviceSettings->setBladeRf1OutputSettings(new SWGSDRangel::SWGBladeRF1OutputSettings());
@ -730,7 +730,7 @@ void Bladerf1Output::webapiReverseSendSettings(QList<QString>& deviceSettingsKey
void Bladerf1Output::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("BladeRF1"));

View File

@ -1123,7 +1123,7 @@ int BladeRF2Output::webapiRun(
void BladeRF2Output::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const BladeRF2OutputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("BladeRF2"));
swgDeviceSettings->setBladeRf2OutputSettings(new SWGSDRangel::SWGBladeRF2OutputSettings());
@ -1180,7 +1180,7 @@ void BladeRF2Output::webapiReverseSendSettings(QList<QString>& deviceSettingsKey
void BladeRF2Output::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("BladeRF2"));

View File

@ -673,7 +673,7 @@ int HackRFOutput::webapiRun(
void HackRFOutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const HackRFOutputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("HackRF"));
swgDeviceSettings->setHackRfOutputSettings(new SWGSDRangel::SWGHackRFOutputSettings());
@ -730,7 +730,7 @@ void HackRFOutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys,
void HackRFOutput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("HackRF"));

View File

@ -1444,7 +1444,7 @@ void LimeSDROutput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& respo
void LimeSDROutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const LimeSDROutputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("LimeSDR"));
swgDeviceSettings->setLimeSdrOutputSettings(new SWGSDRangel::SWGLimeSdrOutputSettings());
@ -1525,7 +1525,7 @@ void LimeSDROutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys
void LimeSDROutput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("LimeSDR"));

View File

@ -789,7 +789,7 @@ void PlutoSDROutput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& resp
void PlutoSDROutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const PlutoSDROutputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("PlutoSDR"));
swgDeviceSettings->setPlutoSdrOutputSettings(new SWGSDRangel::SWGPlutoSdrOutputSettings());
@ -858,7 +858,7 @@ void PlutoSDROutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKey
void PlutoSDROutput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("PlutoSDR"));

View File

@ -623,7 +623,7 @@ void RemoteOutput::sampleRateCorrection(double remoteTimeDeltaUs, double timeDel
void RemoteOutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const RemoteOutputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("RemoteOutput"));
swgDeviceSettings->setRemoteOutputSettings(new SWGSDRangel::SWGRemoteOutputSettings());
@ -680,7 +680,7 @@ void RemoteOutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys,
void RemoteOutput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("RemoteOutput"));

View File

@ -1822,7 +1822,7 @@ void SoapySDROutput::webapiFormatArgInfo(const SoapySDR::ArgInfo& arg, SWGSDRang
void SoapySDROutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const SoapySDROutputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // Single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("SoapySDR"));
swgDeviceSettings->setSoapySdrOutputSettings(new SWGSDRangel::SWGSoapySDROutputSettings());
@ -1901,7 +1901,7 @@ void SoapySDROutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKey
void SoapySDROutput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // Single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("SoapySDR"));

View File

@ -1342,7 +1342,7 @@ void XTRXOutput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& response
void XTRXOutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const XTRXOutputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // Single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("XTRX"));
swgDeviceSettings->setXtrxOutputSettings(new SWGSDRangel::SWGXtrxOutputSettings());
@ -1408,7 +1408,7 @@ void XTRXOutput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, c
void XTRXOutput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(1);
swgDeviceSettings->setDirection(1); // Single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("XTRX"));

View File

@ -793,7 +793,7 @@ void AirspyInput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& respons
void AirspyInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const AirspySettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("Airspy"));
swgDeviceSettings->setAirspySettings(new SWGSDRangel::SWGAirspySettings());
@ -871,7 +871,7 @@ void AirspyInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys,
void AirspyInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("Airspy"));

View File

@ -820,7 +820,7 @@ int AirspyHFInput::webapiRun(
void AirspyHFInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const AirspyHFSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("AirspyHF"));
swgDeviceSettings->setAirspyHfSettings(new SWGSDRangel::SWGAirspyHFSettings());
@ -895,7 +895,7 @@ void AirspyHFInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys
void AirspyHFInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("AirspyHF"));

View File

@ -765,7 +765,7 @@ int Bladerf1Input::webapiRun(
void Bladerf1Input::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const BladeRF1InputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("BladeRF1"));
swgDeviceSettings->setBladeRf1InputSettings(new SWGSDRangel::SWGBladeRF1InputSettings());
@ -837,7 +837,7 @@ void Bladerf1Input::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys
void Bladerf1Input::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("BladeRF1"));

View File

@ -1250,7 +1250,7 @@ int BladeRF2Input::webapiRun(
void BladeRF2Input::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const BladeRF2InputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("BladeRF2"));
swgDeviceSettings->setBladeRf2InputSettings(new SWGSDRangel::SWGBladeRF2InputSettings());
@ -1322,7 +1322,7 @@ void BladeRF2Input::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys
void BladeRF2Input::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("BladeRF2"));

View File

@ -1022,7 +1022,7 @@ void FCDProInput::webapiFormatDeviceSettings(SWGSDRangel::SWGDeviceSettings& res
void FCDProInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const FCDProSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("FCDPro"));
swgDeviceSettings->setFcdProSettings(new SWGSDRangel::SWGFCDProSettings());
@ -1127,7 +1127,7 @@ void FCDProInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys,
void FCDProInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("FCDPro"));

View File

@ -713,7 +713,7 @@ void FCDProPlusInput::webapiFormatDeviceSettings(SWGSDRangel::SWGDeviceSettings&
void FCDProPlusInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const FCDProPlusSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("FCDPro+"));
swgDeviceSettings->setFcdProPlusSettings(new SWGSDRangel::SWGFCDProPlusSettings());
@ -791,7 +791,7 @@ void FCDProPlusInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKe
void FCDProPlusInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("FCDPro+"));

View File

@ -590,7 +590,7 @@ void FileSourceInput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& res
void FileSourceInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const FileSourceSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("FileSource"));
swgDeviceSettings->setFileSourceSettings(new SWGSDRangel::SWGFileSourceSettings());
@ -629,7 +629,7 @@ void FileSourceInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKe
void FileSourceInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("FileSource"));

View File

@ -735,7 +735,7 @@ int HackRFInput::webapiRun(
void HackRFInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const HackRFInputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("HackRF"));
swgDeviceSettings->setHackRfInputSettings(new SWGSDRangel::SWGHackRFInputSettings());
@ -804,7 +804,7 @@ void HackRFInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys,
void HackRFInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("HackRF"));

View File

@ -1667,7 +1667,7 @@ void LimeSDRInput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& respon
void LimeSDRInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const LimeSDRInputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("LimeSDR"));
swgDeviceSettings->setLimeSdrInputSettings(new SWGSDRangel::SWGLimeSdrInputSettings());
@ -1769,7 +1769,7 @@ void LimeSDRInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys,
void LimeSDRInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("LimeSDR"));

View File

@ -402,7 +402,7 @@ void LocalInput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& response
void LocalInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const LocalInputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("LocalInput"));
swgDeviceSettings->setLocalInputSettings(new SWGSDRangel::SWGLocalInputSettings());
@ -441,7 +441,7 @@ void LocalInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, c
void LocalInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("LocalInput"));

View File

@ -613,7 +613,7 @@ void PerseusInput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& respon
void PerseusInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const PerseusSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("Perseus"));
swgDeviceSettings->setPerseusSettings(new SWGSDRangel::SWGPerseusSettings());
@ -676,7 +676,7 @@ void PerseusInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys,
void PerseusInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("Perseus"));

View File

@ -917,7 +917,7 @@ void PlutoSDRInput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& respo
void PlutoSDRInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const PlutoSDRInputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("PlutoSDR"));
swgDeviceSettings->setPlutoSdrInputSettings(new SWGSDRangel::SWGPlutoSdrInputSettings());
@ -1001,7 +1001,7 @@ void PlutoSDRInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys
void PlutoSDRInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("PlutoSDR"));

View File

@ -434,7 +434,7 @@ void RemoteInput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& respons
void RemoteInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const RemoteInputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("RemoteInput"));
swgDeviceSettings->setRemoteInputSettings(new SWGSDRangel::SWGRemoteInputSettings());
@ -485,7 +485,7 @@ void RemoteInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys,
void RemoteInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("RemoteInput"));

View File

@ -762,7 +762,7 @@ void RTLSDRInput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& respons
void RTLSDRInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const RTLSDRSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setDeviceHwType(new QString("RTLSDR"));
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setRtlSdrSettings(new SWGSDRangel::SWGRtlSdrSettings());
@ -840,7 +840,7 @@ void RTLSDRInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys,
void RTLSDRInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setDeviceHwType(new QString("RTLSDR"));
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());

View File

@ -849,7 +849,7 @@ void SDRPlayInput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& respon
void SDRPlayInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const SDRPlaySettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("SDRplay1"));
swgDeviceSettings->setSdrPlaySettings(new SWGSDRangel::SWGSDRPlaySettings());
@ -927,7 +927,7 @@ void SDRPlayInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys,
void SDRPlayInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("SDRplay1"));

View File

@ -1908,7 +1908,7 @@ void SoapySDRInput::webapiFormatArgInfo(const SoapySDR::ArgInfo& arg, SWGSDRange
void SoapySDRInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const SoapySDRInputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // Single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("SoapySDR"));
swgDeviceSettings->setSoapySdrInputSettings(new SWGSDRangel::SWGSoapySDRInputSettings());
@ -1999,7 +1999,7 @@ void SoapySDRInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys
void SoapySDRInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // Single Tx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("SoapySDR"));

View File

@ -622,7 +622,7 @@ void TestSourceInput::webapiFormatDeviceSettings(SWGSDRangel::SWGDeviceSettings&
void TestSourceInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const TestSourceSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("TestSource"));
swgDeviceSettings->setTestSourceSettings(new SWGSDRangel::SWGTestSourceSettings());
@ -705,7 +705,7 @@ void TestSourceInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKe
void TestSourceInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("TestSource"));

View File

@ -1532,7 +1532,7 @@ void XTRXInput::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& response)
void XTRXInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, const XTRXInputSettings& settings, bool force)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("XTRX"));
swgDeviceSettings->setXtrxInputSettings(new SWGSDRangel::SWGXtrxInputSettings());
@ -1619,7 +1619,7 @@ void XTRXInput::webapiReverseSendSettings(QList<QString>& deviceSettingsKeys, co
void XTRXInput::webapiReverseSendStartStop(bool start)
{
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
swgDeviceSettings->setTx(0);
swgDeviceSettings->setDirection(0); // single Rx
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
swgDeviceSettings->setDeviceHwType(new QString("XTRX"));

View File

@ -1717,9 +1717,9 @@ margin-bottom: 20px;
"type" : "string",
"description" : "Key to identify the channel plugin type as short object name"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero (true) if this is a Tx channel"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"version" : {
"type" : "string",
@ -1739,9 +1739,9 @@ margin-bottom: 20px;
"type" : "string",
"description" : "Channel type code"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero if it is a tx channel else it is a rx channel"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"AMDemodReport" : {
"$ref" : "#/definitions/AMDemodReport"
@ -1798,16 +1798,16 @@ margin-bottom: 20px;
"description" : "Base channel report. Only the channel report corresponding to the channel specified in the channelType field is or should be present."
};
defs.ChannelSettings = {
"required" : [ "channelType", "tx" ],
"required" : [ "channelType", "direction" ],
"discriminator" : "channelType",
"properties" : {
"channelType" : {
"type" : "string",
"description" : "Channel type code"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero if it is a tx channel else it is a rx channel"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"originatorDeviceSetIndex" : {
"type" : "integer",
@ -2103,9 +2103,9 @@ margin-bottom: 20px;
"type" : "integer",
"description" : "Sequence in the enumeration of same device types"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Set to not zero (true) if this is a Tx device"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"nbStreams" : {
"type" : "integer",
@ -2127,16 +2127,16 @@ margin-bottom: 20px;
"description" : "Summarized information about attached hardware device"
};
defs.DeviceReport = {
"required" : [ "deviceHwType", "tx" ],
"required" : [ "deviceHwType", "direction" ],
"discriminator" : "deviceHwType",
"properties" : {
"deviceHwType" : {
"type" : "string",
"description" : "Device hardware type code"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero if it is a tx device else it is a rx device"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"airspyReport" : {
"$ref" : "#/definitions/AirspyReport"
@ -2239,16 +2239,16 @@ margin-bottom: 20px;
"description" : "List of device sets opened in this instance"
};
defs.DeviceSettings = {
"required" : [ "deviceHwType", "tx" ],
"required" : [ "deviceHwType", "direction" ],
"discriminator" : "deviceHwType",
"properties" : {
"deviceHwType" : {
"type" : "string",
"description" : "Device hardware type code"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero if it is a tx device else it is a rx device"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"originatorIndex" : {
"type" : "integer",
@ -4789,9 +4789,9 @@ margin-bottom: 20px;
"type" : "string",
"description" : "Key to identify the type of hardware device"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero (true) if this is a Tx device"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"nbStreams" : {
"type" : "integer",
@ -5950,7 +5950,7 @@ margin-bottom: 20px;
<div id="header">
<div id="api-_">
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
<div class="app-desc">Version: 4.7.0</div>
<div class="app-desc">Version: 4.7.1</div>
<hr>
<div><p>This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube</p>
<hr />
@ -9567,7 +9567,7 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
try {
DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
System.out.println(result);
@ -9587,7 +9587,7 @@ public class DeviceSetApiExample {
public static void main(String[] args) {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
try {
DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
System.out.println(result);
@ -9604,7 +9604,7 @@ public class DeviceSetApiExample {
</div> -->
<div class="tab-pane" id="examples-DeviceSet-devicesetDevicePut-0-objc">
<pre class="prettyprint"><code class="language-cpp">Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceListItem *body = ; // Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
DeviceListItem *body = ; // Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
@ -9628,7 +9628,7 @@ var api = new SdRangel.DeviceSetApi()
var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
var body = ; // {DeviceListItem} Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
var body = ; // {DeviceListItem} Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
var callback = function(error, data, response) {
@ -9661,7 +9661,7 @@ namespace Example
var apiInstance = new DeviceSetApi();
var deviceSetIndex = 56; // Integer | Index of device set in the device set list
var body = new DeviceListItem(); // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
var body = new DeviceListItem(); // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
try
{
@ -9684,7 +9684,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
$body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
try {
$result = $api_instance->devicesetDevicePut($deviceSetIndex, $body);
@ -9702,7 +9702,7 @@ use SWGSDRangel::DeviceSetApi;
my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::DeviceListItem->new(); # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
my $body = SWGSDRangel::Object::DeviceListItem->new(); # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
eval {
my $result = $api_instance->devicesetDevicePut(deviceSetIndex => $deviceSetIndex, body => $body);
@ -9723,7 +9723,7 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body = # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
body = # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
try:
api_response = api_instance.deviceset_device_put(deviceSetIndex, body)
@ -9782,7 +9782,7 @@ $(document).ready(function() {
var schemaWrapper = {
"in" : "body",
"name" : "body",
"description" : "Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.",
"description" : "Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.",
"required" : true,
"schema" : {
"$ref" : "#/definitions/DeviceListItem"
@ -14628,7 +14628,7 @@ except ApiException as e:
<div class="tab-content">
<div class="tab-pane active" id="examples-DeviceSet-instanceDeviceSetPost-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/sdrangel/deviceset?tx="</code></pre>
<pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/sdrangel/deviceset?direction="</code></pre>
</div>
<div class="tab-pane" id="examples-DeviceSet-instanceDeviceSetPost-0-java">
<pre class="prettyprint"><code class="language-java">import SWGSDRangel.*;
@ -14644,9 +14644,9 @@ public class DeviceSetApiExample {
public static void main(String[] args) {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
SuccessResponse result = apiInstance.instanceDeviceSetPost(tx);
SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetPost");
@ -14663,9 +14663,9 @@ public class DeviceSetApiExample {
public static void main(String[] args) {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
SuccessResponse result = apiInstance.instanceDeviceSetPost(tx);
SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetPost");
@ -14679,11 +14679,11 @@ public class DeviceSetApiExample {
<pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
</div> -->
<div class="tab-pane" id="examples-DeviceSet-instanceDeviceSetPost-0-objc">
<pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for a Tx device set (default Rx) (optional)
<pre class="prettyprint"><code class="language-cpp">Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
[apiInstance instanceDeviceSetPostWith:tx
[apiInstance instanceDeviceSetPostWith:direction
completionHandler: ^(SuccessResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@ -14701,7 +14701,7 @@ DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
var api = new SdRangel.DeviceSetApi()
var opts = {
'tx': 56 // {Integer} Set to non zero (true) for a Tx device set (default Rx)
'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
};
var callback = function(error, data, response) {
@ -14733,11 +14733,11 @@ namespace Example
{
var apiInstance = new DeviceSetApi();
var tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx) (optional)
var direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try
{
SuccessResponse result = apiInstance.instanceDeviceSetPost(tx);
SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
Debug.WriteLine(result);
}
catch (Exception e)
@ -14755,10 +14755,10 @@ namespace Example
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DeviceSetApi();
$tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
$direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
$result = $api_instance->instanceDeviceSetPost($tx);
$result = $api_instance->instanceDeviceSetPost($direction);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DeviceSetApi->instanceDeviceSetPost: ', $e->getMessage(), PHP_EOL;
@ -14772,10 +14772,10 @@ use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;
my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $tx = 56; # Integer | Set to non zero (true) for a Tx device set (default Rx)
my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
eval {
my $result = $api_instance->instanceDeviceSetPost(tx => $tx);
my $result = $api_instance->instanceDeviceSetPost(direction => $direction);
print Dumper($result);
};
if ($@) {
@ -14792,10 +14792,10 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
tx = 56 # Integer | Set to non zero (true) for a Tx device set (default Rx) (optional)
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try:
api_response = api_instance.instance_device_set_post(tx=tx)
api_response = api_instance.instance_device_set_post(direction=direction)
pprint(api_response)
except ApiException as e:
print("Exception when calling DeviceSetApi->instanceDeviceSetPost: %s\n" % e)</code></pre>
@ -14814,11 +14814,11 @@ except ApiException as e:
<th width="150px">Name</th>
<th>Description</th>
</tr>
<tr><td style="width:150px;">tx</td>
<tr><td style="width:150px;">direction</td>
<td>
<div id="d2e199_instanceDeviceSetPost_tx">
<div id="d2e199_instanceDeviceSetPost_direction">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@ -14826,7 +14826,7 @@ except ApiException as e:
</span>
<div class="inner description">
Set to non zero (true) for a Tx device set (default Rx)
0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
</div>
</div>
</div>
@ -17729,7 +17729,7 @@ $(document).ready(function() {
<div class="tab-content">
<div class="tab-pane active" id="examples-Instance-instanceChannels-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/sdrangel/channels?tx="</code></pre>
<pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/sdrangel/channels?direction="</code></pre>
</div>
<div class="tab-pane" id="examples-Instance-instanceChannels-0-java">
<pre class="prettyprint"><code class="language-java">import SWGSDRangel.*;
@ -17745,9 +17745,9 @@ public class InstanceApiExample {
public static void main(String[] args) {
InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstanceApi#instanceChannels");
@ -17764,9 +17764,9 @@ public class InstanceApiExample {
public static void main(String[] args) {
InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstanceApi#instanceChannels");
@ -17780,11 +17780,11 @@ public class InstanceApiExample {
<pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
</div> -->
<div class="tab-pane" id="examples-Instance-instanceChannels-0-objc">
<pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for Tx channels (default Rx) (optional)
<pre class="prettyprint"><code class="language-cpp">Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceChannelsWith:tx
[apiInstance instanceChannelsWith:direction
completionHandler: ^(InstanceChannelsResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@ -17802,7 +17802,7 @@ InstanceApi *apiInstance = [[InstanceApi alloc] init];
var api = new SdRangel.InstanceApi()
var opts = {
'tx': 56 // {Integer} Set to non zero (true) for Tx channels (default Rx)
'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
};
var callback = function(error, data, response) {
@ -17834,11 +17834,11 @@ namespace Example
{
var apiInstance = new InstanceApi();
var tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx) (optional)
var direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try
{
InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
Debug.WriteLine(result);
}
catch (Exception e)
@ -17856,10 +17856,10 @@ namespace Example
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\InstanceApi();
$tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
$direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
$result = $api_instance->instanceChannels($tx);
$result = $api_instance->instanceChannels($direction);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InstanceApi->instanceChannels: ', $e->getMessage(), PHP_EOL;
@ -17873,10 +17873,10 @@ use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;
my $api_instance = SWGSDRangel::InstanceApi->new();
my $tx = 56; # Integer | Set to non zero (true) for Tx channels (default Rx)
my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
eval {
my $result = $api_instance->instanceChannels(tx => $tx);
my $result = $api_instance->instanceChannels(direction => $direction);
print Dumper($result);
};
if ($@) {
@ -17893,10 +17893,10 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
tx = 56 # Integer | Set to non zero (true) for Tx channels (default Rx) (optional)
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try:
api_response = api_instance.instance_channels(tx=tx)
api_response = api_instance.instance_channels(direction=direction)
pprint(api_response)
except ApiException as e:
print("Exception when calling InstanceApi->instanceChannels: %s\n" % e)</code></pre>
@ -17915,11 +17915,11 @@ except ApiException as e:
<th width="150px">Name</th>
<th>Description</th>
</tr>
<tr><td style="width:150px;">tx</td>
<tr><td style="width:150px;">direction</td>
<td>
<div id="d2e199_instanceChannels_tx">
<div id="d2e199_instanceChannels_direction">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@ -17927,7 +17927,7 @@ except ApiException as e:
</span>
<div class="inner description">
Set to non zero (true) for Tx channels (default Rx)
0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
</div>
</div>
</div>
@ -19523,7 +19523,7 @@ except ApiException as e:
<div class="tab-content">
<div class="tab-pane active" id="examples-Instance-instanceDevices-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/sdrangel/devices?tx="</code></pre>
<pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/sdrangel/devices?direction="</code></pre>
</div>
<div class="tab-pane" id="examples-Instance-instanceDevices-0-java">
<pre class="prettyprint"><code class="language-java">import SWGSDRangel.*;
@ -19539,9 +19539,9 @@ public class InstanceApiExample {
public static void main(String[] args) {
InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstanceApi#instanceDevices");
@ -19558,9 +19558,9 @@ public class InstanceApiExample {
public static void main(String[] args) {
InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstanceApi#instanceDevices");
@ -19574,11 +19574,11 @@ public class InstanceApiExample {
<pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
</div> -->
<div class="tab-pane" id="examples-Instance-instanceDevices-0-objc">
<pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for Tx direction (default Rx) (optional)
<pre class="prettyprint"><code class="language-cpp">Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceDevicesWith:tx
[apiInstance instanceDevicesWith:direction
completionHandler: ^(InstanceDevicesResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@ -19596,7 +19596,7 @@ InstanceApi *apiInstance = [[InstanceApi alloc] init];
var api = new SdRangel.InstanceApi()
var opts = {
'tx': 56 // {Integer} Set to non zero (true) for Tx direction (default Rx)
'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
};
var callback = function(error, data, response) {
@ -19628,11 +19628,11 @@ namespace Example
{
var apiInstance = new InstanceApi();
var tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx) (optional)
var direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try
{
InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
Debug.WriteLine(result);
}
catch (Exception e)
@ -19650,10 +19650,10 @@ namespace Example
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\InstanceApi();
$tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
$direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
$result = $api_instance->instanceDevices($tx);
$result = $api_instance->instanceDevices($direction);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InstanceApi->instanceDevices: ', $e->getMessage(), PHP_EOL;
@ -19667,10 +19667,10 @@ use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;
my $api_instance = SWGSDRangel::InstanceApi->new();
my $tx = 56; # Integer | Set to non zero (true) for Tx direction (default Rx)
my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
eval {
my $result = $api_instance->instanceDevices(tx => $tx);
my $result = $api_instance->instanceDevices(direction => $direction);
print Dumper($result);
};
if ($@) {
@ -19687,10 +19687,10 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
tx = 56 # Integer | Set to non zero (true) for Tx direction (default Rx) (optional)
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try:
api_response = api_instance.instance_devices(tx=tx)
api_response = api_instance.instance_devices(direction=direction)
pprint(api_response)
except ApiException as e:
print("Exception when calling InstanceApi->instanceDevices: %s\n" % e)</code></pre>
@ -19709,11 +19709,11 @@ except ApiException as e:
<th width="150px">Name</th>
<th>Description</th>
</tr>
<tr><td style="width:150px;">tx</td>
<tr><td style="width:150px;">direction</td>
<td>
<div id="d2e199_instanceDevices_tx">
<div id="d2e199_instanceDevices_direction">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@ -19721,7 +19721,7 @@ except ApiException as e:
</span>
<div class="inner description">
Set to non zero (true) for Tx direction (default Rx)
0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
</div>
</div>
</div>
@ -24924,7 +24924,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2019-05-05T23:39:03.203+02:00
Generated 2019-05-07T11:40:05.130+02:00
</div>
</div>
</div>

View File

@ -15,7 +15,7 @@ info:
---
version: "4.7.0"
version: "4.7.1"
title: SDRangel
contact:
url: "https://github.com/f4exb/sdrangel"
@ -83,9 +83,9 @@ paths:
tags:
- Instance
parameters:
- name: tx
- name: direction
in: query
description: Set to non zero (true) for Tx direction (default Rx)
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
required: false
type: integer
responses:
@ -106,9 +106,9 @@ paths:
tags:
- Instance
parameters:
- name: tx
- name: direction
in: query
description: Set to non zero (true) for Tx channels (default Rx)
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
required: false
type: integer
responses:
@ -648,9 +648,9 @@ paths:
tags:
- DeviceSet
parameters:
- name: tx
- name: direction
in: query
description: Set to non zero (true) for a Tx device set (default Rx)
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
required: false
type: integer
responses:
@ -754,7 +754,7 @@ paths:
description: Index of device set in the device set list
- name: body
in: body
description: Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
description: Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
required: true
schema:
$ref: "#/definitions/DeviceListItem"
@ -1368,8 +1368,8 @@ definitions:
sequence:
description: "Sequence in the enumeration of same device types"
type: integer
tx:
description: "Set to not zero (true) if this is a Tx device"
direction:
description: "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
type: integer
nbStreams:
description: "Number of channels or streams in the device"
@ -1398,8 +1398,8 @@ definitions:
id:
description: "Key to identify the channel plugin type as short object name"
type: string
tx:
description: "Not zero (true) if this is a Tx channel"
direction:
description: "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
type: integer
version:
description: "Channel plugin version number"
@ -1467,8 +1467,8 @@ definitions:
hwType:
description: "Key to identify the type of hardware device"
type: string
tx:
description: "Not zero (true) if this is a Tx device"
direction:
description: "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
type: integer
nbStreams:
description: "Number of channels or streams in the device"
@ -1769,13 +1769,13 @@ definitions:
discriminator: deviceHwType
required:
- deviceHwType
- tx
- direction
properties:
deviceHwType:
description: Device hardware type code
type: string
tx:
description: Not zero if it is a tx device else it is a rx device
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
originatorIndex:
description: Optional for reverse API. This is the device set index from where the message comes from.
@ -1839,13 +1839,13 @@ definitions:
discriminator: deviceHwType
required:
- deviceHwType
- tx
- direction
properties:
deviceHwType:
description: Device hardware type code
type: string
tx:
description: Not zero if it is a tx device else it is a rx device
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
airspyReport:
$ref: "/doc/swagger/include/Airspy.yaml#/AirspyReport"
@ -1891,13 +1891,13 @@ definitions:
discriminator: channelType
required:
- channelType
- tx
- direction
properties:
channelType:
description: Channel type code
type: string
tx:
description: Not zero if it is a tx channel else it is a rx channel
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
originatorDeviceSetIndex:
description: Optional for reverse API. This is the device set index from where the message comes from.
@ -1951,8 +1951,8 @@ definitions:
channelType:
description: Channel type code
type: string
tx:
description: Not zero if it is a tx channel else it is a rx channel
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
AMDemodReport:
$ref: "/doc/swagger/include/AMDemod.yaml#/AMDemodReport"

View File

@ -1391,10 +1391,10 @@ void WebAPIRequestMapper::devicesetChannelService(
SWGSDRangel::SWGSuccessResponse normalResponse;
resetChannelSettings(query);
if (jsonObject.contains("tx")) {
query.setTx(jsonObject["tx"].toInt());
if (jsonObject.contains("direction")) {
query.setDirection(jsonObject["direction"].toInt());
} else {
query.setTx(0); // assume Rx
query.setDirection(0); // assume Rx
}
if (jsonObject.contains("channelType") && jsonObject["channelType"].isString())
@ -1686,10 +1686,10 @@ bool WebAPIRequestMapper::validatePresetExport(SWGSDRangel::SWGPresetExport& pre
bool WebAPIRequestMapper::validateDeviceListItem(SWGSDRangel::SWGDeviceListItem& deviceListItem, QJsonObject& jsonObject)
{
if (jsonObject.contains("tx")) {
deviceListItem.setTx(jsonObject["tx"].toInt());
if (jsonObject.contains("direction")) {
deviceListItem.setDirection(jsonObject["direction"].toInt());
} else {
deviceListItem.setTx(0); // assume Rx
deviceListItem.setDirection(0); // assume Rx
}
bool identified = false;
@ -1745,10 +1745,10 @@ bool WebAPIRequestMapper::validateDeviceSettings(
QJsonObject& jsonObject,
QStringList& deviceSettingsKeys)
{
if (jsonObject.contains("tx")) {
deviceSettings.setTx(jsonObject["tx"].toInt());
if (jsonObject.contains("direction")) {
deviceSettings.setDirection(jsonObject["direction"].toInt());
} else {
deviceSettings.setTx(0); // assume Rx
deviceSettings.setDirection(0); // assume single Rx
}
if (jsonObject.contains("deviceHwType") && jsonObject["deviceHwType"].isString()) {
@ -1759,7 +1759,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
QString *deviceHwType = deviceSettings.getDeviceHwType();
if ((*deviceHwType == "Airspy") && (deviceSettings.getTx() == 0))
if ((*deviceHwType == "Airspy") && (deviceSettings.getDirection() == 0))
{
if (jsonObject.contains("airspySettings") && jsonObject["airspySettings"].isObject())
{
@ -1774,7 +1774,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "AirspyHF") && (deviceSettings.getTx() == 0))
else if ((*deviceHwType == "AirspyHF") && (deviceSettings.getDirection() == 0))
{
if (jsonObject.contains("airspyHFSettings") && jsonObject["airspyHFSettings"].isObject())
{
@ -1789,7 +1789,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "BladeRF1") && (deviceSettings.getTx() == 0))
else if ((*deviceHwType == "BladeRF1") && (deviceSettings.getDirection() == 0))
{
if (jsonObject.contains("bladeRF1InputSettings") && jsonObject["bladeRF1InputSettings"].isObject())
{
@ -1804,7 +1804,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "BladeRF1") && (deviceSettings.getTx() != 0))
else if ((*deviceHwType == "BladeRF1") && (deviceSettings.getDirection() == 1))
{
if (jsonObject.contains("bladeRF1OutputSettings") && jsonObject["bladeRF1OutputSettings"].isObject())
{
@ -1819,7 +1819,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "BladeRF2") && (deviceSettings.getTx() == 0))
else if ((*deviceHwType == "BladeRF2") && (deviceSettings.getDirection() == 0))
{
if (jsonObject.contains("bladeRF2InputSettings") && jsonObject["bladeRF2InputSettings"].isObject())
{
@ -1834,7 +1834,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "BladeRF2") && (deviceSettings.getTx() != 0))
else if ((*deviceHwType == "BladeRF2") && (deviceSettings.getDirection() == 1))
{
if (jsonObject.contains("bladeRF2OutputSettings") && jsonObject["bladeRF2OutputSettings"].isObject())
{
@ -1894,7 +1894,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "HackRF") && (deviceSettings.getTx() == 0))
else if ((*deviceHwType == "HackRF") && (deviceSettings.getDirection() == 0))
{
if (jsonObject.contains("hackRFInputSettings") && jsonObject["hackRFInputSettings"].isObject())
{
@ -1909,7 +1909,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "HackRF") && (deviceSettings.getTx() != 0))
else if ((*deviceHwType == "HackRF") && (deviceSettings.getDirection() == 1))
{
if (jsonObject.contains("hackRFOutputSettings") && jsonObject["hackRFOutputSettings"].isObject())
{
@ -1924,7 +1924,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "LimeSDR") && (deviceSettings.getTx() == 0))
else if ((*deviceHwType == "LimeSDR") && (deviceSettings.getDirection() == 0))
{
if (jsonObject.contains("limeSdrInputSettings") && jsonObject["limeSdrInputSettings"].isObject())
{
@ -1939,7 +1939,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "LimeSDR") && (deviceSettings.getTx() != 0))
else if ((*deviceHwType == "LimeSDR") && (deviceSettings.getDirection() == 1))
{
if (jsonObject.contains("limeSdrOutputSettings") && jsonObject["limeSdrOutputSettings"].isObject())
{
@ -1969,7 +1969,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "PlutoSDR") && (deviceSettings.getTx() == 0))
else if ((*deviceHwType == "PlutoSDR") && (deviceSettings.getDirection() == 0))
{
if (jsonObject.contains("plutoSdrInputSettings") && jsonObject["plutoSdrInputSettings"].isObject())
{
@ -1984,7 +1984,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "PlutoSDR") && (deviceSettings.getTx() != 0))
else if ((*deviceHwType == "PlutoSDR") && (deviceSettings.getDirection() == 1))
{
if (jsonObject.contains("plutoSdrOutputSettings") && jsonObject["plutoSdrOutputSettings"].isObject())
{
@ -2029,7 +2029,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "SoapySDR") && (deviceSettings.getTx() == 0))
else if ((*deviceHwType == "SoapySDR") && (deviceSettings.getDirection() == 0))
{
if (jsonObject.contains("soapySDRInputSettings") && jsonObject["soapySDRInputSettings"].isObject())
{
@ -2045,7 +2045,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "SoapySDR") && (deviceSettings.getTx() != 0))
else if ((*deviceHwType == "SoapySDR") && (deviceSettings.getDirection() == 1))
{
if (jsonObject.contains("soapySDROutputSettings") && jsonObject["soapySDROutputSettings"].isObject())
{
@ -2076,7 +2076,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "XTRX") && (deviceSettings.getTx() == 0))
else if ((*deviceHwType == "XTRX") && (deviceSettings.getDirection() == 0))
{
if (jsonObject.contains("xtrxInputSettings") && jsonObject["xtrxInputSettings"].isObject())
{
@ -2091,7 +2091,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "XTRX") && (deviceSettings.getTx() != 0))
else if ((*deviceHwType == "XTRX") && (deviceSettings.getDirection() == 1))
{
if (jsonObject.contains("xtrxOutputSettings") && jsonObject["xtrxOutputSettings"].isObject())
{
@ -2106,7 +2106,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "RemoteInput") && (deviceSettings.getTx() == 0))
else if ((*deviceHwType == "RemoteInput") && (deviceSettings.getDirection() == 0))
{
if (jsonObject.contains("remoteInputSettings") && jsonObject["remoteInputSettings"].isObject())
{
@ -2121,7 +2121,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "LocalInput") && (deviceSettings.getTx() == 0))
else if ((*deviceHwType == "LocalInput") && (deviceSettings.getDirection() == 0))
{
if (jsonObject.contains("localInputSettings") && jsonObject["localInputSettings"].isObject())
{
@ -2136,7 +2136,7 @@ bool WebAPIRequestMapper::validateDeviceSettings(
return false;
}
}
else if ((*deviceHwType == "RemoteOutput") && (deviceSettings.getTx() != 0))
else if ((*deviceHwType == "RemoteOutput") && (deviceSettings.getDirection() == 1))
{
if (jsonObject.contains("remoteOutputSettings") && jsonObject["remoteOutputSettings"].isObject())
{
@ -2162,10 +2162,10 @@ bool WebAPIRequestMapper::validateChannelSettings(
QJsonObject& jsonObject,
QStringList& channelSettingsKeys)
{
if (jsonObject.contains("tx")) {
channelSettings.setTx(jsonObject["tx"].toInt());
if (jsonObject.contains("direction")) {
channelSettings.setDirection(jsonObject["direction"].toInt());
} else {
channelSettings.setTx(0); // assume Rx
channelSettings.setDirection(0); // assume single Rx
}
if (jsonObject.contains("channelType") && jsonObject["channelType"].isString()) {
@ -2178,7 +2178,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
if (*channelType == "AMDemod")
{
if (channelSettings.getTx() == 0)
if (channelSettings.getDirection() == 0)
{
QJsonObject amDemodSettingsJsonObject = jsonObject["AMDemodSettings"].toObject();
channelSettingsKeys = amDemodSettingsJsonObject.keys();
@ -2192,7 +2192,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "AMMod")
{
if (channelSettings.getTx() != 0)
if (channelSettings.getDirection() == 1)
{
QJsonObject amModSettingsJsonObject = jsonObject["AMModSettings"].toObject();
channelSettingsKeys = amModSettingsJsonObject.keys();
@ -2213,7 +2213,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "ATVMod")
{
if (channelSettings.getTx() != 0)
if (channelSettings.getDirection() == 1)
{
QJsonObject atvModSettingsJsonObject = jsonObject["ATVModSettings"].toObject();
channelSettingsKeys = atvModSettingsJsonObject.keys();
@ -2227,7 +2227,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "BFMDemod")
{
if (channelSettings.getTx() == 0)
if (channelSettings.getDirection() == 0)
{
QJsonObject bfmDemodSettingsJsonObject = jsonObject["BFMDemodSettings"].toObject();
channelSettingsKeys = bfmDemodSettingsJsonObject.keys();
@ -2241,7 +2241,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "DSDDemod")
{
if (channelSettings.getTx() == 0)
if (channelSettings.getDirection() == 0)
{
QJsonObject dsdDemodSettingsJsonObject = jsonObject["DSDDemodSettings"].toObject();
channelSettingsKeys = dsdDemodSettingsJsonObject.keys();
@ -2255,7 +2255,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "FreeDVDemod")
{
if (channelSettings.getTx() == 0)
if (channelSettings.getDirection() == 0)
{
QJsonObject freeDVDemodSettingsJsonObject = jsonObject["FreeDVDemodSettings"].toObject();
channelSettingsKeys = freeDVDemodSettingsJsonObject.keys();
@ -2269,7 +2269,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "FreeDVMod")
{
if (channelSettings.getTx() != 0)
if (channelSettings.getDirection() == 1)
{
QJsonObject freeDVModSettingsJsonObject = jsonObject["FreeDVModSettings"].toObject();
channelSettingsKeys = freeDVModSettingsJsonObject.keys();
@ -2283,7 +2283,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "NFMDemod")
{
if (channelSettings.getTx() == 0)
if (channelSettings.getDirection() == 0)
{
QJsonObject nfmDemodSettingsJsonObject = jsonObject["NFMDemodSettings"].toObject();
channelSettingsKeys = nfmDemodSettingsJsonObject.keys();
@ -2297,7 +2297,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "NFMMod")
{
if (channelSettings.getTx() != 0)
if (channelSettings.getDirection() == 1)
{
QJsonObject nfmModSettingsJsonObject = jsonObject["NFMModSettings"].toObject();
channelSettingsKeys = nfmModSettingsJsonObject.keys();
@ -2318,7 +2318,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "LocalSink")
{
if (channelSettings.getTx() == 0)
if (channelSettings.getDirection() == 0)
{
QJsonObject localChannelSinkSettingsJsonObject = jsonObject["LocalSinkSettings"].toObject();
channelSettingsKeys = localChannelSinkSettingsJsonObject.keys();
@ -2332,7 +2332,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "RemoteSink")
{
if (channelSettings.getTx() == 0)
if (channelSettings.getDirection() == 0)
{
QJsonObject remoteChannelSinkSettingsJsonObject = jsonObject["RemoteSinkSettings"].toObject();
channelSettingsKeys = remoteChannelSinkSettingsJsonObject.keys();
@ -2346,7 +2346,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "RemoteSource")
{
if (channelSettings.getTx() != 0)
if (channelSettings.getDirection() == 1)
{
QJsonObject remoteChannelSourceSettingsJsonObject = jsonObject["RemoteSourceSettings"].toObject();
channelSettingsKeys = remoteChannelSourceSettingsJsonObject.keys();
@ -2360,7 +2360,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "SSBDemod")
{
if (channelSettings.getTx() == 0)
if (channelSettings.getDirection() == 0)
{
QJsonObject ssbDemodSettingsJsonObject = jsonObject["SSBDemodSettings"].toObject();
channelSettingsKeys = ssbDemodSettingsJsonObject.keys();
@ -2374,7 +2374,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "SSBMod")
{
if (channelSettings.getTx() != 0)
if (channelSettings.getDirection() == 1)
{
QJsonObject ssbModSettingsJsonObject = jsonObject["SSBModSettings"].toObject();
channelSettingsKeys = ssbModSettingsJsonObject.keys();
@ -2395,7 +2395,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "UDPSource")
{
if (channelSettings.getTx() != 0)
if (channelSettings.getDirection() == 1)
{
QJsonObject udpSourceSettingsJsonObject = jsonObject["UDPSourceSettings"].toObject();
channelSettingsKeys = udpSourceSettingsJsonObject.keys();
@ -2409,7 +2409,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "UDPSink")
{
if (channelSettings.getTx() == 0)
if (channelSettings.getDirection() == 0)
{
QJsonObject udpSinkSettingsJsonObject = jsonObject["UDPSinkSettings"].toObject();
channelSettingsKeys = udpSinkSettingsJsonObject.keys();
@ -2423,7 +2423,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "WFMDemod")
{
if (channelSettings.getTx() == 0)
if (channelSettings.getDirection() == 0)
{
QJsonObject wfmDemodSettingsJsonObject = jsonObject["WFMDemodSettings"].toObject();
channelSettingsKeys = wfmDemodSettingsJsonObject.keys();
@ -2437,7 +2437,7 @@ bool WebAPIRequestMapper::validateChannelSettings(
}
else if (*channelType == "WFMMod")
{
if (channelSettings.getTx() != 0)
if (channelSettings.getDirection() == 1)
{
QJsonObject wfmModSettingsJsonObject = jsonObject["WFMModSettings"].toObject();
channelSettingsKeys = wfmModSettingsJsonObject.keys();

View File

@ -133,7 +133,7 @@ int WebAPIAdapterGUI::instanceDevices(
*devices->back()->getHwType() = samplingDevice.hardwareId;
*devices->back()->getSerial() = samplingDevice.serial;
devices->back()->setSequence(samplingDevice.sequence);
devices->back()->setTx(!samplingDevice.rxElseTx);
devices->back()->setDirection(!samplingDevice.rxElseTx ? 0 : 1);
devices->back()->setNbStreams(samplingDevice.deviceNbItems);
devices->back()->setDeviceSetIndex(samplingDevice.claimed);
devices->back()->setIndex(i);
@ -162,7 +162,7 @@ int WebAPIAdapterGUI::instanceChannels(
const PluginDescriptor& pluginDescriptor = channelInterface->getPluginDescriptor();
*channels->back()->getVersion() = pluginDescriptor.version;
*channels->back()->getName() = pluginDescriptor.displayedName;
channels->back()->setTx(tx);
channels->back()->setDirection(tx ? 1 : 0);
*channels->back()->getIdUri() = channelRegistrations->at(i).m_channelIdURI;
*channels->back()->getId() = channelRegistrations->at(i).m_channelId;
channels->back()->setIndex(i);
@ -943,26 +943,44 @@ int WebAPIAdapterGUI::devicesetDevicePut(
{
DeviceUISet *deviceSet = m_mainWindow.m_deviceUIs[deviceSetIndex];
if ((query.getTx() == 0) && (deviceSet->m_deviceSinkEngine))
if ((query.getDirection() != 1) && (deviceSet->m_deviceSinkEngine))
{
error.init();
*error.getMessage() = QString("Device type (Rx) and device set type (Tx) mismatch");
return 404;
}
if ((query.getTx() != 0) && (deviceSet->m_deviceSourceEngine))
if ((query.getDirection() != 0) && (deviceSet->m_deviceSourceEngine))
{
error.init();
*error.getMessage() = QString("Device type (Tx) and device set type (Rx) mismatch");
return 404;
}
int nbSamplingDevices = query.getTx() != 0 ? DeviceEnumerator::instance()->getNbTxSamplingDevices() : DeviceEnumerator::instance()->getNbRxSamplingDevices();
int tx = query.getTx();
int nbSamplingDevices;
if (query.getDirection() == 0) {
nbSamplingDevices = DeviceEnumerator::instance()->getNbRxSamplingDevices();
} else if (query.getDirection() == 1) {
nbSamplingDevices = DeviceEnumerator::instance()->getNbTxSamplingDevices();
} else {
nbSamplingDevices = 0; // TODO: not implemented yet
}
for (int i = 0; i < nbSamplingDevices; i++)
{
PluginInterface::SamplingDevice samplingDevice = query.getTx() ? DeviceEnumerator::instance()->getTxSamplingDevice(i) : DeviceEnumerator::instance()->getRxSamplingDevice(i);
int tx;
if (query.getDirection() == 0) {
tx = 0;
} else if (query.getDirection() == 1) {
tx = 1;
} else {
continue; // TODO: any device (2) not supported yet
}
PluginInterface::SamplingDevice samplingDevice = query.getDirection() == 0 ? DeviceEnumerator::instance()->getRxSamplingDevice(i) : DeviceEnumerator::instance()->getTxSamplingDevice(i);
if (query.getDisplayedName() && (*query.getDisplayedName() != samplingDevice.displayedName)) {
continue;
@ -984,7 +1002,7 @@ int WebAPIAdapterGUI::devicesetDevicePut(
continue;
}
MainWindow::MsgSetDevice *msg = MainWindow::MsgSetDevice::create(deviceSetIndex, i, query.getTx() != 0);
MainWindow::MsgSetDevice *msg = MainWindow::MsgSetDevice::create(deviceSetIndex, i, query.getDirection() == 1);
m_mainWindow.m_inputMessageQueue.push(msg);
response.init();
@ -992,7 +1010,7 @@ int WebAPIAdapterGUI::devicesetDevicePut(
*response.getHwType() = samplingDevice.hardwareId;
*response.getSerial() = samplingDevice.serial;
response.setSequence(samplingDevice.sequence);
response.setTx(tx);
response.setDirection(tx);
response.setNbStreams(samplingDevice.deviceNbItems);
response.setStreamIndex(samplingDevice.deviceItemIndex);
response.setDeviceSetIndex(deviceSetIndex);
@ -1024,17 +1042,17 @@ int WebAPIAdapterGUI::devicesetDeviceSettingsGet(
{
DeviceUISet *deviceSet = m_mainWindow.m_deviceUIs[deviceSetIndex];
if (deviceSet->m_deviceSourceEngine) // Rx
if (deviceSet->m_deviceSourceEngine) // Single Rx
{
response.setDeviceHwType(new QString(deviceSet->m_deviceSourceAPI->getHardwareId()));
response.setTx(0);
response.setDirection(0);
DeviceSampleSource *source = deviceSet->m_deviceSourceAPI->getSampleSource();
return source->webapiSettingsGet(response, *error.getMessage());
}
else if (deviceSet->m_deviceSinkEngine) // Tx
else if (deviceSet->m_deviceSinkEngine) // Single Tx
{
response.setDeviceHwType(new QString(deviceSet->m_deviceSinkAPI->getHardwareId()));
response.setTx(1);
response.setDirection(1);
DeviceSampleSink *sink = deviceSet->m_deviceSinkAPI->getSampleSink();
return sink->webapiSettingsGet(response, *error.getMessage());
}
@ -1064,11 +1082,11 @@ int WebAPIAdapterGUI::devicesetDeviceSettingsPutPatch(
{
DeviceUISet *deviceSet = m_mainWindow.m_deviceUIs[deviceSetIndex];
if (deviceSet->m_deviceSourceEngine) // Rx
if (deviceSet->m_deviceSourceEngine) // Single Rx
{
if (response.getTx() != 0)
if (response.getDirection() != 0)
{
*error.getMessage() = QString("Rx device found but Tx device requested");
*error.getMessage() = QString("Single Rx device found but other type of device requested");
return 400;
}
if (deviceSet->m_deviceSourceAPI->getHardwareId() != *response.getDeviceHwType())
@ -1082,11 +1100,11 @@ int WebAPIAdapterGUI::devicesetDeviceSettingsPutPatch(
return source->webapiSettingsPutPatch(force, deviceSettingsKeys, response, *error.getMessage());
}
}
else if (deviceSet->m_deviceSinkEngine) // Tx
else if (deviceSet->m_deviceSinkEngine) // Single Tx
{
if (response.getTx() == 0)
if (response.getDirection() != 0)
{
*error.getMessage() = QString("Tx device found but Rx device requested");
*error.getMessage() = QString("Single Tx device found but other type of device requested");
return 400;
}
else if (deviceSet->m_deviceSinkAPI->getHardwareId() != *response.getDeviceHwType())
@ -1233,17 +1251,17 @@ int WebAPIAdapterGUI::devicesetDeviceReportGet(
{
DeviceUISet *deviceSet = m_mainWindow.m_deviceUIs[deviceSetIndex];
if (deviceSet->m_deviceSourceEngine) // Rx
if (deviceSet->m_deviceSourceEngine) // Single Rx
{
response.setDeviceHwType(new QString(deviceSet->m_deviceSourceAPI->getHardwareId()));
response.setTx(0);
response.setDirection(0);
DeviceSampleSource *source = deviceSet->m_deviceSourceAPI->getSampleSource();
return source->webapiReportGet(response, *error.getMessage());
}
else if (deviceSet->m_deviceSinkEngine) // Tx
else if (deviceSet->m_deviceSinkEngine) // Single Tx
{
response.setDeviceHwType(new QString(deviceSet->m_deviceSinkAPI->getHardwareId()));
response.setTx(1);
response.setDirection(1);
DeviceSampleSink *sink = deviceSet->m_deviceSinkAPI->getSampleSink();
return sink->webapiReportGet(response, *error.getMessage());
}
@ -1291,7 +1309,7 @@ int WebAPIAdapterGUI::devicesetChannelPost(
{
DeviceUISet *deviceSet = m_mainWindow.m_deviceUIs[deviceSetIndex];
if (query.getTx() == 0) // Rx
if (query.getDirection() == 0) // Single Rx
{
if (deviceSet->m_deviceSourceEngine == 0)
{
@ -1327,7 +1345,7 @@ int WebAPIAdapterGUI::devicesetChannelPost(
return 404;
}
}
else // Tx
else if (query.getDirection() == 1) // single Tx
{
if (deviceSet->m_deviceSinkEngine == 0)
{
@ -1363,6 +1381,13 @@ int WebAPIAdapterGUI::devicesetChannelPost(
return 404;
}
}
else
{
error.init();
*error.getMessage() = QString("This type of device is not implemented yet");
return 400;
}
}
else
{
@ -1451,7 +1476,7 @@ int WebAPIAdapterGUI::devicesetChannelSettingsGet(
{
DeviceUISet *deviceSet = m_mainWindow.m_deviceUIs[deviceSetIndex];
if (deviceSet->m_deviceSourceEngine) // Rx
if (deviceSet->m_deviceSourceEngine) // Single Rx
{
ChannelSinkAPI *channelAPI = deviceSet->m_deviceSourceAPI->getChanelAPIAt(channelIndex);
@ -1464,11 +1489,11 @@ int WebAPIAdapterGUI::devicesetChannelSettingsGet(
{
response.setChannelType(new QString());
channelAPI->getIdentifier(*response.getChannelType());
response.setTx(0);
response.setDirection(0);
return channelAPI->webapiSettingsGet(response, *error.getMessage());
}
}
else if (deviceSet->m_deviceSinkEngine) // Tx
else if (deviceSet->m_deviceSinkEngine) // Single Tx
{
ChannelSourceAPI *channelAPI = deviceSet->m_deviceSinkAPI->getChanelAPIAt(channelIndex);
@ -1481,7 +1506,7 @@ int WebAPIAdapterGUI::devicesetChannelSettingsGet(
{
response.setChannelType(new QString());
channelAPI->getIdentifier(*response.getChannelType());
response.setTx(1);
response.setDirection(1);
return channelAPI->webapiSettingsGet(response, *error.getMessage());
}
}
@ -1511,7 +1536,7 @@ int WebAPIAdapterGUI::devicesetChannelReportGet(
{
DeviceUISet *deviceSet = m_mainWindow.m_deviceUIs[deviceSetIndex];
if (deviceSet->m_deviceSourceEngine) // Rx
if (deviceSet->m_deviceSourceEngine) // Single Rx
{
ChannelSinkAPI *channelAPI = deviceSet->m_deviceSourceAPI->getChanelAPIAt(channelIndex);
@ -1524,11 +1549,11 @@ int WebAPIAdapterGUI::devicesetChannelReportGet(
{
response.setChannelType(new QString());
channelAPI->getIdentifier(*response.getChannelType());
response.setTx(0);
response.setDirection(0);
return channelAPI->webapiReportGet(response, *error.getMessage());
}
}
else if (deviceSet->m_deviceSinkEngine) // Tx
else if (deviceSet->m_deviceSinkEngine) // Single Tx
{
ChannelSourceAPI *channelAPI = deviceSet->m_deviceSinkAPI->getChanelAPIAt(channelIndex);
@ -1541,7 +1566,7 @@ int WebAPIAdapterGUI::devicesetChannelReportGet(
{
response.setChannelType(new QString());
channelAPI->getIdentifier(*response.getChannelType());
response.setTx(1);
response.setDirection(1);
return channelAPI->webapiReportGet(response, *error.getMessage());
}
}
@ -1572,7 +1597,7 @@ int WebAPIAdapterGUI::devicesetChannelSettingsPutPatch(
{
DeviceUISet *deviceSet = m_mainWindow.m_deviceUIs[deviceSetIndex];
if (deviceSet->m_deviceSourceEngine) // Rx
if (deviceSet->m_deviceSourceEngine) // Single Rx
{
ChannelSinkAPI *channelAPI = deviceSet->m_deviceSourceAPI->getChanelAPIAt(channelIndex);
@ -1600,7 +1625,7 @@ int WebAPIAdapterGUI::devicesetChannelSettingsPutPatch(
}
}
}
else if (deviceSet->m_deviceSinkEngine) // Tx
else if (deviceSet->m_deviceSinkEngine) // Single Tx
{
ChannelSourceAPI *channelAPI = deviceSet->m_deviceSinkAPI->getChanelAPIAt(channelIndex);
@ -1668,10 +1693,10 @@ void WebAPIAdapterGUI::getDeviceSet(SWGSDRangel::SWGDeviceSet *deviceSet, const
SWGSDRangel::SWGSamplingDevice *samplingDevice = deviceSet->getSamplingDevice();
samplingDevice->init();
samplingDevice->setIndex(deviceUISetIndex);
samplingDevice->setTx(deviceUISet->m_deviceSinkEngine != 0);
if (deviceUISet->m_deviceSinkEngine) // Tx data
if (deviceUISet->m_deviceSinkEngine) // Single Tx data
{
samplingDevice->setDirection(1);
*samplingDevice->getHwType() = deviceUISet->m_deviceSinkAPI->getHardwareId();
*samplingDevice->getSerial() = deviceUISet->m_deviceSinkAPI->getSampleSinkSerial();
samplingDevice->setSequence(deviceUISet->m_deviceSinkAPI->getSampleSinkSequence());
@ -1703,6 +1728,7 @@ void WebAPIAdapterGUI::getDeviceSet(SWGSDRangel::SWGDeviceSet *deviceSet, const
if (deviceUISet->m_deviceSourceEngine) // Rx data
{
samplingDevice->setDirection(0);
*samplingDevice->getHwType() = deviceUISet->m_deviceSourceAPI->getHardwareId();
*samplingDevice->getSerial() = deviceUISet->m_deviceSourceAPI->getSampleSourceSerial();
samplingDevice->setSequence(deviceUISet->m_deviceSourceAPI->getSampleSourceSequence());

View File

@ -15,7 +15,7 @@ info:
---
version: "4.7.0"
version: "4.7.1"
title: SDRangel
contact:
url: "https://github.com/f4exb/sdrangel"
@ -83,9 +83,9 @@ paths:
tags:
- Instance
parameters:
- name: tx
- name: direction
in: query
description: Set to non zero (true) for Tx direction (default Rx)
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
required: false
type: integer
responses:
@ -106,9 +106,9 @@ paths:
tags:
- Instance
parameters:
- name: tx
- name: direction
in: query
description: Set to non zero (true) for Tx channels (default Rx)
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
required: false
type: integer
responses:
@ -648,9 +648,9 @@ paths:
tags:
- DeviceSet
parameters:
- name: tx
- name: direction
in: query
description: Set to non zero (true) for a Tx device set (default Rx)
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
required: false
type: integer
responses:
@ -754,7 +754,7 @@ paths:
description: Index of device set in the device set list
- name: body
in: body
description: Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
description: Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
required: true
schema:
$ref: "#/definitions/DeviceListItem"
@ -1368,8 +1368,8 @@ definitions:
sequence:
description: "Sequence in the enumeration of same device types"
type: integer
tx:
description: "Set to not zero (true) if this is a Tx device"
direction:
description: "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
type: integer
nbStreams:
description: "Number of channels or streams in the device"
@ -1398,8 +1398,8 @@ definitions:
id:
description: "Key to identify the channel plugin type as short object name"
type: string
tx:
description: "Not zero (true) if this is a Tx channel"
direction:
description: "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
type: integer
version:
description: "Channel plugin version number"
@ -1467,8 +1467,8 @@ definitions:
hwType:
description: "Key to identify the type of hardware device"
type: string
tx:
description: "Not zero (true) if this is a Tx device"
direction:
description: "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
type: integer
nbStreams:
description: "Number of channels or streams in the device"
@ -1769,13 +1769,13 @@ definitions:
discriminator: deviceHwType
required:
- deviceHwType
- tx
- direction
properties:
deviceHwType:
description: Device hardware type code
type: string
tx:
description: Not zero if it is a tx device else it is a rx device
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
originatorIndex:
description: Optional for reverse API. This is the device set index from where the message comes from.
@ -1839,13 +1839,13 @@ definitions:
discriminator: deviceHwType
required:
- deviceHwType
- tx
- direction
properties:
deviceHwType:
description: Device hardware type code
type: string
tx:
description: Not zero if it is a tx device else it is a rx device
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
airspyReport:
$ref: "http://localhost:8081/api/swagger/include/Airspy.yaml#/AirspyReport"
@ -1891,13 +1891,13 @@ definitions:
discriminator: channelType
required:
- channelType
- tx
- direction
properties:
channelType:
description: Channel type code
type: string
tx:
description: Not zero if it is a tx channel else it is a rx channel
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
originatorDeviceSetIndex:
description: Optional for reverse API. This is the device set index from where the message comes from.
@ -1951,8 +1951,8 @@ definitions:
channelType:
description: Channel type code
type: string
tx:
description: Not zero if it is a tx channel else it is a rx channel
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
AMDemodReport:
$ref: "http://localhost:8081/api/swagger/include/AMDemod.yaml#/AMDemodReport"

View File

@ -1717,9 +1717,9 @@ margin-bottom: 20px;
"type" : "string",
"description" : "Key to identify the channel plugin type as short object name"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero (true) if this is a Tx channel"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"version" : {
"type" : "string",
@ -1739,9 +1739,9 @@ margin-bottom: 20px;
"type" : "string",
"description" : "Channel type code"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero if it is a tx channel else it is a rx channel"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"AMDemodReport" : {
"$ref" : "#/definitions/AMDemodReport"
@ -1798,16 +1798,16 @@ margin-bottom: 20px;
"description" : "Base channel report. Only the channel report corresponding to the channel specified in the channelType field is or should be present."
};
defs.ChannelSettings = {
"required" : [ "channelType", "tx" ],
"required" : [ "channelType", "direction" ],
"discriminator" : "channelType",
"properties" : {
"channelType" : {
"type" : "string",
"description" : "Channel type code"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero if it is a tx channel else it is a rx channel"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"originatorDeviceSetIndex" : {
"type" : "integer",
@ -2103,9 +2103,9 @@ margin-bottom: 20px;
"type" : "integer",
"description" : "Sequence in the enumeration of same device types"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Set to not zero (true) if this is a Tx device"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"nbStreams" : {
"type" : "integer",
@ -2127,16 +2127,16 @@ margin-bottom: 20px;
"description" : "Summarized information about attached hardware device"
};
defs.DeviceReport = {
"required" : [ "deviceHwType", "tx" ],
"required" : [ "deviceHwType", "direction" ],
"discriminator" : "deviceHwType",
"properties" : {
"deviceHwType" : {
"type" : "string",
"description" : "Device hardware type code"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero if it is a tx device else it is a rx device"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"airspyReport" : {
"$ref" : "#/definitions/AirspyReport"
@ -2239,16 +2239,16 @@ margin-bottom: 20px;
"description" : "List of device sets opened in this instance"
};
defs.DeviceSettings = {
"required" : [ "deviceHwType", "tx" ],
"required" : [ "deviceHwType", "direction" ],
"discriminator" : "deviceHwType",
"properties" : {
"deviceHwType" : {
"type" : "string",
"description" : "Device hardware type code"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero if it is a tx device else it is a rx device"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"originatorIndex" : {
"type" : "integer",
@ -4789,9 +4789,9 @@ margin-bottom: 20px;
"type" : "string",
"description" : "Key to identify the type of hardware device"
},
"tx" : {
"direction" : {
"type" : "integer",
"description" : "Not zero (true) if this is a Tx device"
"description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
},
"nbStreams" : {
"type" : "integer",
@ -5950,7 +5950,7 @@ margin-bottom: 20px;
<div id="header">
<div id="api-_">
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
<div class="app-desc">Version: 4.7.0</div>
<div class="app-desc">Version: 4.7.1</div>
<hr>
<div><p>This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube</p>
<hr />
@ -9567,7 +9567,7 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
try {
DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
System.out.println(result);
@ -9587,7 +9587,7 @@ public class DeviceSetApiExample {
public static void main(String[] args) {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
try {
DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
System.out.println(result);
@ -9604,7 +9604,7 @@ public class DeviceSetApiExample {
</div> -->
<div class="tab-pane" id="examples-DeviceSet-devicesetDevicePut-0-objc">
<pre class="prettyprint"><code class="language-cpp">Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceListItem *body = ; // Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
DeviceListItem *body = ; // Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
@ -9628,7 +9628,7 @@ var api = new SdRangel.DeviceSetApi()
var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
var body = ; // {DeviceListItem} Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
var body = ; // {DeviceListItem} Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
var callback = function(error, data, response) {
@ -9661,7 +9661,7 @@ namespace Example
var apiInstance = new DeviceSetApi();
var deviceSetIndex = 56; // Integer | Index of device set in the device set list
var body = new DeviceListItem(); // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
var body = new DeviceListItem(); // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
try
{
@ -9684,7 +9684,7 @@ require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
$body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
try {
$result = $api_instance->devicesetDevicePut($deviceSetIndex, $body);
@ -9702,7 +9702,7 @@ use SWGSDRangel::DeviceSetApi;
my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::DeviceListItem->new(); # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
my $body = SWGSDRangel::Object::DeviceListItem->new(); # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
eval {
my $result = $api_instance->devicesetDevicePut(deviceSetIndex => $deviceSetIndex, body => $body);
@ -9723,7 +9723,7 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body = # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
body = # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.
try:
api_response = api_instance.deviceset_device_put(deviceSetIndex, body)
@ -9782,7 +9782,7 @@ $(document).ready(function() {
var schemaWrapper = {
"in" : "body",
"name" : "body",
"description" : "Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.",
"description" : "Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if Tx is not specified.",
"required" : true,
"schema" : {
"$ref" : "#/definitions/DeviceListItem"
@ -14628,7 +14628,7 @@ except ApiException as e:
<div class="tab-content">
<div class="tab-pane active" id="examples-DeviceSet-instanceDeviceSetPost-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/sdrangel/deviceset?tx="</code></pre>
<pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/sdrangel/deviceset?direction="</code></pre>
</div>
<div class="tab-pane" id="examples-DeviceSet-instanceDeviceSetPost-0-java">
<pre class="prettyprint"><code class="language-java">import SWGSDRangel.*;
@ -14644,9 +14644,9 @@ public class DeviceSetApiExample {
public static void main(String[] args) {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
SuccessResponse result = apiInstance.instanceDeviceSetPost(tx);
SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetPost");
@ -14663,9 +14663,9 @@ public class DeviceSetApiExample {
public static void main(String[] args) {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
SuccessResponse result = apiInstance.instanceDeviceSetPost(tx);
SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetPost");
@ -14679,11 +14679,11 @@ public class DeviceSetApiExample {
<pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
</div> -->
<div class="tab-pane" id="examples-DeviceSet-instanceDeviceSetPost-0-objc">
<pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for a Tx device set (default Rx) (optional)
<pre class="prettyprint"><code class="language-cpp">Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
[apiInstance instanceDeviceSetPostWith:tx
[apiInstance instanceDeviceSetPostWith:direction
completionHandler: ^(SuccessResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@ -14701,7 +14701,7 @@ DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
var api = new SdRangel.DeviceSetApi()
var opts = {
'tx': 56 // {Integer} Set to non zero (true) for a Tx device set (default Rx)
'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
};
var callback = function(error, data, response) {
@ -14733,11 +14733,11 @@ namespace Example
{
var apiInstance = new DeviceSetApi();
var tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx) (optional)
var direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try
{
SuccessResponse result = apiInstance.instanceDeviceSetPost(tx);
SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
Debug.WriteLine(result);
}
catch (Exception e)
@ -14755,10 +14755,10 @@ namespace Example
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DeviceSetApi();
$tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
$direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
$result = $api_instance->instanceDeviceSetPost($tx);
$result = $api_instance->instanceDeviceSetPost($direction);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DeviceSetApi->instanceDeviceSetPost: ', $e->getMessage(), PHP_EOL;
@ -14772,10 +14772,10 @@ use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;
my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $tx = 56; # Integer | Set to non zero (true) for a Tx device set (default Rx)
my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
eval {
my $result = $api_instance->instanceDeviceSetPost(tx => $tx);
my $result = $api_instance->instanceDeviceSetPost(direction => $direction);
print Dumper($result);
};
if ($@) {
@ -14792,10 +14792,10 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
tx = 56 # Integer | Set to non zero (true) for a Tx device set (default Rx) (optional)
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try:
api_response = api_instance.instance_device_set_post(tx=tx)
api_response = api_instance.instance_device_set_post(direction=direction)
pprint(api_response)
except ApiException as e:
print("Exception when calling DeviceSetApi->instanceDeviceSetPost: %s\n" % e)</code></pre>
@ -14814,11 +14814,11 @@ except ApiException as e:
<th width="150px">Name</th>
<th>Description</th>
</tr>
<tr><td style="width:150px;">tx</td>
<tr><td style="width:150px;">direction</td>
<td>
<div id="d2e199_instanceDeviceSetPost_tx">
<div id="d2e199_instanceDeviceSetPost_direction">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@ -14826,7 +14826,7 @@ except ApiException as e:
</span>
<div class="inner description">
Set to non zero (true) for a Tx device set (default Rx)
0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
</div>
</div>
</div>
@ -17729,7 +17729,7 @@ $(document).ready(function() {
<div class="tab-content">
<div class="tab-pane active" id="examples-Instance-instanceChannels-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/sdrangel/channels?tx="</code></pre>
<pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/sdrangel/channels?direction="</code></pre>
</div>
<div class="tab-pane" id="examples-Instance-instanceChannels-0-java">
<pre class="prettyprint"><code class="language-java">import SWGSDRangel.*;
@ -17745,9 +17745,9 @@ public class InstanceApiExample {
public static void main(String[] args) {
InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstanceApi#instanceChannels");
@ -17764,9 +17764,9 @@ public class InstanceApiExample {
public static void main(String[] args) {
InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstanceApi#instanceChannels");
@ -17780,11 +17780,11 @@ public class InstanceApiExample {
<pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
</div> -->
<div class="tab-pane" id="examples-Instance-instanceChannels-0-objc">
<pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for Tx channels (default Rx) (optional)
<pre class="prettyprint"><code class="language-cpp">Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceChannelsWith:tx
[apiInstance instanceChannelsWith:direction
completionHandler: ^(InstanceChannelsResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@ -17802,7 +17802,7 @@ InstanceApi *apiInstance = [[InstanceApi alloc] init];
var api = new SdRangel.InstanceApi()
var opts = {
'tx': 56 // {Integer} Set to non zero (true) for Tx channels (default Rx)
'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
};
var callback = function(error, data, response) {
@ -17834,11 +17834,11 @@ namespace Example
{
var apiInstance = new InstanceApi();
var tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx) (optional)
var direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try
{
InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
Debug.WriteLine(result);
}
catch (Exception e)
@ -17856,10 +17856,10 @@ namespace Example
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\InstanceApi();
$tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
$direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
$result = $api_instance->instanceChannels($tx);
$result = $api_instance->instanceChannels($direction);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InstanceApi->instanceChannels: ', $e->getMessage(), PHP_EOL;
@ -17873,10 +17873,10 @@ use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;
my $api_instance = SWGSDRangel::InstanceApi->new();
my $tx = 56; # Integer | Set to non zero (true) for Tx channels (default Rx)
my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
eval {
my $result = $api_instance->instanceChannels(tx => $tx);
my $result = $api_instance->instanceChannels(direction => $direction);
print Dumper($result);
};
if ($@) {
@ -17893,10 +17893,10 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
tx = 56 # Integer | Set to non zero (true) for Tx channels (default Rx) (optional)
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try:
api_response = api_instance.instance_channels(tx=tx)
api_response = api_instance.instance_channels(direction=direction)
pprint(api_response)
except ApiException as e:
print("Exception when calling InstanceApi->instanceChannels: %s\n" % e)</code></pre>
@ -17915,11 +17915,11 @@ except ApiException as e:
<th width="150px">Name</th>
<th>Description</th>
</tr>
<tr><td style="width:150px;">tx</td>
<tr><td style="width:150px;">direction</td>
<td>
<div id="d2e199_instanceChannels_tx">
<div id="d2e199_instanceChannels_direction">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@ -17927,7 +17927,7 @@ except ApiException as e:
</span>
<div class="inner description">
Set to non zero (true) for Tx channels (default Rx)
0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
</div>
</div>
</div>
@ -19523,7 +19523,7 @@ except ApiException as e:
<div class="tab-content">
<div class="tab-pane active" id="examples-Instance-instanceDevices-0-curl">
<pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/sdrangel/devices?tx="</code></pre>
<pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/sdrangel/devices?direction="</code></pre>
</div>
<div class="tab-pane" id="examples-Instance-instanceDevices-0-java">
<pre class="prettyprint"><code class="language-java">import SWGSDRangel.*;
@ -19539,9 +19539,9 @@ public class InstanceApiExample {
public static void main(String[] args) {
InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstanceApi#instanceDevices");
@ -19558,9 +19558,9 @@ public class InstanceApiExample {
public static void main(String[] args) {
InstanceApi apiInstance = new InstanceApi();
Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InstanceApi#instanceDevices");
@ -19574,11 +19574,11 @@ public class InstanceApiExample {
<pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre>
</div> -->
<div class="tab-pane" id="examples-Instance-instanceDevices-0-objc">
<pre class="prettyprint"><code class="language-cpp">Integer *tx = 56; // Set to non zero (true) for Tx direction (default Rx) (optional)
<pre class="prettyprint"><code class="language-cpp">Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
InstanceApi *apiInstance = [[InstanceApi alloc] init];
[apiInstance instanceDevicesWith:tx
[apiInstance instanceDevicesWith:direction
completionHandler: ^(InstanceDevicesResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@ -19596,7 +19596,7 @@ InstanceApi *apiInstance = [[InstanceApi alloc] init];
var api = new SdRangel.InstanceApi()
var opts = {
'tx': 56 // {Integer} Set to non zero (true) for Tx direction (default Rx)
'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
};
var callback = function(error, data, response) {
@ -19628,11 +19628,11 @@ namespace Example
{
var apiInstance = new InstanceApi();
var tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx) (optional)
var direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try
{
InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
Debug.WriteLine(result);
}
catch (Exception e)
@ -19650,10 +19650,10 @@ namespace Example
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\InstanceApi();
$tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
$direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
try {
$result = $api_instance->instanceDevices($tx);
$result = $api_instance->instanceDevices($direction);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling InstanceApi->instanceDevices: ', $e->getMessage(), PHP_EOL;
@ -19667,10 +19667,10 @@ use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;
my $api_instance = SWGSDRangel::InstanceApi->new();
my $tx = 56; # Integer | Set to non zero (true) for Tx direction (default Rx)
my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
eval {
my $result = $api_instance->instanceDevices(tx => $tx);
my $result = $api_instance->instanceDevices(direction => $direction);
print Dumper($result);
};
if ($@) {
@ -19687,10 +19687,10 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
tx = 56 # Integer | Set to non zero (true) for Tx direction (default Rx) (optional)
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)
try:
api_response = api_instance.instance_devices(tx=tx)
api_response = api_instance.instance_devices(direction=direction)
pprint(api_response)
except ApiException as e:
print("Exception when calling InstanceApi->instanceDevices: %s\n" % e)</code></pre>
@ -19709,11 +19709,11 @@ except ApiException as e:
<th width="150px">Name</th>
<th>Description</th>
</tr>
<tr><td style="width:150px;">tx</td>
<tr><td style="width:150px;">direction</td>
<td>
<div id="d2e199_instanceDevices_tx">
<div id="d2e199_instanceDevices_direction">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
@ -19721,7 +19721,7 @@ except ApiException as e:
</span>
<div class="inner description">
Set to non zero (true) for Tx direction (default Rx)
0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
</div>
</div>
</div>
@ -24924,7 +24924,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2019-05-05T23:39:03.203+02:00
Generated 2019-05-07T11:40:05.130+02:00
</div>
</div>
</div>

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

View File

@ -2,7 +2,7 @@
* SDRangel
* This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
*
* OpenAPI spec version: 4.7.0
* OpenAPI spec version: 4.7.1
* Contact: f4exb06@gmail.com
*
* NOTE: This class is auto generated by the swagger code generator program.

Some files were not shown because too many files have changed in this diff Show More