diff --git a/sdrbase/resources/webapi/doc/html2/index.html b/sdrbase/resources/webapi/doc/html2/index.html
index 808b82604..e158fb376 100644
--- a/sdrbase/resources/webapi/doc/html2/index.html
+++ b/sdrbase/resources/webapi/doc/html2/index.html
@@ -2279,6 +2279,9 @@ margin-bottom: 20px;
},
"PacketModActions" : {
"$ref" : "#/definitions/PacketModActions"
+ },
+ "SigMFFileSinkActions" : {
+ "$ref" : "#/definitions/SigMFFileSinkActions"
}
},
"description" : "Base channel actions. Only the channel actions corresponding to the channel specified in the channelType field is or should be present."
@@ -2457,6 +2460,9 @@ margin-bottom: 20px;
"PacketModReport" : {
"$ref" : "#/definitions/PacketModReport"
},
+ "SigMFFileSinkReport" : {
+ "$ref" : "#/definitions/SigMFFileSinkReport"
+ },
"SSBModReport" : {
"$ref" : "#/definitions/SSBModReport"
},
@@ -2567,6 +2573,9 @@ margin-bottom: 20px;
"RemoteSourceSettings" : {
"$ref" : "#/definitions/RemoteSourceSettings"
},
+ "SigMFFileSinkSettings" : {
+ "$ref" : "#/definitions/SigMFFileSinkSettings"
+ },
"SSBModSettings" : {
"$ref" : "#/definitions/SSBModSettings"
},
@@ -7540,6 +7549,114 @@ margin-bottom: 20px;
}
},
"description" : "SigMFFileInput"
+};
+ defs.SigMFFileSinkActions = {
+ "properties" : {
+ "record" : {
+ "type" : "integer",
+ "description" : "Record action\n * 0 - stop recording\n * 1 - start recording\n"
+ }
+ },
+ "description" : "SigMFFileSink"
+};
+ defs.SigMFFileSinkReport = {
+ "properties" : {
+ "spectrumSquelch" : {
+ "type" : "integer",
+ "description" : "Spectrum squelch status * 0 - closed * 1 - open\n"
+ },
+ "spectrumMax" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Current spectrum max in squared magnitude (power)"
+ },
+ "sinkSampleRate" : {
+ "type" : "integer"
+ },
+ "channelSampleRate" : {
+ "type" : "integer"
+ },
+ "recording" : {
+ "type" : "integer",
+ "description" : "Recording status * 0 - not recording * 1 - recording\n"
+ },
+ "recordTimeMs" : {
+ "type" : "integer",
+ "description" : "Record total time in milliseconds"
+ },
+ "recordSize" : {
+ "type" : "integer",
+ "format" : "int64",
+ "description" : "Record data size in bytes"
+ },
+ "recordCaptures" : {
+ "type" : "integer",
+ "description" : "Number of record captures not including current if recording"
+ }
+ },
+ "description" : "SigMFFileSink"
+};
+ defs.SigMFFileSinkSettings = {
+ "properties" : {
+ "inputFrequencyOffset" : {
+ "type" : "integer"
+ },
+ "fileRecordName" : {
+ "type" : "string",
+ "description" : "full path of the meta file"
+ },
+ "rgbColor" : {
+ "type" : "integer"
+ },
+ "title" : {
+ "type" : "string"
+ },
+ "log2Decim" : {
+ "type" : "integer"
+ },
+ "spectrumSquelchMode" : {
+ "type" : "integer",
+ "description" : "Spectrum squelch system * 0 - deactivated * 1 - activated\n"
+ },
+ "spectrumSquelch" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Squelch level in power dB"
+ },
+ "preRecordTime" : {
+ "type" : "integer",
+ "description" : "Number of seconds to record before recording is triggered (manual or squelch)"
+ },
+ "squelchPostRecordTime" : {
+ "type" : "integer",
+ "description" : "Number of seconds to record after spectrum squelch cloeses"
+ },
+ "squelchRecordingEnable" : {
+ "type" : "integer",
+ "description" : "Automatic recording triggered by spectrum squalch * 0 - disabled * 1 - enabled\n"
+ },
+ "streamIndex" : {
+ "type" : "integer",
+ "description" : "MIMO channel. Not relevant when connected to SI (single Rx)."
+ },
+ "useReverseAPI" : {
+ "type" : "integer",
+ "description" : "Synchronize with reverse API (1 for yes, 0 for no)"
+ },
+ "reverseAPIAddress" : {
+ "type" : "string"
+ },
+ "reverseAPIPort" : {
+ "type" : "integer"
+ },
+ "reverseAPIDeviceIndex" : {
+ "type" : "integer"
+ },
+ "reverseAPIChannelIndex" : {
+ "type" : "integer"
+ }
+ },
+ "description" : "SigMFFileSink"
};
defs.SimplePTTActions = {
"properties" : {
@@ -40799,7 +40916,7 @@ except ApiException as e:
- Generated 2020-11-10T00:25:24.966+01:00
+ Generated 2020-11-10T09:45:26.359+01:00
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelActions.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelActions.yaml
index 9816bede5..a5d7005e5 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChannelActions.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelActions.yaml
@@ -25,3 +25,5 @@ ChannelActions:
$ref: "/doc/swagger/include/IEEE_802_15_4_Mod.yaml#/IEEE_802_15_4_ModActions"
PacketModActions:
$ref: "/doc/swagger/include/PacketMod.yaml#/PacketModActions"
+ SigMFFileSinkActions:
+ $ref: "/doc/swagger/include/SigMFFileSink.yaml#/SigMFFileSinkActions"
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml
index e75073f7e..3a8a51be9 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml
@@ -49,6 +49,8 @@ ChannelReport:
$ref: "/doc/swagger/include/RemoteSource.yaml#/RemoteSourceReport"
PacketModReport:
$ref: "/doc/swagger/include/PacketMod.yaml#/PacketModReport"
+ SigMFFileSinkReport:
+ $ref: "/doc/swagger/include/SigMFFileSink.yaml#/SigMFFileSinkReport"
SSBModReport:
$ref: "/doc/swagger/include/SSBMod.yaml#/SSBModReport"
UDPSourceReport:
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml
index afc71fb2d..05196f278 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml
@@ -65,6 +65,8 @@ ChannelSettings:
$ref: "/doc/swagger/include/RemoteSink.yaml#/RemoteSinkSettings"
RemoteSourceSettings:
$ref: "/doc/swagger/include/RemoteSource.yaml#/RemoteSourceSettings"
+ SigMFFileSinkSettings:
+ $ref: "/doc/swagger/include/SigMFFileSink.yaml#/SigMFFileSinkSettings"
SSBModSettings:
$ref: "/doc/swagger/include/SSBMod.yaml#/SSBModSettings"
SSBDemodSettings:
diff --git a/sdrbase/resources/webapi/doc/swagger/include/SigMFFileSink.yaml b/sdrbase/resources/webapi/doc/swagger/include/SigMFFileSink.yaml
new file mode 100644
index 000000000..e64f0e0cc
--- /dev/null
+++ b/sdrbase/resources/webapi/doc/swagger/include/SigMFFileSink.yaml
@@ -0,0 +1,95 @@
+SigMFFileSinkSettings:
+ description: SigMFFileSink
+ properties:
+ inputFrequencyOffset:
+ type: integer
+ fileRecordName:
+ type: string
+ description: full path of the meta file
+ rgbColor:
+ type: integer
+ title:
+ type: string
+ log2Decim:
+ type: integer
+ spectrumSquelchMode:
+ type: integer
+ description: >
+ Spectrum squelch system
+ * 0 - deactivated
+ * 1 - activated
+ spectrumSquelch:
+ type: number
+ format: float
+ description: Squelch level in power dB
+ preRecordTime:
+ type: integer
+ description: Number of seconds to record before recording is triggered (manual or squelch)
+ squelchPostRecordTime:
+ type: integer
+ description: Number of seconds to record after spectrum squelch cloeses
+ squelchRecordingEnable:
+ type: integer
+ description: >
+ Automatic recording triggered by spectrum squalch
+ * 0 - disabled
+ * 1 - enabled
+ streamIndex:
+ description: MIMO channel. Not relevant when connected to SI (single Rx).
+ type: integer
+ useReverseAPI:
+ description: Synchronize with reverse API (1 for yes, 0 for no)
+ type: integer
+ reverseAPIAddress:
+ type: string
+ reverseAPIPort:
+ type: integer
+ reverseAPIDeviceIndex:
+ type: integer
+ reverseAPIChannelIndex:
+ type: integer
+
+SigMFFileSinkReport:
+ description: SigMFFileSink
+ properties:
+ spectrumSquelch:
+ type: integer
+ description: >
+ Spectrum squelch status
+ * 0 - closed
+ * 1 - open
+ spectrumMax:
+ type: number
+ format: float
+ description: Current spectrum max in squared magnitude (power)
+ sinkSampleRate:
+ type: integer
+ channelSampleRate:
+ type: integer
+ recording:
+ type: integer
+ description: >
+ Recording status
+ * 0 - not recording
+ * 1 - recording
+ recordTimeMs:
+ type: integer
+ description: Record total time in milliseconds
+ recordSize:
+ type: integer
+ format: int64
+ description: Record data size in bytes
+ recordCaptures:
+ type: integer
+ description: Number of record captures not including current if recording
+
+SigMFFileSinkActions:
+ description: SigMFFileSink
+ properties:
+ record:
+ type: integer
+ description: >
+ Record action
+ * 0 - stop recording
+ * 1 - start recording
+
diff --git a/sdrbase/webapi/webapirequestmapper.cpp b/sdrbase/webapi/webapirequestmapper.cpp
index f9d54cb8b..6b10e17f8 100644
--- a/sdrbase/webapi/webapirequestmapper.cpp
+++ b/sdrbase/webapi/webapirequestmapper.cpp
@@ -3645,6 +3645,11 @@ bool WebAPIRequestMapper::getChannelSettings(
channelSettings->setRemoteSourceSettings(new SWGSDRangel::SWGRemoteSourceSettings());
channelSettings->getRemoteSourceSettings()->fromJsonObject(settingsJsonObject);
}
+ else if (channelSettingsKey == "SigMFFileSinkSettings")
+ {
+ channelSettings->setSigMfFileSinkSettings(new SWGSDRangel::SWGSigMFFileSinkSettings());
+ channelSettings->getSigMfFileSinkSettings()->fromJsonObject(settingsJsonObject);
+ }
else if (channelSettingsKey == "SSBDemodSettings")
{
channelSettings->setSsbDemodSettings(new SWGSDRangel::SWGSSBDemodSettings());
diff --git a/swagger/sdrangel/api/swagger/include/ChannelActions.yaml b/swagger/sdrangel/api/swagger/include/ChannelActions.yaml
index 7be1394d5..4b7b6e310 100644
--- a/swagger/sdrangel/api/swagger/include/ChannelActions.yaml
+++ b/swagger/sdrangel/api/swagger/include/ChannelActions.yaml
@@ -25,3 +25,5 @@ ChannelActions:
$ref: "http://swgserver:8081/api/swagger/include/IEEE_802_15_4_Mod.yaml#/IEEE_802_15_4_ModActions"
PacketModActions:
$ref: "http://swgserver:8081/api/swagger/include/PacketMod.yaml#/PacketModActions"
+ SigMFFileSinkActions:
+ $ref: "http://swgserver:8081/api/swagger/include/SigMFFileSink.yaml#/SigMFFileSinkActions"
diff --git a/swagger/sdrangel/api/swagger/include/ChannelReport.yaml b/swagger/sdrangel/api/swagger/include/ChannelReport.yaml
index d48c9c46b..d2ae747d1 100644
--- a/swagger/sdrangel/api/swagger/include/ChannelReport.yaml
+++ b/swagger/sdrangel/api/swagger/include/ChannelReport.yaml
@@ -49,6 +49,8 @@ ChannelReport:
$ref: "http://swgserver:8081/api/swagger/include/RemoteSource.yaml#/RemoteSourceReport"
PacketModReport:
$ref: "http://swgserver:8081/api/swagger/include/PacketMod.yaml#/PacketModReport"
+ SigMFFileSinkReport:
+ $ref: "http://swgserver:8081/api/swagger/include/SigMFFileSink.yaml#/SigMFFileSinkReport"
SSBModReport:
$ref: "http://swgserver:8081/api/swagger/include/SSBMod.yaml#/SSBModReport"
UDPSourceReport:
diff --git a/swagger/sdrangel/api/swagger/include/ChannelSettings.yaml b/swagger/sdrangel/api/swagger/include/ChannelSettings.yaml
index 0374701dc..59004d825 100644
--- a/swagger/sdrangel/api/swagger/include/ChannelSettings.yaml
+++ b/swagger/sdrangel/api/swagger/include/ChannelSettings.yaml
@@ -65,6 +65,8 @@ ChannelSettings:
$ref: "http://swgserver:8081/api/swagger/include/RemoteSink.yaml#/RemoteSinkSettings"
RemoteSourceSettings:
$ref: "http://swgserver:8081/api/swagger/include/RemoteSource.yaml#/RemoteSourceSettings"
+ SigMFFileSinkSettings:
+ $ref: "http://swgserver:8081/api/swagger/include/SigMFFileSink.yaml#/SigMFFileSinkSettings"
SSBModSettings:
$ref: "http://swgserver:8081/api/swagger/include/SSBMod.yaml#/SSBModSettings"
SSBDemodSettings:
diff --git a/swagger/sdrangel/api/swagger/include/SigMFFileSink.yaml b/swagger/sdrangel/api/swagger/include/SigMFFileSink.yaml
new file mode 100644
index 000000000..e64f0e0cc
--- /dev/null
+++ b/swagger/sdrangel/api/swagger/include/SigMFFileSink.yaml
@@ -0,0 +1,95 @@
+SigMFFileSinkSettings:
+ description: SigMFFileSink
+ properties:
+ inputFrequencyOffset:
+ type: integer
+ fileRecordName:
+ type: string
+ description: full path of the meta file
+ rgbColor:
+ type: integer
+ title:
+ type: string
+ log2Decim:
+ type: integer
+ spectrumSquelchMode:
+ type: integer
+ description: >
+ Spectrum squelch system
+ * 0 - deactivated
+ * 1 - activated
+ spectrumSquelch:
+ type: number
+ format: float
+ description: Squelch level in power dB
+ preRecordTime:
+ type: integer
+ description: Number of seconds to record before recording is triggered (manual or squelch)
+ squelchPostRecordTime:
+ type: integer
+ description: Number of seconds to record after spectrum squelch cloeses
+ squelchRecordingEnable:
+ type: integer
+ description: >
+ Automatic recording triggered by spectrum squalch
+ * 0 - disabled
+ * 1 - enabled
+ streamIndex:
+ description: MIMO channel. Not relevant when connected to SI (single Rx).
+ type: integer
+ useReverseAPI:
+ description: Synchronize with reverse API (1 for yes, 0 for no)
+ type: integer
+ reverseAPIAddress:
+ type: string
+ reverseAPIPort:
+ type: integer
+ reverseAPIDeviceIndex:
+ type: integer
+ reverseAPIChannelIndex:
+ type: integer
+
+SigMFFileSinkReport:
+ description: SigMFFileSink
+ properties:
+ spectrumSquelch:
+ type: integer
+ description: >
+ Spectrum squelch status
+ * 0 - closed
+ * 1 - open
+ spectrumMax:
+ type: number
+ format: float
+ description: Current spectrum max in squared magnitude (power)
+ sinkSampleRate:
+ type: integer
+ channelSampleRate:
+ type: integer
+ recording:
+ type: integer
+ description: >
+ Recording status
+ * 0 - not recording
+ * 1 - recording
+ recordTimeMs:
+ type: integer
+ description: Record total time in milliseconds
+ recordSize:
+ type: integer
+ format: int64
+ description: Record data size in bytes
+ recordCaptures:
+ type: integer
+ description: Number of record captures not including current if recording
+
+SigMFFileSinkActions:
+ description: SigMFFileSink
+ properties:
+ record:
+ type: integer
+ description: >
+ Record action
+ * 0 - stop recording
+ * 1 - start recording
+
diff --git a/swagger/sdrangel/code/html2/index.html b/swagger/sdrangel/code/html2/index.html
index 808b82604..e158fb376 100644
--- a/swagger/sdrangel/code/html2/index.html
+++ b/swagger/sdrangel/code/html2/index.html
@@ -2279,6 +2279,9 @@ margin-bottom: 20px;
},
"PacketModActions" : {
"$ref" : "#/definitions/PacketModActions"
+ },
+ "SigMFFileSinkActions" : {
+ "$ref" : "#/definitions/SigMFFileSinkActions"
}
},
"description" : "Base channel actions. Only the channel actions corresponding to the channel specified in the channelType field is or should be present."
@@ -2457,6 +2460,9 @@ margin-bottom: 20px;
"PacketModReport" : {
"$ref" : "#/definitions/PacketModReport"
},
+ "SigMFFileSinkReport" : {
+ "$ref" : "#/definitions/SigMFFileSinkReport"
+ },
"SSBModReport" : {
"$ref" : "#/definitions/SSBModReport"
},
@@ -2567,6 +2573,9 @@ margin-bottom: 20px;
"RemoteSourceSettings" : {
"$ref" : "#/definitions/RemoteSourceSettings"
},
+ "SigMFFileSinkSettings" : {
+ "$ref" : "#/definitions/SigMFFileSinkSettings"
+ },
"SSBModSettings" : {
"$ref" : "#/definitions/SSBModSettings"
},
@@ -7540,6 +7549,114 @@ margin-bottom: 20px;
}
},
"description" : "SigMFFileInput"
+};
+ defs.SigMFFileSinkActions = {
+ "properties" : {
+ "record" : {
+ "type" : "integer",
+ "description" : "Record action\n * 0 - stop recording\n * 1 - start recording\n"
+ }
+ },
+ "description" : "SigMFFileSink"
+};
+ defs.SigMFFileSinkReport = {
+ "properties" : {
+ "spectrumSquelch" : {
+ "type" : "integer",
+ "description" : "Spectrum squelch status * 0 - closed * 1 - open\n"
+ },
+ "spectrumMax" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Current spectrum max in squared magnitude (power)"
+ },
+ "sinkSampleRate" : {
+ "type" : "integer"
+ },
+ "channelSampleRate" : {
+ "type" : "integer"
+ },
+ "recording" : {
+ "type" : "integer",
+ "description" : "Recording status * 0 - not recording * 1 - recording\n"
+ },
+ "recordTimeMs" : {
+ "type" : "integer",
+ "description" : "Record total time in milliseconds"
+ },
+ "recordSize" : {
+ "type" : "integer",
+ "format" : "int64",
+ "description" : "Record data size in bytes"
+ },
+ "recordCaptures" : {
+ "type" : "integer",
+ "description" : "Number of record captures not including current if recording"
+ }
+ },
+ "description" : "SigMFFileSink"
+};
+ defs.SigMFFileSinkSettings = {
+ "properties" : {
+ "inputFrequencyOffset" : {
+ "type" : "integer"
+ },
+ "fileRecordName" : {
+ "type" : "string",
+ "description" : "full path of the meta file"
+ },
+ "rgbColor" : {
+ "type" : "integer"
+ },
+ "title" : {
+ "type" : "string"
+ },
+ "log2Decim" : {
+ "type" : "integer"
+ },
+ "spectrumSquelchMode" : {
+ "type" : "integer",
+ "description" : "Spectrum squelch system * 0 - deactivated * 1 - activated\n"
+ },
+ "spectrumSquelch" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Squelch level in power dB"
+ },
+ "preRecordTime" : {
+ "type" : "integer",
+ "description" : "Number of seconds to record before recording is triggered (manual or squelch)"
+ },
+ "squelchPostRecordTime" : {
+ "type" : "integer",
+ "description" : "Number of seconds to record after spectrum squelch cloeses"
+ },
+ "squelchRecordingEnable" : {
+ "type" : "integer",
+ "description" : "Automatic recording triggered by spectrum squalch * 0 - disabled * 1 - enabled\n"
+ },
+ "streamIndex" : {
+ "type" : "integer",
+ "description" : "MIMO channel. Not relevant when connected to SI (single Rx)."
+ },
+ "useReverseAPI" : {
+ "type" : "integer",
+ "description" : "Synchronize with reverse API (1 for yes, 0 for no)"
+ },
+ "reverseAPIAddress" : {
+ "type" : "string"
+ },
+ "reverseAPIPort" : {
+ "type" : "integer"
+ },
+ "reverseAPIDeviceIndex" : {
+ "type" : "integer"
+ },
+ "reverseAPIChannelIndex" : {
+ "type" : "integer"
+ }
+ },
+ "description" : "SigMFFileSink"
};
defs.SimplePTTActions = {
"properties" : {
@@ -40799,7 +40916,7 @@ except ApiException as e:
- Generated 2020-11-10T00:25:24.966+01:00
+ Generated 2020-11-10T09:45:26.359+01:00
diff --git a/swagger/sdrangel/code/qt5/client/SWGChannelActions.cpp b/swagger/sdrangel/code/qt5/client/SWGChannelActions.cpp
index bcc8b5055..fb483df9f 100644
--- a/swagger/sdrangel/code/qt5/client/SWGChannelActions.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGChannelActions.cpp
@@ -44,6 +44,8 @@ SWGChannelActions::SWGChannelActions() {
m_ieee_802_15_4_mod_actions_isSet = false;
packet_mod_actions = nullptr;
m_packet_mod_actions_isSet = false;
+ sig_mf_file_sink_actions = nullptr;
+ m_sig_mf_file_sink_actions_isSet = false;
}
SWGChannelActions::~SWGChannelActions() {
@@ -68,6 +70,8 @@ SWGChannelActions::init() {
m_ieee_802_15_4_mod_actions_isSet = false;
packet_mod_actions = new SWGPacketModActions();
m_packet_mod_actions_isSet = false;
+ sig_mf_file_sink_actions = new SWGSigMFFileSinkActions();
+ m_sig_mf_file_sink_actions_isSet = false;
}
void
@@ -90,6 +94,9 @@ SWGChannelActions::cleanup() {
if(packet_mod_actions != nullptr) {
delete packet_mod_actions;
}
+ if(sig_mf_file_sink_actions != nullptr) {
+ delete sig_mf_file_sink_actions;
+ }
}
SWGChannelActions*
@@ -119,6 +126,8 @@ SWGChannelActions::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&packet_mod_actions, pJson["PacketModActions"], "SWGPacketModActions", "SWGPacketModActions");
+ ::SWGSDRangel::setValue(&sig_mf_file_sink_actions, pJson["SigMFFileSinkActions"], "SWGSigMFFileSinkActions", "SWGSigMFFileSinkActions");
+
}
QString
@@ -159,6 +168,9 @@ SWGChannelActions::asJsonObject() {
if((packet_mod_actions != nullptr) && (packet_mod_actions->isSet())){
toJsonValue(QString("PacketModActions"), packet_mod_actions, obj, QString("SWGPacketModActions"));
}
+ if((sig_mf_file_sink_actions != nullptr) && (sig_mf_file_sink_actions->isSet())){
+ toJsonValue(QString("SigMFFileSinkActions"), sig_mf_file_sink_actions, obj, QString("SWGSigMFFileSinkActions"));
+ }
return obj;
}
@@ -243,6 +255,16 @@ SWGChannelActions::setPacketModActions(SWGPacketModActions* packet_mod_actions)
this->m_packet_mod_actions_isSet = true;
}
+SWGSigMFFileSinkActions*
+SWGChannelActions::getSigMfFileSinkActions() {
+ return sig_mf_file_sink_actions;
+}
+void
+SWGChannelActions::setSigMfFileSinkActions(SWGSigMFFileSinkActions* sig_mf_file_sink_actions) {
+ this->sig_mf_file_sink_actions = sig_mf_file_sink_actions;
+ this->m_sig_mf_file_sink_actions_isSet = true;
+}
+
bool
SWGChannelActions::isSet(){
@@ -272,6 +294,9 @@ SWGChannelActions::isSet(){
if(packet_mod_actions && packet_mod_actions->isSet()){
isObjectUpdated = true; break;
}
+ if(sig_mf_file_sink_actions && sig_mf_file_sink_actions->isSet()){
+ isObjectUpdated = true; break;
+ }
}while(false);
return isObjectUpdated;
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGChannelActions.h b/swagger/sdrangel/code/qt5/client/SWGChannelActions.h
index 888b6ac58..15e8ca5b3 100644
--- a/swagger/sdrangel/code/qt5/client/SWGChannelActions.h
+++ b/swagger/sdrangel/code/qt5/client/SWGChannelActions.h
@@ -26,6 +26,7 @@
#include "SWGFileSourceActions.h"
#include "SWGIEEE_802_15_4_ModActions.h"
#include "SWGPacketModActions.h"
+#include "SWGSigMFFileSinkActions.h"
#include
#include "SWGObject.h"
@@ -70,6 +71,9 @@ public:
SWGPacketModActions* getPacketModActions();
void setPacketModActions(SWGPacketModActions* packet_mod_actions);
+ SWGSigMFFileSinkActions* getSigMfFileSinkActions();
+ void setSigMfFileSinkActions(SWGSigMFFileSinkActions* sig_mf_file_sink_actions);
+
virtual bool isSet() override;
@@ -98,6 +102,9 @@ private:
SWGPacketModActions* packet_mod_actions;
bool m_packet_mod_actions_isSet;
+ SWGSigMFFileSinkActions* sig_mf_file_sink_actions;
+ bool m_sig_mf_file_sink_actions_isSet;
+
};
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGChannelReport.cpp b/swagger/sdrangel/code/qt5/client/SWGChannelReport.cpp
index 8234a14b7..3522ee80d 100644
--- a/swagger/sdrangel/code/qt5/client/SWGChannelReport.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGChannelReport.cpp
@@ -70,6 +70,8 @@ SWGChannelReport::SWGChannelReport() {
m_remote_source_report_isSet = false;
packet_mod_report = nullptr;
m_packet_mod_report_isSet = false;
+ sig_mf_file_sink_report = nullptr;
+ m_sig_mf_file_sink_report_isSet = false;
ssb_mod_report = nullptr;
m_ssb_mod_report_isSet = false;
udp_source_report = nullptr;
@@ -130,6 +132,8 @@ SWGChannelReport::init() {
m_remote_source_report_isSet = false;
packet_mod_report = new SWGPacketModReport();
m_packet_mod_report_isSet = false;
+ sig_mf_file_sink_report = new SWGSigMFFileSinkReport();
+ m_sig_mf_file_sink_report_isSet = false;
ssb_mod_report = new SWGSSBModReport();
m_ssb_mod_report_isSet = false;
udp_source_report = new SWGUDPSourceReport();
@@ -205,6 +209,9 @@ SWGChannelReport::cleanup() {
if(packet_mod_report != nullptr) {
delete packet_mod_report;
}
+ if(sig_mf_file_sink_report != nullptr) {
+ delete sig_mf_file_sink_report;
+ }
if(ssb_mod_report != nullptr) {
delete ssb_mod_report;
}
@@ -275,6 +282,8 @@ SWGChannelReport::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&packet_mod_report, pJson["PacketModReport"], "SWGPacketModReport", "SWGPacketModReport");
+ ::SWGSDRangel::setValue(&sig_mf_file_sink_report, pJson["SigMFFileSinkReport"], "SWGSigMFFileSinkReport", "SWGSigMFFileSinkReport");
+
::SWGSDRangel::setValue(&ssb_mod_report, pJson["SSBModReport"], "SWGSSBModReport", "SWGSSBModReport");
::SWGSDRangel::setValue(&udp_source_report, pJson["UDPSourceReport"], "SWGUDPSourceReport", "SWGUDPSourceReport");
@@ -364,6 +373,9 @@ SWGChannelReport::asJsonObject() {
if((packet_mod_report != nullptr) && (packet_mod_report->isSet())){
toJsonValue(QString("PacketModReport"), packet_mod_report, obj, QString("SWGPacketModReport"));
}
+ if((sig_mf_file_sink_report != nullptr) && (sig_mf_file_sink_report->isSet())){
+ toJsonValue(QString("SigMFFileSinkReport"), sig_mf_file_sink_report, obj, QString("SWGSigMFFileSinkReport"));
+ }
if((ssb_mod_report != nullptr) && (ssb_mod_report->isSet())){
toJsonValue(QString("SSBModReport"), ssb_mod_report, obj, QString("SWGSSBModReport"));
}
@@ -593,6 +605,16 @@ SWGChannelReport::setPacketModReport(SWGPacketModReport* packet_mod_report) {
this->m_packet_mod_report_isSet = true;
}
+SWGSigMFFileSinkReport*
+SWGChannelReport::getSigMfFileSinkReport() {
+ return sig_mf_file_sink_report;
+}
+void
+SWGChannelReport::setSigMfFileSinkReport(SWGSigMFFileSinkReport* sig_mf_file_sink_report) {
+ this->sig_mf_file_sink_report = sig_mf_file_sink_report;
+ this->m_sig_mf_file_sink_report_isSet = true;
+}
+
SWGSSBModReport*
SWGChannelReport::getSsbModReport() {
return ssb_mod_report;
@@ -711,6 +733,9 @@ SWGChannelReport::isSet(){
if(packet_mod_report && packet_mod_report->isSet()){
isObjectUpdated = true; break;
}
+ if(sig_mf_file_sink_report && sig_mf_file_sink_report->isSet()){
+ isObjectUpdated = true; break;
+ }
if(ssb_mod_report && ssb_mod_report->isSet()){
isObjectUpdated = true; break;
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGChannelReport.h b/swagger/sdrangel/code/qt5/client/SWGChannelReport.h
index 92a61963c..d5304cf08 100644
--- a/swagger/sdrangel/code/qt5/client/SWGChannelReport.h
+++ b/swagger/sdrangel/code/qt5/client/SWGChannelReport.h
@@ -42,6 +42,7 @@
#include "SWGRemoteSourceReport.h"
#include "SWGSSBDemodReport.h"
#include "SWGSSBModReport.h"
+#include "SWGSigMFFileSinkReport.h"
#include "SWGUDPSinkReport.h"
#include "SWGUDPSourceReport.h"
#include "SWGWFMDemodReport.h"
@@ -129,6 +130,9 @@ public:
SWGPacketModReport* getPacketModReport();
void setPacketModReport(SWGPacketModReport* packet_mod_report);
+ SWGSigMFFileSinkReport* getSigMfFileSinkReport();
+ void setSigMfFileSinkReport(SWGSigMFFileSinkReport* sig_mf_file_sink_report);
+
SWGSSBModReport* getSsbModReport();
void setSsbModReport(SWGSSBModReport* ssb_mod_report);
@@ -211,6 +215,9 @@ private:
SWGPacketModReport* packet_mod_report;
bool m_packet_mod_report_isSet;
+ SWGSigMFFileSinkReport* sig_mf_file_sink_report;
+ bool m_sig_mf_file_sink_report_isSet;
+
SWGSSBModReport* ssb_mod_report;
bool m_ssb_mod_report_isSet;
diff --git a/swagger/sdrangel/code/qt5/client/SWGChannelSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGChannelSettings.cpp
index cdcbf2755..9f25f3be0 100644
--- a/swagger/sdrangel/code/qt5/client/SWGChannelSettings.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGChannelSettings.cpp
@@ -84,6 +84,8 @@ SWGChannelSettings::SWGChannelSettings() {
m_remote_sink_settings_isSet = false;
remote_source_settings = nullptr;
m_remote_source_settings_isSet = false;
+ sig_mf_file_sink_settings = nullptr;
+ m_sig_mf_file_sink_settings_isSet = false;
ssb_mod_settings = nullptr;
m_ssb_mod_settings_isSet = false;
ssb_demod_settings = nullptr;
@@ -160,6 +162,8 @@ SWGChannelSettings::init() {
m_remote_sink_settings_isSet = false;
remote_source_settings = new SWGRemoteSourceSettings();
m_remote_source_settings_isSet = false;
+ sig_mf_file_sink_settings = new SWGSigMFFileSinkSettings();
+ m_sig_mf_file_sink_settings_isSet = false;
ssb_mod_settings = new SWGSSBModSettings();
m_ssb_mod_settings_isSet = false;
ssb_demod_settings = new SWGSSBDemodSettings();
@@ -254,6 +258,9 @@ SWGChannelSettings::cleanup() {
if(remote_source_settings != nullptr) {
delete remote_source_settings;
}
+ if(sig_mf_file_sink_settings != nullptr) {
+ delete sig_mf_file_sink_settings;
+ }
if(ssb_mod_settings != nullptr) {
delete ssb_mod_settings;
}
@@ -341,6 +348,8 @@ SWGChannelSettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&remote_source_settings, pJson["RemoteSourceSettings"], "SWGRemoteSourceSettings", "SWGRemoteSourceSettings");
+ ::SWGSDRangel::setValue(&sig_mf_file_sink_settings, pJson["SigMFFileSinkSettings"], "SWGSigMFFileSinkSettings", "SWGSigMFFileSinkSettings");
+
::SWGSDRangel::setValue(&ssb_mod_settings, pJson["SSBModSettings"], "SWGSSBModSettings", "SWGSSBModSettings");
::SWGSDRangel::setValue(&ssb_demod_settings, pJson["SSBDemodSettings"], "SWGSSBDemodSettings", "SWGSSBDemodSettings");
@@ -453,6 +462,9 @@ SWGChannelSettings::asJsonObject() {
if((remote_source_settings != nullptr) && (remote_source_settings->isSet())){
toJsonValue(QString("RemoteSourceSettings"), remote_source_settings, obj, QString("SWGRemoteSourceSettings"));
}
+ if((sig_mf_file_sink_settings != nullptr) && (sig_mf_file_sink_settings->isSet())){
+ toJsonValue(QString("SigMFFileSinkSettings"), sig_mf_file_sink_settings, obj, QString("SWGSigMFFileSinkSettings"));
+ }
if((ssb_mod_settings != nullptr) && (ssb_mod_settings->isSet())){
toJsonValue(QString("SSBModSettings"), ssb_mod_settings, obj, QString("SWGSSBModSettings"));
}
@@ -755,6 +767,16 @@ SWGChannelSettings::setRemoteSourceSettings(SWGRemoteSourceSettings* remote_sour
this->m_remote_source_settings_isSet = true;
}
+SWGSigMFFileSinkSettings*
+SWGChannelSettings::getSigMfFileSinkSettings() {
+ return sig_mf_file_sink_settings;
+}
+void
+SWGChannelSettings::setSigMfFileSinkSettings(SWGSigMFFileSinkSettings* sig_mf_file_sink_settings) {
+ this->sig_mf_file_sink_settings = sig_mf_file_sink_settings;
+ this->m_sig_mf_file_sink_settings_isSet = true;
+}
+
SWGSSBModSettings*
SWGChannelSettings::getSsbModSettings() {
return ssb_mod_settings;
@@ -904,6 +926,9 @@ SWGChannelSettings::isSet(){
if(remote_source_settings && remote_source_settings->isSet()){
isObjectUpdated = true; break;
}
+ if(sig_mf_file_sink_settings && sig_mf_file_sink_settings->isSet()){
+ isObjectUpdated = true; break;
+ }
if(ssb_mod_settings && ssb_mod_settings->isSet()){
isObjectUpdated = true; break;
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGChannelSettings.h b/swagger/sdrangel/code/qt5/client/SWGChannelSettings.h
index 3d032c00b..6e068b608 100644
--- a/swagger/sdrangel/code/qt5/client/SWGChannelSettings.h
+++ b/swagger/sdrangel/code/qt5/client/SWGChannelSettings.h
@@ -48,6 +48,7 @@
#include "SWGRemoteSourceSettings.h"
#include "SWGSSBDemodSettings.h"
#include "SWGSSBModSettings.h"
+#include "SWGSigMFFileSinkSettings.h"
#include "SWGUDPSinkSettings.h"
#include "SWGUDPSourceSettings.h"
#include "SWGWFMDemodSettings.h"
@@ -156,6 +157,9 @@ public:
SWGRemoteSourceSettings* getRemoteSourceSettings();
void setRemoteSourceSettings(SWGRemoteSourceSettings* remote_source_settings);
+ SWGSigMFFileSinkSettings* getSigMfFileSinkSettings();
+ void setSigMfFileSinkSettings(SWGSigMFFileSinkSettings* sig_mf_file_sink_settings);
+
SWGSSBModSettings* getSsbModSettings();
void setSsbModSettings(SWGSSBModSettings* ssb_mod_settings);
@@ -262,6 +266,9 @@ private:
SWGRemoteSourceSettings* remote_source_settings;
bool m_remote_source_settings_isSet;
+ SWGSigMFFileSinkSettings* sig_mf_file_sink_settings;
+ bool m_sig_mf_file_sink_settings_isSet;
+
SWGSSBModSettings* ssb_mod_settings;
bool m_ssb_mod_settings_isSet;
diff --git a/swagger/sdrangel/code/qt5/client/SWGModelFactory.h b/swagger/sdrangel/code/qt5/client/SWGModelFactory.h
index 4473b8c55..55c031b62 100644
--- a/swagger/sdrangel/code/qt5/client/SWGModelFactory.h
+++ b/swagger/sdrangel/code/qt5/client/SWGModelFactory.h
@@ -186,6 +186,9 @@
#include "SWGSigMFFileInputActions.h"
#include "SWGSigMFFileInputReport.h"
#include "SWGSigMFFileInputSettings.h"
+#include "SWGSigMFFileSinkActions.h"
+#include "SWGSigMFFileSinkReport.h"
+#include "SWGSigMFFileSinkSettings.h"
#include "SWGSimplePTTActions.h"
#include "SWGSimplePTTReport.h"
#include "SWGSimplePTTSettings.h"
@@ -734,6 +737,15 @@ namespace SWGSDRangel {
if(QString("SWGSigMFFileInputSettings").compare(type) == 0) {
return new SWGSigMFFileInputSettings();
}
+ if(QString("SWGSigMFFileSinkActions").compare(type) == 0) {
+ return new SWGSigMFFileSinkActions();
+ }
+ if(QString("SWGSigMFFileSinkReport").compare(type) == 0) {
+ return new SWGSigMFFileSinkReport();
+ }
+ if(QString("SWGSigMFFileSinkSettings").compare(type) == 0) {
+ return new SWGSigMFFileSinkSettings();
+ }
if(QString("SWGSimplePTTActions").compare(type) == 0) {
return new SWGSimplePTTActions();
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkActions.cpp b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkActions.cpp
new file mode 100644
index 000000000..beb5fbc9b
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkActions.cpp
@@ -0,0 +1,108 @@
+/**
+ * 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, USRP 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.15.0
+ * Contact: f4exb06@gmail.com
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+
+#include "SWGSigMFFileSinkActions.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGSigMFFileSinkActions::SWGSigMFFileSinkActions(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGSigMFFileSinkActions::SWGSigMFFileSinkActions() {
+ record = 0;
+ m_record_isSet = false;
+}
+
+SWGSigMFFileSinkActions::~SWGSigMFFileSinkActions() {
+ this->cleanup();
+}
+
+void
+SWGSigMFFileSinkActions::init() {
+ record = 0;
+ m_record_isSet = false;
+}
+
+void
+SWGSigMFFileSinkActions::cleanup() {
+
+}
+
+SWGSigMFFileSinkActions*
+SWGSigMFFileSinkActions::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGSigMFFileSinkActions::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&record, pJson["record"], "qint32", "");
+
+}
+
+QString
+SWGSigMFFileSinkActions::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGSigMFFileSinkActions::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(m_record_isSet){
+ obj->insert("record", QJsonValue(record));
+ }
+
+ return obj;
+}
+
+qint32
+SWGSigMFFileSinkActions::getRecord() {
+ return record;
+}
+void
+SWGSigMFFileSinkActions::setRecord(qint32 record) {
+ this->record = record;
+ this->m_record_isSet = true;
+}
+
+
+bool
+SWGSigMFFileSinkActions::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(m_record_isSet){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkActions.h b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkActions.h
new file mode 100644
index 000000000..a054916d9
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkActions.h
@@ -0,0 +1,58 @@
+/**
+ * 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, USRP 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.15.0
+ * Contact: f4exb06@gmail.com
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+/*
+ * SWGSigMFFileSinkActions.h
+ *
+ * SigMFFileSink
+ */
+
+#ifndef SWGSigMFFileSinkActions_H_
+#define SWGSigMFFileSinkActions_H_
+
+#include
+
+
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGSigMFFileSinkActions: public SWGObject {
+public:
+ SWGSigMFFileSinkActions();
+ SWGSigMFFileSinkActions(QString* json);
+ virtual ~SWGSigMFFileSinkActions();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGSigMFFileSinkActions* fromJson(QString &jsonString) override;
+
+ qint32 getRecord();
+ void setRecord(qint32 record);
+
+
+ virtual bool isSet() override;
+
+private:
+ qint32 record;
+ bool m_record_isSet;
+
+};
+
+}
+
+#endif /* SWGSigMFFileSinkActions_H_ */
diff --git a/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkReport.cpp b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkReport.cpp
new file mode 100644
index 000000000..b458a3a04
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkReport.cpp
@@ -0,0 +1,269 @@
+/**
+ * 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, USRP 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.15.0
+ * Contact: f4exb06@gmail.com
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+
+#include "SWGSigMFFileSinkReport.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGSigMFFileSinkReport::SWGSigMFFileSinkReport(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGSigMFFileSinkReport::SWGSigMFFileSinkReport() {
+ spectrum_squelch = 0;
+ m_spectrum_squelch_isSet = false;
+ spectrum_max = 0.0f;
+ m_spectrum_max_isSet = false;
+ sink_sample_rate = 0;
+ m_sink_sample_rate_isSet = false;
+ channel_sample_rate = 0;
+ m_channel_sample_rate_isSet = false;
+ recording = 0;
+ m_recording_isSet = false;
+ record_time_ms = 0;
+ m_record_time_ms_isSet = false;
+ record_size = 0L;
+ m_record_size_isSet = false;
+ record_captures = 0;
+ m_record_captures_isSet = false;
+}
+
+SWGSigMFFileSinkReport::~SWGSigMFFileSinkReport() {
+ this->cleanup();
+}
+
+void
+SWGSigMFFileSinkReport::init() {
+ spectrum_squelch = 0;
+ m_spectrum_squelch_isSet = false;
+ spectrum_max = 0.0f;
+ m_spectrum_max_isSet = false;
+ sink_sample_rate = 0;
+ m_sink_sample_rate_isSet = false;
+ channel_sample_rate = 0;
+ m_channel_sample_rate_isSet = false;
+ recording = 0;
+ m_recording_isSet = false;
+ record_time_ms = 0;
+ m_record_time_ms_isSet = false;
+ record_size = 0L;
+ m_record_size_isSet = false;
+ record_captures = 0;
+ m_record_captures_isSet = false;
+}
+
+void
+SWGSigMFFileSinkReport::cleanup() {
+
+
+
+
+
+
+
+
+}
+
+SWGSigMFFileSinkReport*
+SWGSigMFFileSinkReport::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGSigMFFileSinkReport::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&spectrum_squelch, pJson["spectrumSquelch"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&spectrum_max, pJson["spectrumMax"], "float", "");
+
+ ::SWGSDRangel::setValue(&sink_sample_rate, pJson["sinkSampleRate"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&channel_sample_rate, pJson["channelSampleRate"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&recording, pJson["recording"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&record_time_ms, pJson["recordTimeMs"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&record_size, pJson["recordSize"], "qint64", "");
+
+ ::SWGSDRangel::setValue(&record_captures, pJson["recordCaptures"], "qint32", "");
+
+}
+
+QString
+SWGSigMFFileSinkReport::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGSigMFFileSinkReport::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(m_spectrum_squelch_isSet){
+ obj->insert("spectrumSquelch", QJsonValue(spectrum_squelch));
+ }
+ if(m_spectrum_max_isSet){
+ obj->insert("spectrumMax", QJsonValue(spectrum_max));
+ }
+ if(m_sink_sample_rate_isSet){
+ obj->insert("sinkSampleRate", QJsonValue(sink_sample_rate));
+ }
+ if(m_channel_sample_rate_isSet){
+ obj->insert("channelSampleRate", QJsonValue(channel_sample_rate));
+ }
+ if(m_recording_isSet){
+ obj->insert("recording", QJsonValue(recording));
+ }
+ if(m_record_time_ms_isSet){
+ obj->insert("recordTimeMs", QJsonValue(record_time_ms));
+ }
+ if(m_record_size_isSet){
+ obj->insert("recordSize", QJsonValue(record_size));
+ }
+ if(m_record_captures_isSet){
+ obj->insert("recordCaptures", QJsonValue(record_captures));
+ }
+
+ return obj;
+}
+
+qint32
+SWGSigMFFileSinkReport::getSpectrumSquelch() {
+ return spectrum_squelch;
+}
+void
+SWGSigMFFileSinkReport::setSpectrumSquelch(qint32 spectrum_squelch) {
+ this->spectrum_squelch = spectrum_squelch;
+ this->m_spectrum_squelch_isSet = true;
+}
+
+float
+SWGSigMFFileSinkReport::getSpectrumMax() {
+ return spectrum_max;
+}
+void
+SWGSigMFFileSinkReport::setSpectrumMax(float spectrum_max) {
+ this->spectrum_max = spectrum_max;
+ this->m_spectrum_max_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkReport::getSinkSampleRate() {
+ return sink_sample_rate;
+}
+void
+SWGSigMFFileSinkReport::setSinkSampleRate(qint32 sink_sample_rate) {
+ this->sink_sample_rate = sink_sample_rate;
+ this->m_sink_sample_rate_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkReport::getChannelSampleRate() {
+ return channel_sample_rate;
+}
+void
+SWGSigMFFileSinkReport::setChannelSampleRate(qint32 channel_sample_rate) {
+ this->channel_sample_rate = channel_sample_rate;
+ this->m_channel_sample_rate_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkReport::getRecording() {
+ return recording;
+}
+void
+SWGSigMFFileSinkReport::setRecording(qint32 recording) {
+ this->recording = recording;
+ this->m_recording_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkReport::getRecordTimeMs() {
+ return record_time_ms;
+}
+void
+SWGSigMFFileSinkReport::setRecordTimeMs(qint32 record_time_ms) {
+ this->record_time_ms = record_time_ms;
+ this->m_record_time_ms_isSet = true;
+}
+
+qint64
+SWGSigMFFileSinkReport::getRecordSize() {
+ return record_size;
+}
+void
+SWGSigMFFileSinkReport::setRecordSize(qint64 record_size) {
+ this->record_size = record_size;
+ this->m_record_size_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkReport::getRecordCaptures() {
+ return record_captures;
+}
+void
+SWGSigMFFileSinkReport::setRecordCaptures(qint32 record_captures) {
+ this->record_captures = record_captures;
+ this->m_record_captures_isSet = true;
+}
+
+
+bool
+SWGSigMFFileSinkReport::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(m_spectrum_squelch_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_spectrum_max_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_sink_sample_rate_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_channel_sample_rate_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_recording_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_record_time_ms_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_record_size_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_record_captures_isSet){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkReport.h b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkReport.h
new file mode 100644
index 000000000..0dc683234
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkReport.h
@@ -0,0 +1,100 @@
+/**
+ * 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, USRP 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.15.0
+ * Contact: f4exb06@gmail.com
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+/*
+ * SWGSigMFFileSinkReport.h
+ *
+ * SigMFFileSink
+ */
+
+#ifndef SWGSigMFFileSinkReport_H_
+#define SWGSigMFFileSinkReport_H_
+
+#include
+
+
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGSigMFFileSinkReport: public SWGObject {
+public:
+ SWGSigMFFileSinkReport();
+ SWGSigMFFileSinkReport(QString* json);
+ virtual ~SWGSigMFFileSinkReport();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGSigMFFileSinkReport* fromJson(QString &jsonString) override;
+
+ qint32 getSpectrumSquelch();
+ void setSpectrumSquelch(qint32 spectrum_squelch);
+
+ float getSpectrumMax();
+ void setSpectrumMax(float spectrum_max);
+
+ qint32 getSinkSampleRate();
+ void setSinkSampleRate(qint32 sink_sample_rate);
+
+ qint32 getChannelSampleRate();
+ void setChannelSampleRate(qint32 channel_sample_rate);
+
+ qint32 getRecording();
+ void setRecording(qint32 recording);
+
+ qint32 getRecordTimeMs();
+ void setRecordTimeMs(qint32 record_time_ms);
+
+ qint64 getRecordSize();
+ void setRecordSize(qint64 record_size);
+
+ qint32 getRecordCaptures();
+ void setRecordCaptures(qint32 record_captures);
+
+
+ virtual bool isSet() override;
+
+private:
+ qint32 spectrum_squelch;
+ bool m_spectrum_squelch_isSet;
+
+ float spectrum_max;
+ bool m_spectrum_max_isSet;
+
+ qint32 sink_sample_rate;
+ bool m_sink_sample_rate_isSet;
+
+ qint32 channel_sample_rate;
+ bool m_channel_sample_rate_isSet;
+
+ qint32 recording;
+ bool m_recording_isSet;
+
+ qint32 record_time_ms;
+ bool m_record_time_ms_isSet;
+
+ qint64 record_size;
+ bool m_record_size_isSet;
+
+ qint32 record_captures;
+ bool m_record_captures_isSet;
+
+};
+
+}
+
+#endif /* SWGSigMFFileSinkReport_H_ */
diff --git a/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.cpp
new file mode 100644
index 000000000..db7dc014d
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.cpp
@@ -0,0 +1,459 @@
+/**
+ * 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, USRP 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.15.0
+ * Contact: f4exb06@gmail.com
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+
+#include "SWGSigMFFileSinkSettings.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGSigMFFileSinkSettings::SWGSigMFFileSinkSettings(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGSigMFFileSinkSettings::SWGSigMFFileSinkSettings() {
+ input_frequency_offset = 0;
+ m_input_frequency_offset_isSet = false;
+ file_record_name = nullptr;
+ m_file_record_name_isSet = false;
+ rgb_color = 0;
+ m_rgb_color_isSet = false;
+ title = nullptr;
+ m_title_isSet = false;
+ log2_decim = 0;
+ m_log2_decim_isSet = false;
+ spectrum_squelch_mode = 0;
+ m_spectrum_squelch_mode_isSet = false;
+ spectrum_squelch = 0.0f;
+ m_spectrum_squelch_isSet = false;
+ pre_record_time = 0;
+ m_pre_record_time_isSet = false;
+ squelch_post_record_time = 0;
+ m_squelch_post_record_time_isSet = false;
+ squelch_recording_enable = 0;
+ m_squelch_recording_enable_isSet = false;
+ stream_index = 0;
+ m_stream_index_isSet = false;
+ use_reverse_api = 0;
+ m_use_reverse_api_isSet = false;
+ reverse_api_address = nullptr;
+ m_reverse_api_address_isSet = false;
+ reverse_api_port = 0;
+ m_reverse_api_port_isSet = false;
+ reverse_api_device_index = 0;
+ m_reverse_api_device_index_isSet = false;
+ reverse_api_channel_index = 0;
+ m_reverse_api_channel_index_isSet = false;
+}
+
+SWGSigMFFileSinkSettings::~SWGSigMFFileSinkSettings() {
+ this->cleanup();
+}
+
+void
+SWGSigMFFileSinkSettings::init() {
+ input_frequency_offset = 0;
+ m_input_frequency_offset_isSet = false;
+ file_record_name = new QString("");
+ m_file_record_name_isSet = false;
+ rgb_color = 0;
+ m_rgb_color_isSet = false;
+ title = new QString("");
+ m_title_isSet = false;
+ log2_decim = 0;
+ m_log2_decim_isSet = false;
+ spectrum_squelch_mode = 0;
+ m_spectrum_squelch_mode_isSet = false;
+ spectrum_squelch = 0.0f;
+ m_spectrum_squelch_isSet = false;
+ pre_record_time = 0;
+ m_pre_record_time_isSet = false;
+ squelch_post_record_time = 0;
+ m_squelch_post_record_time_isSet = false;
+ squelch_recording_enable = 0;
+ m_squelch_recording_enable_isSet = false;
+ stream_index = 0;
+ m_stream_index_isSet = false;
+ use_reverse_api = 0;
+ m_use_reverse_api_isSet = false;
+ reverse_api_address = new QString("");
+ m_reverse_api_address_isSet = false;
+ reverse_api_port = 0;
+ m_reverse_api_port_isSet = false;
+ reverse_api_device_index = 0;
+ m_reverse_api_device_index_isSet = false;
+ reverse_api_channel_index = 0;
+ m_reverse_api_channel_index_isSet = false;
+}
+
+void
+SWGSigMFFileSinkSettings::cleanup() {
+
+ if(file_record_name != nullptr) {
+ delete file_record_name;
+ }
+
+ if(title != nullptr) {
+ delete title;
+ }
+
+
+
+
+
+
+
+
+ if(reverse_api_address != nullptr) {
+ delete reverse_api_address;
+ }
+
+
+
+}
+
+SWGSigMFFileSinkSettings*
+SWGSigMFFileSinkSettings::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGSigMFFileSinkSettings::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&input_frequency_offset, pJson["inputFrequencyOffset"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&file_record_name, pJson["fileRecordName"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&rgb_color, pJson["rgbColor"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&title, pJson["title"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&log2_decim, pJson["log2Decim"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&spectrum_squelch_mode, pJson["spectrumSquelchMode"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&spectrum_squelch, pJson["spectrumSquelch"], "float", "");
+
+ ::SWGSDRangel::setValue(&pre_record_time, pJson["preRecordTime"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&squelch_post_record_time, pJson["squelchPostRecordTime"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&squelch_recording_enable, pJson["squelchRecordingEnable"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&stream_index, pJson["streamIndex"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&reverse_api_port, pJson["reverseAPIPort"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&reverse_api_device_index, pJson["reverseAPIDeviceIndex"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&reverse_api_channel_index, pJson["reverseAPIChannelIndex"], "qint32", "");
+
+}
+
+QString
+SWGSigMFFileSinkSettings::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGSigMFFileSinkSettings::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(m_input_frequency_offset_isSet){
+ obj->insert("inputFrequencyOffset", QJsonValue(input_frequency_offset));
+ }
+ if(file_record_name != nullptr && *file_record_name != QString("")){
+ toJsonValue(QString("fileRecordName"), file_record_name, obj, QString("QString"));
+ }
+ if(m_rgb_color_isSet){
+ obj->insert("rgbColor", QJsonValue(rgb_color));
+ }
+ if(title != nullptr && *title != QString("")){
+ toJsonValue(QString("title"), title, obj, QString("QString"));
+ }
+ if(m_log2_decim_isSet){
+ obj->insert("log2Decim", QJsonValue(log2_decim));
+ }
+ if(m_spectrum_squelch_mode_isSet){
+ obj->insert("spectrumSquelchMode", QJsonValue(spectrum_squelch_mode));
+ }
+ if(m_spectrum_squelch_isSet){
+ obj->insert("spectrumSquelch", QJsonValue(spectrum_squelch));
+ }
+ if(m_pre_record_time_isSet){
+ obj->insert("preRecordTime", QJsonValue(pre_record_time));
+ }
+ if(m_squelch_post_record_time_isSet){
+ obj->insert("squelchPostRecordTime", QJsonValue(squelch_post_record_time));
+ }
+ if(m_squelch_recording_enable_isSet){
+ obj->insert("squelchRecordingEnable", QJsonValue(squelch_recording_enable));
+ }
+ if(m_stream_index_isSet){
+ obj->insert("streamIndex", QJsonValue(stream_index));
+ }
+ if(m_use_reverse_api_isSet){
+ obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
+ }
+ if(reverse_api_address != nullptr && *reverse_api_address != QString("")){
+ toJsonValue(QString("reverseAPIAddress"), reverse_api_address, obj, QString("QString"));
+ }
+ if(m_reverse_api_port_isSet){
+ obj->insert("reverseAPIPort", QJsonValue(reverse_api_port));
+ }
+ if(m_reverse_api_device_index_isSet){
+ obj->insert("reverseAPIDeviceIndex", QJsonValue(reverse_api_device_index));
+ }
+ if(m_reverse_api_channel_index_isSet){
+ obj->insert("reverseAPIChannelIndex", QJsonValue(reverse_api_channel_index));
+ }
+
+ return obj;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getInputFrequencyOffset() {
+ return input_frequency_offset;
+}
+void
+SWGSigMFFileSinkSettings::setInputFrequencyOffset(qint32 input_frequency_offset) {
+ this->input_frequency_offset = input_frequency_offset;
+ this->m_input_frequency_offset_isSet = true;
+}
+
+QString*
+SWGSigMFFileSinkSettings::getFileRecordName() {
+ return file_record_name;
+}
+void
+SWGSigMFFileSinkSettings::setFileRecordName(QString* file_record_name) {
+ this->file_record_name = file_record_name;
+ this->m_file_record_name_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getRgbColor() {
+ return rgb_color;
+}
+void
+SWGSigMFFileSinkSettings::setRgbColor(qint32 rgb_color) {
+ this->rgb_color = rgb_color;
+ this->m_rgb_color_isSet = true;
+}
+
+QString*
+SWGSigMFFileSinkSettings::getTitle() {
+ return title;
+}
+void
+SWGSigMFFileSinkSettings::setTitle(QString* title) {
+ this->title = title;
+ this->m_title_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getLog2Decim() {
+ return log2_decim;
+}
+void
+SWGSigMFFileSinkSettings::setLog2Decim(qint32 log2_decim) {
+ this->log2_decim = log2_decim;
+ this->m_log2_decim_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getSpectrumSquelchMode() {
+ return spectrum_squelch_mode;
+}
+void
+SWGSigMFFileSinkSettings::setSpectrumSquelchMode(qint32 spectrum_squelch_mode) {
+ this->spectrum_squelch_mode = spectrum_squelch_mode;
+ this->m_spectrum_squelch_mode_isSet = true;
+}
+
+float
+SWGSigMFFileSinkSettings::getSpectrumSquelch() {
+ return spectrum_squelch;
+}
+void
+SWGSigMFFileSinkSettings::setSpectrumSquelch(float spectrum_squelch) {
+ this->spectrum_squelch = spectrum_squelch;
+ this->m_spectrum_squelch_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getPreRecordTime() {
+ return pre_record_time;
+}
+void
+SWGSigMFFileSinkSettings::setPreRecordTime(qint32 pre_record_time) {
+ this->pre_record_time = pre_record_time;
+ this->m_pre_record_time_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getSquelchPostRecordTime() {
+ return squelch_post_record_time;
+}
+void
+SWGSigMFFileSinkSettings::setSquelchPostRecordTime(qint32 squelch_post_record_time) {
+ this->squelch_post_record_time = squelch_post_record_time;
+ this->m_squelch_post_record_time_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getSquelchRecordingEnable() {
+ return squelch_recording_enable;
+}
+void
+SWGSigMFFileSinkSettings::setSquelchRecordingEnable(qint32 squelch_recording_enable) {
+ this->squelch_recording_enable = squelch_recording_enable;
+ this->m_squelch_recording_enable_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getStreamIndex() {
+ return stream_index;
+}
+void
+SWGSigMFFileSinkSettings::setStreamIndex(qint32 stream_index) {
+ this->stream_index = stream_index;
+ this->m_stream_index_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getUseReverseApi() {
+ return use_reverse_api;
+}
+void
+SWGSigMFFileSinkSettings::setUseReverseApi(qint32 use_reverse_api) {
+ this->use_reverse_api = use_reverse_api;
+ this->m_use_reverse_api_isSet = true;
+}
+
+QString*
+SWGSigMFFileSinkSettings::getReverseApiAddress() {
+ return reverse_api_address;
+}
+void
+SWGSigMFFileSinkSettings::setReverseApiAddress(QString* reverse_api_address) {
+ this->reverse_api_address = reverse_api_address;
+ this->m_reverse_api_address_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getReverseApiPort() {
+ return reverse_api_port;
+}
+void
+SWGSigMFFileSinkSettings::setReverseApiPort(qint32 reverse_api_port) {
+ this->reverse_api_port = reverse_api_port;
+ this->m_reverse_api_port_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getReverseApiDeviceIndex() {
+ return reverse_api_device_index;
+}
+void
+SWGSigMFFileSinkSettings::setReverseApiDeviceIndex(qint32 reverse_api_device_index) {
+ this->reverse_api_device_index = reverse_api_device_index;
+ this->m_reverse_api_device_index_isSet = true;
+}
+
+qint32
+SWGSigMFFileSinkSettings::getReverseApiChannelIndex() {
+ return reverse_api_channel_index;
+}
+void
+SWGSigMFFileSinkSettings::setReverseApiChannelIndex(qint32 reverse_api_channel_index) {
+ this->reverse_api_channel_index = reverse_api_channel_index;
+ this->m_reverse_api_channel_index_isSet = true;
+}
+
+
+bool
+SWGSigMFFileSinkSettings::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(m_input_frequency_offset_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(file_record_name && *file_record_name != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_rgb_color_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(title && *title != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_log2_decim_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_spectrum_squelch_mode_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_spectrum_squelch_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_pre_record_time_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_squelch_post_record_time_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_squelch_recording_enable_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_stream_index_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_use_reverse_api_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(reverse_api_address && *reverse_api_address != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_reverse_api_port_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_reverse_api_device_index_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_reverse_api_channel_index_isSet){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.h b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.h
new file mode 100644
index 000000000..d687549e6
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.h
@@ -0,0 +1,149 @@
+/**
+ * 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, USRP 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.15.0
+ * Contact: f4exb06@gmail.com
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+/*
+ * SWGSigMFFileSinkSettings.h
+ *
+ * SigMFFileSink
+ */
+
+#ifndef SWGSigMFFileSinkSettings_H_
+#define SWGSigMFFileSinkSettings_H_
+
+#include
+
+
+#include
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGSigMFFileSinkSettings: public SWGObject {
+public:
+ SWGSigMFFileSinkSettings();
+ SWGSigMFFileSinkSettings(QString* json);
+ virtual ~SWGSigMFFileSinkSettings();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGSigMFFileSinkSettings* fromJson(QString &jsonString) override;
+
+ qint32 getInputFrequencyOffset();
+ void setInputFrequencyOffset(qint32 input_frequency_offset);
+
+ QString* getFileRecordName();
+ void setFileRecordName(QString* file_record_name);
+
+ qint32 getRgbColor();
+ void setRgbColor(qint32 rgb_color);
+
+ QString* getTitle();
+ void setTitle(QString* title);
+
+ qint32 getLog2Decim();
+ void setLog2Decim(qint32 log2_decim);
+
+ qint32 getSpectrumSquelchMode();
+ void setSpectrumSquelchMode(qint32 spectrum_squelch_mode);
+
+ float getSpectrumSquelch();
+ void setSpectrumSquelch(float spectrum_squelch);
+
+ qint32 getPreRecordTime();
+ void setPreRecordTime(qint32 pre_record_time);
+
+ qint32 getSquelchPostRecordTime();
+ void setSquelchPostRecordTime(qint32 squelch_post_record_time);
+
+ qint32 getSquelchRecordingEnable();
+ void setSquelchRecordingEnable(qint32 squelch_recording_enable);
+
+ qint32 getStreamIndex();
+ void setStreamIndex(qint32 stream_index);
+
+ qint32 getUseReverseApi();
+ void setUseReverseApi(qint32 use_reverse_api);
+
+ QString* getReverseApiAddress();
+ void setReverseApiAddress(QString* reverse_api_address);
+
+ qint32 getReverseApiPort();
+ void setReverseApiPort(qint32 reverse_api_port);
+
+ qint32 getReverseApiDeviceIndex();
+ void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
+
+ qint32 getReverseApiChannelIndex();
+ void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
+
+
+ virtual bool isSet() override;
+
+private:
+ qint32 input_frequency_offset;
+ bool m_input_frequency_offset_isSet;
+
+ QString* file_record_name;
+ bool m_file_record_name_isSet;
+
+ qint32 rgb_color;
+ bool m_rgb_color_isSet;
+
+ QString* title;
+ bool m_title_isSet;
+
+ qint32 log2_decim;
+ bool m_log2_decim_isSet;
+
+ qint32 spectrum_squelch_mode;
+ bool m_spectrum_squelch_mode_isSet;
+
+ float spectrum_squelch;
+ bool m_spectrum_squelch_isSet;
+
+ qint32 pre_record_time;
+ bool m_pre_record_time_isSet;
+
+ qint32 squelch_post_record_time;
+ bool m_squelch_post_record_time_isSet;
+
+ qint32 squelch_recording_enable;
+ bool m_squelch_recording_enable_isSet;
+
+ qint32 stream_index;
+ bool m_stream_index_isSet;
+
+ qint32 use_reverse_api;
+ bool m_use_reverse_api_isSet;
+
+ QString* reverse_api_address;
+ bool m_reverse_api_address_isSet;
+
+ qint32 reverse_api_port;
+ bool m_reverse_api_port_isSet;
+
+ qint32 reverse_api_device_index;
+ bool m_reverse_api_device_index_isSet;
+
+ qint32 reverse_api_channel_index;
+ bool m_reverse_api_channel_index_isSet;
+
+};
+
+}
+
+#endif /* SWGSigMFFileSinkSettings_H_ */