From aea5bacb29b7e1103dd5b940c47644718ed08050 Mon Sep 17 00:00:00 2001 From: srcejon Date: Tue, 4 Aug 2026 02:11:43 +0100 Subject: [PATCH] Regen swagger --- sdrbase/resources/webapi/doc/html2/index.html | 10 +--- .../doc/swagger/include/PagerDemod.yaml | 6 --- swagger/sdrangel/code/html2/index.html | 10 +--- .../code/qt5/client/SWGPagerDemodSettings.cpp | 46 ------------------- .../code/qt5/client/SWGPagerDemodSettings.h | 12 ----- 5 files changed, 2 insertions(+), 82 deletions(-) diff --git a/sdrbase/resources/webapi/doc/html2/index.html b/sdrbase/resources/webapi/doc/html2/index.html index 02fedbacd..8c1533cc7 100644 --- a/sdrbase/resources/webapi/doc/html2/index.html +++ b/sdrbase/resources/webapi/doc/html2/index.html @@ -12912,10 +12912,6 @@ margin-bottom: 20px; "type" : "number", "format" : "float" }, - "correlationThreshold" : { - "type" : "number", - "format" : "float" - }, "udpEnabled" : { "type" : "integer", "description" : "Whether to forward received messages to specified UDP port" @@ -12928,10 +12924,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "UDP port to forward received messages to" }, - "udpFormat" : { - "type" : "integer", - "description" : "0 for binary, 1 for NMEA" - }, "logFilename" : { "type" : "string" }, @@ -60755,7 +60747,7 @@ except ApiException as e:
- Generated 2026-08-04T02:57:55.624+02:00 + Generated 2026-08-04T03:09:32.867+02:00
diff --git a/sdrbase/resources/webapi/doc/swagger/include/PagerDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/PagerDemod.yaml index 100e278e4..4c4f783d9 100644 --- a/sdrbase/resources/webapi/doc/swagger/include/PagerDemod.yaml +++ b/sdrbase/resources/webapi/doc/swagger/include/PagerDemod.yaml @@ -25,9 +25,6 @@ PagerDemodSettings: fmDeviation: type: number format: float - correlationThreshold: - type: number - format: float udpEnabled: description: "Whether to forward received messages to specified UDP port" type: integer @@ -37,9 +34,6 @@ PagerDemodSettings: udpPort: description: "UDP port to forward received messages to" type: integer - udpFormat: - description: "0 for binary, 1 for NMEA" - type: integer logFilename: type: string logEnabled: diff --git a/swagger/sdrangel/code/html2/index.html b/swagger/sdrangel/code/html2/index.html index 02fedbacd..8c1533cc7 100644 --- a/swagger/sdrangel/code/html2/index.html +++ b/swagger/sdrangel/code/html2/index.html @@ -12912,10 +12912,6 @@ margin-bottom: 20px; "type" : "number", "format" : "float" }, - "correlationThreshold" : { - "type" : "number", - "format" : "float" - }, "udpEnabled" : { "type" : "integer", "description" : "Whether to forward received messages to specified UDP port" @@ -12928,10 +12924,6 @@ margin-bottom: 20px; "type" : "integer", "description" : "UDP port to forward received messages to" }, - "udpFormat" : { - "type" : "integer", - "description" : "0 for binary, 1 for NMEA" - }, "logFilename" : { "type" : "string" }, @@ -60755,7 +60747,7 @@ except ApiException as e:
- Generated 2026-08-04T02:57:55.624+02:00 + Generated 2026-08-04T03:09:32.867+02:00
diff --git a/swagger/sdrangel/code/qt5/client/SWGPagerDemodSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGPagerDemodSettings.cpp index ed9da083c..49bf6ba30 100644 --- a/swagger/sdrangel/code/qt5/client/SWGPagerDemodSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGPagerDemodSettings.cpp @@ -38,16 +38,12 @@ SWGPagerDemodSettings::SWGPagerDemodSettings() { m_rf_bandwidth_isSet = false; fm_deviation = 0.0f; m_fm_deviation_isSet = false; - correlation_threshold = 0.0f; - m_correlation_threshold_isSet = false; udp_enabled = 0; m_udp_enabled_isSet = false; udp_address = nullptr; m_udp_address_isSet = false; udp_port = 0; m_udp_port_isSet = false; - udp_format = 0; - m_udp_format_isSet = false; log_filename = nullptr; m_log_filename_isSet = false; log_enabled = 0; @@ -92,16 +88,12 @@ SWGPagerDemodSettings::init() { m_rf_bandwidth_isSet = false; fm_deviation = 0.0f; m_fm_deviation_isSet = false; - correlation_threshold = 0.0f; - m_correlation_threshold_isSet = false; udp_enabled = 0; m_udp_enabled_isSet = false; udp_address = new QString(""); m_udp_address_isSet = false; udp_port = 0; m_udp_port_isSet = false; - udp_format = 0; - m_udp_format_isSet = false; log_filename = new QString(""); m_log_filename_isSet = false; log_enabled = 0; @@ -138,12 +130,10 @@ SWGPagerDemodSettings::cleanup() { - if(udp_address != nullptr) { delete udp_address; } - if(log_filename != nullptr) { delete log_filename; } @@ -192,16 +182,12 @@ SWGPagerDemodSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&fm_deviation, pJson["fmDeviation"], "float", ""); - ::SWGSDRangel::setValue(&correlation_threshold, pJson["correlationThreshold"], "float", ""); - ::SWGSDRangel::setValue(&udp_enabled, pJson["udpEnabled"], "qint32", ""); ::SWGSDRangel::setValue(&udp_address, pJson["udpAddress"], "QString", "QString"); ::SWGSDRangel::setValue(&udp_port, pJson["udpPort"], "qint32", ""); - ::SWGSDRangel::setValue(&udp_format, pJson["udpFormat"], "qint32", ""); - ::SWGSDRangel::setValue(&log_filename, pJson["logFilename"], "QString", "QString"); ::SWGSDRangel::setValue(&log_enabled, pJson["logEnabled"], "qint32", ""); @@ -259,9 +245,6 @@ SWGPagerDemodSettings::asJsonObject() { if(m_fm_deviation_isSet){ obj->insert("fmDeviation", QJsonValue(fm_deviation)); } - if(m_correlation_threshold_isSet){ - obj->insert("correlationThreshold", QJsonValue(correlation_threshold)); - } if(m_udp_enabled_isSet){ obj->insert("udpEnabled", QJsonValue(udp_enabled)); } @@ -271,9 +254,6 @@ SWGPagerDemodSettings::asJsonObject() { if(m_udp_port_isSet){ obj->insert("udpPort", QJsonValue(udp_port)); } - if(m_udp_format_isSet){ - obj->insert("udpFormat", QJsonValue(udp_format)); - } if(log_filename != nullptr && *log_filename != QString("")){ toJsonValue(QString("logFilename"), log_filename, obj, QString("QString")); } @@ -367,16 +347,6 @@ SWGPagerDemodSettings::setFmDeviation(float fm_deviation) { this->m_fm_deviation_isSet = true; } -float -SWGPagerDemodSettings::getCorrelationThreshold() { - return correlation_threshold; -} -void -SWGPagerDemodSettings::setCorrelationThreshold(float correlation_threshold) { - this->correlation_threshold = correlation_threshold; - this->m_correlation_threshold_isSet = true; -} - qint32 SWGPagerDemodSettings::getUdpEnabled() { return udp_enabled; @@ -407,16 +377,6 @@ SWGPagerDemodSettings::setUdpPort(qint32 udp_port) { this->m_udp_port_isSet = true; } -qint32 -SWGPagerDemodSettings::getUdpFormat() { - return udp_format; -} -void -SWGPagerDemodSettings::setUdpFormat(qint32 udp_format) { - this->udp_format = udp_format; - this->m_udp_format_isSet = true; -} - QString* SWGPagerDemodSettings::getLogFilename() { return log_filename; @@ -567,9 +527,6 @@ SWGPagerDemodSettings::isSet(){ if(m_fm_deviation_isSet){ isObjectUpdated = true; break; } - if(m_correlation_threshold_isSet){ - isObjectUpdated = true; break; - } if(m_udp_enabled_isSet){ isObjectUpdated = true; break; } @@ -579,9 +536,6 @@ SWGPagerDemodSettings::isSet(){ if(m_udp_port_isSet){ isObjectUpdated = true; break; } - if(m_udp_format_isSet){ - isObjectUpdated = true; break; - } if(log_filename && *log_filename != QString("")){ isObjectUpdated = true; break; } diff --git a/swagger/sdrangel/code/qt5/client/SWGPagerDemodSettings.h b/swagger/sdrangel/code/qt5/client/SWGPagerDemodSettings.h index 472e42e74..62db5082f 100644 --- a/swagger/sdrangel/code/qt5/client/SWGPagerDemodSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGPagerDemodSettings.h @@ -60,9 +60,6 @@ public: float getFmDeviation(); void setFmDeviation(float fm_deviation); - float getCorrelationThreshold(); - void setCorrelationThreshold(float correlation_threshold); - qint32 getUdpEnabled(); void setUdpEnabled(qint32 udp_enabled); @@ -72,9 +69,6 @@ public: qint32 getUdpPort(); void setUdpPort(qint32 udp_port); - qint32 getUdpFormat(); - void setUdpFormat(qint32 udp_format); - QString* getLogFilename(); void setLogFilename(QString* log_filename); @@ -133,9 +127,6 @@ private: float fm_deviation; bool m_fm_deviation_isSet; - float correlation_threshold; - bool m_correlation_threshold_isSet; - qint32 udp_enabled; bool m_udp_enabled_isSet; @@ -145,9 +136,6 @@ private: qint32 udp_port; bool m_udp_port_isSet; - qint32 udp_format; - bool m_udp_format_isSet; - QString* log_filename; bool m_log_filename_isSet;