diff --git a/sdrbase/resources/webapi.qrc b/sdrbase/resources/webapi.qrc index 692e4293a..4a374828d 100644 --- a/sdrbase/resources/webapi.qrc +++ b/sdrbase/resources/webapi.qrc @@ -79,6 +79,8 @@ webapi/doc/swagger/include/Preferences.yaml webapi/doc/swagger/include/Preset.yaml webapi/doc/swagger/include/RadioAstronomy.yaml + webapi/doc/swagger/include/Radiosonde.yaml + webapi/doc/swagger/include/RadiosondeDemod.yaml webapi/doc/swagger/include/RtlSdr.yaml webapi/doc/swagger/include/RadioClock.yaml webapi/doc/swagger/include/RemoteSink.yaml diff --git a/sdrbase/resources/webapi/doc/html2/index.html b/sdrbase/resources/webapi/doc/html2/index.html index c540fa76d..b7c351ce8 100644 --- a/sdrbase/resources/webapi/doc/html2/index.html +++ b/sdrbase/resources/webapi/doc/html2/index.html @@ -3350,6 +3350,9 @@ margin-bottom: 20px; "RadioClockReport" : { "$ref" : "#/definitions/RadioClockReport" }, + "RadiosondeDemodReport" : { + "$ref" : "#/definitions/RadiosondeDemodReport" + }, "RemoteSourceReport" : { "$ref" : "#/definitions/RemoteSourceReport" }, @@ -3511,6 +3514,9 @@ margin-bottom: 20px; "RadioClockSettings" : { "$ref" : "#/definitions/RadioClockSettings" }, + "RadiosondeDemodSettings" : { + "$ref" : "#/definitions/RadiosondeDemodSettings" + }, "RemoteSinkSettings" : { "$ref" : "#/definitions/RemoteSinkSettings" }, @@ -5447,6 +5453,9 @@ margin-bottom: 20px; "PERTesterSettings" : { "$ref" : "#/definitions/PERTesterSettings" }, + "RadiosondeSettings" : { + "$ref" : "#/definitions/RadiosondeSettings" + }, "RigCtlServerSettings" : { "$ref" : "#/definitions/RigCtlServerSettings" }, @@ -10229,6 +10238,127 @@ margin-bottom: 20px; } }, "description" : "RadioClock" +}; + defs.RadiosondeDemodReport = { + "properties" : { + "channelPowerDB" : { + "type" : "number", + "format" : "float", + "description" : "power received in channel (dB)" + }, + "channelSampleRate" : { + "type" : "integer" + } + }, + "description" : "RadiosondeDemod" +}; + defs.RadiosondeDemodSettings = { + "properties" : { + "baud" : { + "type" : "integer", + "description" : "baud rate (nominal is 4800)" + }, + "inputFrequencyOffset" : { + "type" : "integer", + "format" : "int64" + }, + "rfBandwidth" : { + "type" : "number", + "format" : "float" + }, + "fmDeviation" : { + "type" : "number", + "format" : "float" + }, + "correlationThreshold" : { + "type" : "number", + "format" : "float" + }, + "udpEnabled" : { + "type" : "integer", + "description" : "Whether to forward received messages to specified UDP port" + }, + "udpAddress" : { + "type" : "string", + "description" : "UDP address to forward received messages to" + }, + "udpPort" : { + "type" : "integer", + "description" : "UDP port to forward received messages to" + }, + "logFilename" : { + "type" : "string" + }, + "logEnabled" : { + "type" : "integer" + }, + "rgbColor" : { + "type" : "integer" + }, + "title" : { + "type" : "string" + }, + "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" + }, + "scopeConfig" : { + "$ref" : "#/definitions/GLScope" + }, + "channelMarker" : { + "$ref" : "#/definitions/ChannelMarker" + }, + "rollupState" : { + "$ref" : "#/definitions/RollupState" + } + }, + "description" : "RadiosondeDemod" +}; + defs.RadiosondeSettings = { + "properties" : { + "title" : { + "type" : "string" + }, + "rgbColor" : { + "type" : "integer" + }, + "useReverseAPI" : { + "type" : "integer", + "description" : "Synchronize with reverse API (1 for yes, 0 for no)" + }, + "reverseAPIAddress" : { + "type" : "string" + }, + "reverseAPIPort" : { + "type" : "integer" + }, + "reverseAPIFeatureSetIndex" : { + "type" : "integer" + }, + "reverseAPIFeatureIndex" : { + "type" : "integer" + }, + "rollupState" : { + "$ref" : "#/definitions/RollupState" + } + }, + "description" : "Radiosonde settings" }; defs.Range = { "properties" : { @@ -52422,7 +52552,7 @@ except ApiException as e:
- Generated 2022-02-09T21:10:57.247+01:00 + Generated 2022-03-05T04:59:37.901+01:00
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml index 8f09ddebc..d2da6d48a 100644 --- a/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml +++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml @@ -59,6 +59,8 @@ ChannelReport: $ref: "/doc/swagger/include/RadioAstronomy.yaml#/RadioAstronomyReport" RadioClockReport: $ref: "/doc/swagger/include/RadioClock.yaml#/RadioClockReport" + RadiosondeDemodReport: + $ref: "/doc/swagger/include/RadiosondeDemod.yaml#/RadiosondeDemodReport" RemoteSourceReport: $ref: "/doc/swagger/include/RemoteSource.yaml#/RemoteSourceReport" PacketDemodReport: diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml index d7794fe69..0b55f606b 100644 --- a/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml +++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml @@ -85,6 +85,8 @@ ChannelSettings: $ref: "/doc/swagger/include/RadioAstronomy.yaml#/RadioAstronomySettings" RadioClockSettings: $ref: "/doc/swagger/include/RadioClock.yaml#/RadioClockSettings" + RadiosondeDemodSettings: + $ref: "/doc/swagger/include/RadiosondeDemod.yaml#/RadiosondeDemodSettings" RemoteSinkSettings: $ref: "/doc/swagger/include/RemoteSink.yaml#/RemoteSinkSettings" RemoteSourceSettings: diff --git a/sdrbase/resources/webapi/doc/swagger/include/FeatureSettings.yaml b/sdrbase/resources/webapi/doc/swagger/include/FeatureSettings.yaml index c22789b42..b30b75ca8 100644 --- a/sdrbase/resources/webapi/doc/swagger/include/FeatureSettings.yaml +++ b/sdrbase/resources/webapi/doc/swagger/include/FeatureSettings.yaml @@ -31,6 +31,8 @@ FeatureSettings: $ref: "/doc/swagger/include/Map.yaml#/MapSettings" PERTesterSettings: $ref: "/doc/swagger/include/PERTester.yaml#/PERTesterSettings" + RadiosondeSettings: + $ref: "/doc/swagger/include/Radiosonde.yaml#/RadiosondeSettings" RigCtlServerSettings: $ref: "/doc/swagger/include/RigCtlServer.yaml#/RigCtlServerSettings" SatelliteTrackerSettings: diff --git a/sdrbase/resources/webapi/doc/swagger/include/Radiosonde.yaml b/sdrbase/resources/webapi/doc/swagger/include/Radiosonde.yaml new file mode 100644 index 000000000..a27ffaac8 --- /dev/null +++ b/sdrbase/resources/webapi/doc/swagger/include/Radiosonde.yaml @@ -0,0 +1,20 @@ +RadiosondeSettings: + description: "Radiosonde settings" + properties: + title: + type: string + rgbColor: + type: integer + useReverseAPI: + description: Synchronize with reverse API (1 for yes, 0 for no) + type: integer + reverseAPIAddress: + type: string + reverseAPIPort: + type: integer + reverseAPIFeatureSetIndex: + type: integer + reverseAPIFeatureIndex: + type: integer + rollupState: + $ref: "/doc/swagger/include/RollupState.yaml#/RollupState" diff --git a/sdrbase/resources/webapi/doc/swagger/include/RadiosondeDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/RadiosondeDemod.yaml new file mode 100644 index 000000000..4169d7429 --- /dev/null +++ b/sdrbase/resources/webapi/doc/swagger/include/RadiosondeDemod.yaml @@ -0,0 +1,65 @@ +RadiosondeDemodSettings: + description: RadiosondeDemod + properties: + baud: + type: integer + description: baud rate (nominal is 4800) + inputFrequencyOffset: + type: integer + format: int64 + rfBandwidth: + type: number + format: float + fmDeviation: + type: number + format: float + correlationThreshold: + type: number + format: float + udpEnabled: + description: "Whether to forward received messages to specified UDP port" + type: integer + udpAddress: + description: "UDP address to forward received messages to" + type: string + udpPort: + description: "UDP port to forward received messages to" + type: integer + logFilename: + type: string + logEnabled: + type: integer + rgbColor: + type: integer + title: + type: string + 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 + scopeConfig: + $ref: "/doc/swagger/include/GLScope.yaml#/GLScope" + channelMarker: + $ref: "/doc/swagger/include/ChannelMarker.yaml#/ChannelMarker" + rollupState: + $ref: "/doc/swagger/include/RollupState.yaml#/RollupState" + +RadiosondeDemodReport: + description: RadiosondeDemod + properties: + channelPowerDB: + description: power received in channel (dB) + type: number + format: float + channelSampleRate: + type: integer diff --git a/swagger/sdrangel/code/html2/index.html b/swagger/sdrangel/code/html2/index.html index c540fa76d..b7c351ce8 100644 --- a/swagger/sdrangel/code/html2/index.html +++ b/swagger/sdrangel/code/html2/index.html @@ -3350,6 +3350,9 @@ margin-bottom: 20px; "RadioClockReport" : { "$ref" : "#/definitions/RadioClockReport" }, + "RadiosondeDemodReport" : { + "$ref" : "#/definitions/RadiosondeDemodReport" + }, "RemoteSourceReport" : { "$ref" : "#/definitions/RemoteSourceReport" }, @@ -3511,6 +3514,9 @@ margin-bottom: 20px; "RadioClockSettings" : { "$ref" : "#/definitions/RadioClockSettings" }, + "RadiosondeDemodSettings" : { + "$ref" : "#/definitions/RadiosondeDemodSettings" + }, "RemoteSinkSettings" : { "$ref" : "#/definitions/RemoteSinkSettings" }, @@ -5447,6 +5453,9 @@ margin-bottom: 20px; "PERTesterSettings" : { "$ref" : "#/definitions/PERTesterSettings" }, + "RadiosondeSettings" : { + "$ref" : "#/definitions/RadiosondeSettings" + }, "RigCtlServerSettings" : { "$ref" : "#/definitions/RigCtlServerSettings" }, @@ -10229,6 +10238,127 @@ margin-bottom: 20px; } }, "description" : "RadioClock" +}; + defs.RadiosondeDemodReport = { + "properties" : { + "channelPowerDB" : { + "type" : "number", + "format" : "float", + "description" : "power received in channel (dB)" + }, + "channelSampleRate" : { + "type" : "integer" + } + }, + "description" : "RadiosondeDemod" +}; + defs.RadiosondeDemodSettings = { + "properties" : { + "baud" : { + "type" : "integer", + "description" : "baud rate (nominal is 4800)" + }, + "inputFrequencyOffset" : { + "type" : "integer", + "format" : "int64" + }, + "rfBandwidth" : { + "type" : "number", + "format" : "float" + }, + "fmDeviation" : { + "type" : "number", + "format" : "float" + }, + "correlationThreshold" : { + "type" : "number", + "format" : "float" + }, + "udpEnabled" : { + "type" : "integer", + "description" : "Whether to forward received messages to specified UDP port" + }, + "udpAddress" : { + "type" : "string", + "description" : "UDP address to forward received messages to" + }, + "udpPort" : { + "type" : "integer", + "description" : "UDP port to forward received messages to" + }, + "logFilename" : { + "type" : "string" + }, + "logEnabled" : { + "type" : "integer" + }, + "rgbColor" : { + "type" : "integer" + }, + "title" : { + "type" : "string" + }, + "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" + }, + "scopeConfig" : { + "$ref" : "#/definitions/GLScope" + }, + "channelMarker" : { + "$ref" : "#/definitions/ChannelMarker" + }, + "rollupState" : { + "$ref" : "#/definitions/RollupState" + } + }, + "description" : "RadiosondeDemod" +}; + defs.RadiosondeSettings = { + "properties" : { + "title" : { + "type" : "string" + }, + "rgbColor" : { + "type" : "integer" + }, + "useReverseAPI" : { + "type" : "integer", + "description" : "Synchronize with reverse API (1 for yes, 0 for no)" + }, + "reverseAPIAddress" : { + "type" : "string" + }, + "reverseAPIPort" : { + "type" : "integer" + }, + "reverseAPIFeatureSetIndex" : { + "type" : "integer" + }, + "reverseAPIFeatureIndex" : { + "type" : "integer" + }, + "rollupState" : { + "$ref" : "#/definitions/RollupState" + } + }, + "description" : "Radiosonde settings" }; defs.Range = { "properties" : { @@ -52422,7 +52552,7 @@ except ApiException as e:
- Generated 2022-02-09T21:10:57.247+01:00 + Generated 2022-03-05T04:59:37.901+01:00