1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-04 07:51:14 -05:00

Fixed Swagger files generation and added missing files. Fixes #1821

This commit is contained in:
f4exb 2023-09-13 05:43:58 +02:00
parent cd92bc3b74
commit af916d6e7c
16 changed files with 829 additions and 60 deletions

View File

@ -13,6 +13,7 @@
<file>webapi/doc/swagger/include/AMBE.yaml</file>
<file>webapi/doc/swagger/include/AMDemod.yaml</file>
<file>webapi/doc/swagger/include/AMMod.yaml</file>
<file>webapi/doc/swagger/include/AndroidSDRDriverInput.yaml</file>
<file>webapi/doc/swagger/include/AntennaTools.yaml</file>
<file>webapi/doc/swagger/include/APRS.yaml</file>
<file>webapi/doc/swagger/include/APTDemod.yaml</file>
@ -88,6 +89,7 @@
<file>webapi/doc/swagger/include/PlutoSdr.yaml</file>
<file>webapi/doc/swagger/include/Preferences.yaml</file>
<file>webapi/doc/swagger/include/Preset.yaml</file>
<file>webapi/doc/swagger/include/PSK31Mod.yaml</file>
<file>webapi/doc/swagger/include/RadioAstronomy.yaml</file>
<file>webapi/doc/swagger/include/Radiosonde.yaml</file>
<file>webapi/doc/swagger/include/RadiosondeDemod.yaml</file>
@ -102,6 +104,7 @@
<file>webapi/doc/swagger/include/RigCtlServer.yaml</file>
<file>webapi/doc/swagger/include/RollupState.yaml</file>
<file>webapi/doc/swagger/include/RTTYDemod.yaml</file>
<file>webapi/doc/swagger/include/RTTYMod.yaml</file>
<file>webapi/doc/swagger/include/SatelliteTracker.yaml</file>
<file>webapi/doc/swagger/include/SDRPlay.yaml</file>
<file>webapi/doc/swagger/include/SDRPlayV3.yaml</file>

View File

@ -2343,6 +2343,72 @@ margin-bottom: 20px;
}
},
"description" : "Airspy"
};
defs.AndroidSDRDriverInputReport = {
"properties" : {
"sampleRate" : {
"type" : "integer"
}
},
"description" : "AndroidSDRDriverInput"
};
defs.AndroidSDRDriverInputSettings = {
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "int64"
},
"loPpmCorrection" : {
"type" : "integer"
},
"dcBlock" : {
"type" : "integer"
},
"iqCorrection" : {
"type" : "integer"
},
"biasTee" : {
"type" : "integer"
},
"directSampling" : {
"type" : "integer"
},
"devSampleRate" : {
"type" : "integer"
},
"log2Decim" : {
"type" : "integer"
},
"gain" : {
"type" : "integer"
},
"agc" : {
"type" : "integer"
},
"rfBW" : {
"type" : "integer"
},
"sampleBits" : {
"type" : "integer"
},
"dataPort" : {
"type" : "integer"
},
"useReverseAPI" : {
"type" : "integer",
"description" : "Synchronize with reverse API (1 for yes, 0 for no)"
},
"reverseAPIAddress" : {
"type" : "string"
},
"reverseAPIPort" : {
"type" : "integer"
},
"reverseAPIDeviceIndex" : {
"type" : "integer"
}
},
"description" : "AndroidSDRDriverInput"
};
defs.AntennaToolsSettings = {
"properties" : {
@ -3481,9 +3547,15 @@ margin-bottom: 20px;
"PacketModActions" : {
"$ref" : "#/definitions/PacketModActions"
},
"PSK31ModActions" : {
"$ref" : "#/definitions/PSK31ModActions"
},
"RadioAstronomyActions" : {
"$ref" : "#/definitions/RadioAstronomyActions"
},
"RTTYModActions" : {
"$ref" : "#/definitions/RTTYModActions"
},
"SigMFFileSinkActions" : {
"$ref" : "#/definitions/SigMFFileSinkActions"
}
@ -3731,9 +3803,6 @@ margin-bottom: 20px;
"FT8DemodReport" : {
"$ref" : "#/definitions/FT8DemodReport"
},
"RTTYDemodReport" : {
"$ref" : "#/definitions/RTTYDemodReport"
},
"HeatMapReport" : {
"$ref" : "#/definitions/HeatMapReport"
},
@ -3773,6 +3842,12 @@ margin-bottom: 20px;
"RemoteSourceReport" : {
"$ref" : "#/definitions/RemoteSourceReport"
},
"RTTYDemodReport" : {
"$ref" : "#/definitions/RTTYDemodReport"
},
"RTTYModReport" : {
"$ref" : "#/definitions/RTTYModReport"
},
"PacketDemodReport" : {
"$ref" : "#/definitions/PacketDemodReport"
},
@ -3782,6 +3857,9 @@ margin-bottom: 20px;
"PagerDemodReport" : {
"$ref" : "#/definitions/PagerDemodReport"
},
"PSK31ModReport" : {
"$ref" : "#/definitions/PSK31ModReport"
},
"SigMFFileSinkReport" : {
"$ref" : "#/definitions/SigMFFileSinkReport"
},
@ -3901,9 +3979,6 @@ margin-bottom: 20px;
"FT8DemodSettings" : {
"$ref" : "#/definitions/FT8DemodSettings"
},
"RTTYDemodSettings" : {
"$ref" : "#/definitions/RTTYDemodSettings"
},
"HeatMapSettings" : {
"$ref" : "#/definitions/HeatMapSettings"
},
@ -3949,6 +4024,9 @@ margin-bottom: 20px;
"PagerDemodSettings" : {
"$ref" : "#/definitions/PagerDemodSettings"
},
"PSK31ModSettings" : {
"$ref" : "#/definitions/PSK31ModSettings"
},
"RadioAstronomySettings" : {
"$ref" : "#/definitions/RadioAstronomySettings"
},
@ -3967,6 +4045,12 @@ margin-bottom: 20px;
"RemoteTCPSinkSettings" : {
"$ref" : "#/definitions/RemoteTCPSinkSettings"
},
"RTTYDemodSettings" : {
"$ref" : "#/definitions/RTTYDemodSettings"
},
"RTTYModSettings" : {
"$ref" : "#/definitions/RTTYModSettings"
},
"SigMFFileSinkSettings" : {
"$ref" : "#/definitions/SigMFFileSinkSettings"
},
@ -5409,6 +5493,9 @@ margin-bottom: 20px;
"airspyHFReport" : {
"$ref" : "#/definitions/AirspyHFReport"
},
"androidSDRDriverInputReport" : {
"$ref" : "#/definitions/AndroidSDRDriverInputReport"
},
"bladeRF2InputReport" : {
"$ref" : "#/definitions/BladeRF2InputReport"
},
@ -5564,6 +5651,9 @@ margin-bottom: 20px;
"airspyHFSettings" : {
"$ref" : "#/definitions/AirspyHFSettings"
},
"androidSDRDriverInputSettings" : {
"$ref" : "#/definitions/AndroidSDRDriverInputSettings"
},
"audioCATSISOSettings" : {
"$ref" : "#/definitions/AudioCATSISOSettings"
},
@ -5895,7 +5985,8 @@ margin-bottom: 20px;
},
"bandwidth" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "bandwidth ratio [0.0, 1.0]"
}
},
"description" : "FFT filter band definition"
@ -7269,11 +7360,13 @@ margin-bottom: 20px;
"description" : "Identifier of the channel or feature plugin providing azimuth and elevation (E.g. R0:0 ADSBDemod)"
},
"azimuthOffset" : {
"type" : "integer",
"type" : "number",
"format" : "float",
"description" : "Azimuth offset in degrees"
},
"elevationOffset" : {
"type" : "integer",
"type" : "number",
"format" : "float",
"description" : "Elevation offset in degrees"
},
"azimuthMin" : {
@ -8960,7 +9053,7 @@ margin-bottom: 20px;
},
"fftOn" : {
"type" : "integer",
"description" : "Activate FFT multiband filter\n * 0 - do not run flter\n * 1 - run filter\n"
"description" : "Activate FFT multiband filter\n * 0 - do not run filter\n * 1 - run filter\n"
},
"log2FFT" : {
"type" : "integer",
@ -8977,7 +9070,8 @@ margin-bottom: 20px;
}
},
"reverseFilter" : {
"type" : "integer"
"type" : "integer",
"description" : "* 0 - band definitions are bandpass * 1 - band definitions are band reject\n"
},
"streamIndex" : {
"type" : "integer",
@ -9446,7 +9540,8 @@ margin-bottom: 20px;
"description" : "Angle to rotate the image by"
},
"text" : {
"type" : "string"
"type" : "string",
"description" : "Text to draw on the map when item is selected"
},
"latitude" : {
"type" : "number",
@ -9519,7 +9614,7 @@ margin-bottom: 20px;
"labelAltitudeOffset" : {
"type" : "number",
"format" : "float",
"description" : "Veritical offset to position label at"
"description" : "Vertical offset to position label at"
},
"modelAltitudeOffset" : {
"type" : "number",
@ -9605,7 +9700,8 @@ margin-bottom: 20px;
"description" : "Angle to rotate the image by"
},
"text" : {
"type" : "string"
"type" : "string",
"description" : "Text to draw on the map when item is selected"
},
"latitude" : {
"type" : "number",
@ -9678,7 +9774,7 @@ margin-bottom: 20px;
"labelAltitudeOffset" : {
"type" : "number",
"format" : "float",
"description" : "Veritical offset to position label at"
"description" : "Vertical offset to position label at"
},
"modelAltitudeOffset" : {
"type" : "number",
@ -10507,6 +10603,136 @@ margin-bottom: 20px;
}
},
"description" : "PER Tester settings"
};
defs.PSK31ModActions = {
"properties" : {
"tx" : {
"type" : "integer",
"description" : "Transmit current text\n * 0 - Do nothing\n * 1 - Transmit\n"
},
"payload" : {
"$ref" : "#/definitions/PSK31ModActions_payload"
}
},
"description" : "PSK31Mod"
};
defs.PSK31ModActions_payload = {
"properties" : {
"text" : {
"type" : "string",
"description" : "PSK31 content to transmit"
}
}
};
defs.PSK31ModReport = {
"properties" : {
"channelPowerDB" : {
"type" : "number",
"format" : "float",
"description" : "power transmitted in channel (dB)"
},
"channelSampleRate" : {
"type" : "integer"
}
},
"description" : "PSK31Mod"
};
defs.PSK31ModSettings = {
"properties" : {
"inputFrequencyOffset" : {
"type" : "integer",
"format" : "int64"
},
"rfBandwidth" : {
"type" : "integer"
},
"gain" : {
"type" : "number",
"format" : "float"
},
"channelMute" : {
"type" : "integer"
},
"repeat" : {
"type" : "integer"
},
"repeatCount" : {
"type" : "integer"
},
"lpfTaps" : {
"type" : "integer"
},
"rfNoise" : {
"type" : "integer",
"description" : "Boolean\n * 0 - off\n * 1 - on\n"
},
"text" : {
"type" : "string",
"description" : "Text to transmit"
},
"pulseShaping" : {
"type" : "integer",
"description" : "Boolean\n * 0 - off\n * 1 - on\n"
},
"beta" : {
"type" : "number",
"format" : "float"
},
"symbolSpan" : {
"type" : "integer"
},
"prefixCRLF" : {
"type" : "integer"
},
"postfixCRLF" : {
"type" : "integer"
},
"udpEnabled" : {
"type" : "integer",
"description" : "Whether to receive text to transmit on specified UDP port"
},
"udpAddress" : {
"type" : "string",
"description" : "UDP address to receive text to transmit via"
},
"udpPort" : {
"type" : "integer",
"description" : "UDP port to receive text to transmit via"
},
"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"
},
"channelMarker" : {
"$ref" : "#/definitions/ChannelMarker"
},
"rollupState" : {
"$ref" : "#/definitions/RollupState"
}
},
"description" : "PSK31Mod"
};
defs.PacketDemodReport = {
"properties" : {
@ -11747,6 +11973,156 @@ margin-bottom: 20px;
}
},
"description" : "ACARSDemod"
};
defs.RTTYModActions = {
"properties" : {
"tx" : {
"type" : "integer",
"description" : "Transmit current text\n * 0 - Do nothing\n * 1 - Transmit\n"
},
"payload" : {
"$ref" : "#/definitions/RTTYModActions_payload"
}
},
"description" : "RTTYMod"
};
defs.RTTYModActions_payload = {
"properties" : {
"text" : {
"type" : "string",
"description" : "RTTY content to transmit"
}
}
};
defs.RTTYModReport = {
"properties" : {
"channelPowerDB" : {
"type" : "number",
"format" : "float",
"description" : "power transmitted in channel (dB)"
},
"channelSampleRate" : {
"type" : "integer"
}
},
"description" : "RTTYMod"
};
defs.RTTYModSettings = {
"properties" : {
"inputFrequencyOffset" : {
"type" : "integer",
"format" : "int64"
},
"baud" : {
"type" : "number",
"format" : "float",
"description" : "Baud rate"
},
"rfBandwidth" : {
"type" : "integer"
},
"frequencyShift" : {
"type" : "integer"
},
"gain" : {
"type" : "number",
"format" : "float"
},
"channelMute" : {
"type" : "integer"
},
"repeat" : {
"type" : "integer"
},
"repeatCount" : {
"type" : "integer"
},
"lpfTaps" : {
"type" : "integer"
},
"rfNoise" : {
"type" : "integer",
"description" : "Boolean\n * 0 - off\n * 1 - on\n"
},
"text" : {
"type" : "string",
"description" : "Text to transmit"
},
"pulseShaping" : {
"type" : "integer",
"description" : "Boolean\n * 0 - off\n * 1 - on\n"
},
"beta" : {
"type" : "number",
"format" : "float"
},
"symbolSpan" : {
"type" : "integer"
},
"characterSet" : {
"type" : "integer"
},
"unshiftOnSpace" : {
"type" : "integer"
},
"msbFirst" : {
"type" : "integer"
},
"spaceHigh" : {
"type" : "integer"
},
"prefixCRLF" : {
"type" : "integer"
},
"postfixCRLF" : {
"type" : "integer"
},
"udpEnabled" : {
"type" : "integer",
"description" : "Whether to receive text to transmit on specified UDP port"
},
"udpAddress" : {
"type" : "string",
"description" : "UDP address to receive text to transmit via"
},
"udpPort" : {
"type" : "integer",
"description" : "UDP port to receive text to transmit via"
},
"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"
},
"channelMarker" : {
"$ref" : "#/definitions/ChannelMarker"
},
"rollupState" : {
"$ref" : "#/definitions/RollupState"
}
},
"description" : "RTTYMod"
};
defs.RadioAstronomyActions = {
"properties" : {
@ -14449,15 +14825,18 @@ margin-bottom: 20px;
},
"b" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "Galactic latitude in degrees"
},
"l" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "Galactic longitude in degrees"
},
"d" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "Distance to object from Sun in kpc"
}
},
"description" : "Details of object to display in Star Tracker line-of-sight view. Can be sent by other plugins to startracker.display message queue"
@ -14469,15 +14848,18 @@ margin-bottom: 20px;
},
"b" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "Galactic latitude in degrees"
},
"l" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "Galactic longitude in degrees"
},
"d" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "Distance to object from Sun in kpc"
}
},
"description" : "Details of object to display in Star Tracker line-of-sight view. Can be sent by other plugins to startracker.display message queue"
@ -14490,11 +14872,13 @@ margin-bottom: 20px;
},
"azimuth" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "The azimuth angle in degrees to the target"
},
"elevation" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "The elevation angle in degrees to the target"
}
},
"description" : "Settings to display in Star Tracker. Can be sent by other plugins to startracker.display message queue."
@ -14507,11 +14891,13 @@ margin-bottom: 20px;
},
"azimuth" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "The azimuth angle in degrees to the target"
},
"elevation" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "The elevation angle in degrees to the target"
}
},
"description" : "Settings to display in Star Tracker. Can be sent by other plugins to startracker.display message queue."
@ -14595,7 +14981,7 @@ margin-bottom: 20px;
"temperature" : {
"type" : "number",
"format" : "float",
"description" : "Air temperature in Celsuis, for refraction"
"description" : "Air temperature in Celsius, for refraction"
},
"humidity" : {
"type" : "number",
@ -14618,7 +15004,8 @@ margin-bottom: 20px;
"description" : "Frequency of radio waves being observed in MHz"
},
"stellariumServerEnabled" : {
"type" : "integer"
"type" : "integer",
"description" : "Enable Stellarium server (1 for yes, 0 for no)"
},
"stellariumPort" : {
"type" : "integer",
@ -14676,15 +15063,18 @@ margin-bottom: 20px;
defs.StarTrackerTarget = {
"properties" : {
"name" : {
"type" : "string"
"type" : "string",
"description" : "The name of the target"
},
"azimuth" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "The azimuth angle in degrees to the target"
},
"elevation" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "The elevation angle in degrees to the target"
},
"ra" : {
"type" : "number",
@ -14698,11 +15088,13 @@ margin-bottom: 20px;
},
"b" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "Galactic latitude in degrees"
},
"l" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "Galactic longitude in degrees"
},
"earthRotationVelocity" : {
"type" : "number",
@ -14745,15 +15137,18 @@ margin-bottom: 20px;
defs.StarTrackerTarget_2 = {
"properties" : {
"name" : {
"type" : "string"
"type" : "string",
"description" : "The name of the target"
},
"azimuth" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "The azimuth angle in degrees to the target"
},
"elevation" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "The elevation angle in degrees to the target"
},
"ra" : {
"type" : "number",
@ -14767,11 +15162,13 @@ margin-bottom: 20px;
},
"b" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "Galactic latitude in degrees"
},
"l" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "Galactic longitude in degrees"
},
"earthRotationVelocity" : {
"type" : "number",
@ -14822,15 +15219,18 @@ margin-bottom: 20px;
defs.TargetAzimuthElevation = {
"properties" : {
"name" : {
"type" : "string"
"type" : "string",
"description" : "The name of the target"
},
"azimuth" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "The azimuth angle in degrees to the target"
},
"elevation" : {
"type" : "number",
"format" : "float"
"format" : "float",
"description" : "The elevation angle in degrees to the target"
}
},
"description" : "A target azimuth and elevation"
@ -22563,7 +22963,7 @@ $(document).ready(function() {
<h2>Responses</h2>
<h3> Status: 202 - On successful semding of the message it returns the details of the device being set </h3>
<h3> Status: 202 - On successful sending of the message it returns the details of the device being set </h3>
<ul class="nav nav-tabs nav-tabs-examples" >
<li class="active">
@ -22578,7 +22978,7 @@ $(document).ready(function() {
<script>
$(document).ready(function() {
var schemaWrapper = {
"description" : "On successful semding of the message it returns the details of the device being set",
"description" : "On successful sending of the message it returns the details of the device being set",
"schema" : {
"$ref" : "#/definitions/DeviceListItem"
}
@ -31220,7 +31620,7 @@ $(document).ready(function() {
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
<p class="marked">Apply main spectrum settings unconditionnaly (force)</p>
<p class="marked">Apply main spectrum settings unconditionally (force)</p>
<p></p>
<br />
<pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings</span></code></pre>
@ -41339,7 +41739,7 @@ except ApiException as e:
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
<p class="marked">Delete audio input device paramaters and return to defaults</p>
<p class="marked">Delete audio input device parameters and return to defaults</p>
<p></p>
<br />
<pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/sdrangel/audio/input/parameters</span></code></pre>
@ -41769,7 +42169,7 @@ $(document).ready(function() {
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
<p class="marked">Set audio input device paramaters</p>
<p class="marked">Set audio input device parameters</p>
<p></p>
<br />
<pre class="prettyprint language-html prettyprinted" data-type="patch"><code><span class="pln">/sdrangel/audio/input/parameters</span></code></pre>
@ -42534,7 +42934,7 @@ except ApiException as e:
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
<p class="marked">Delete audio output device paramaters and return to defaults</p>
<p class="marked">Delete audio output device parameters and return to defaults</p>
<p></p>
<br />
<pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/sdrangel/audio/output/parameters</span></code></pre>
@ -52246,7 +52646,7 @@ except ApiException as e:
<div class="pull-right"></div>
<div class="clearfix"></div>
<p></p>
<p class="marked">Change logging parmeters for this instance</p>
<p class="marked">Change logging parameters for this instance</p>
<p></p>
<br />
<pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/sdrangel/logging</span></code></pre>
@ -57806,7 +58206,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2023-07-09T18:31:34.285+02:00
Generated 2023-09-13T05:10:07.874+02:00
</div>
</div>
</div>

View File

@ -0,0 +1,45 @@
AndroidSDRDriverInputSettings:
description: AndroidSDRDriverInput
properties:
centerFrequency:
type: integer
format: int64
loPpmCorrection:
type: integer
dcBlock:
type: integer
iqCorrection:
type: integer
biasTee:
type: integer
directSampling:
type: integer
devSampleRate:
type: integer
log2Decim:
type: integer
gain:
type: integer
agc:
type: integer
rfBW:
type: integer
sampleBits:
type: integer
dataPort:
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
AndroidSDRDriverInputReport:
description: AndroidSDRDriverInput
properties:
sampleRate:
type: integer

View File

@ -29,7 +29,11 @@ ChannelActions:
$ref: "/doc/swagger/include/IEEE_802_15_4_Mod.yaml#/IEEE_802_15_4_ModActions"
PacketModActions:
$ref: "/doc/swagger/include/PacketMod.yaml#/PacketModActions"
PSK31ModActions:
$ref: "/doc/swagger/include/PSK31Mod.yaml#/PSK31ModActions"
RadioAstronomyActions:
$ref: "/doc/swagger/include/RadioAstronomy.yaml#/RadioAstronomyActions"
RTTYModActions:
$ref: "/doc/swagger/include/RTTYMod.yaml#/RTTYModActions"
SigMFFileSinkActions:
$ref: "/doc/swagger/include/SigMFFileSink.yaml#/SigMFFileSinkActions"

View File

@ -53,8 +53,6 @@ ChannelReport:
$ref: "/doc/swagger/include/FreqTracker.yaml#/FreqTrackerReport"
FT8DemodReport:
$ref: "/doc/swagger/include/FT8Demod.yaml#/FT8DemodReport"
RTTYDemodReport:
$ref: "/doc/swagger/include/RTTYDemod.yaml#/RTTYDemodReport"
HeatMapReport:
$ref: "/doc/swagger/include/HeatMap.yaml#/HeatMapReport"
ILSDemodReport:
@ -81,12 +79,18 @@ ChannelReport:
$ref: "/doc/swagger/include/RadiosondeDemod.yaml#/RadiosondeDemodReport"
RemoteSourceReport:
$ref: "/doc/swagger/include/RemoteSource.yaml#/RemoteSourceReport"
RTTYDemodReport:
$ref: "/doc/swagger/include/RTTYDemod.yaml#/RTTYDemodReport"
RTTYModReport:
$ref: "/doc/swagger/include/RTTYMod.yaml#/RTTYModReport"
PacketDemodReport:
$ref: "/doc/swagger/include/PacketDemod.yaml#/PacketDemodReport"
PacketModReport:
$ref: "/doc/swagger/include/PacketMod.yaml#/PacketModReport"
PagerDemodReport:
$ref: "/doc/swagger/include/PagerDemod.yaml#/PagerDemodReport"
PSK31ModReport:
$ref: "/doc/swagger/include/PSK31Mod.yaml#/PSK31ModReport"
SigMFFileSinkReport:
$ref: "/doc/swagger/include/SigMFFileSink.yaml#/SigMFFileSinkReport"
SSBModReport:

View File

@ -67,8 +67,6 @@ ChannelSettings:
$ref: "/doc/swagger/include/FreqTracker.yaml#/FreqTrackerSettings"
FT8DemodSettings:
$ref: "/doc/swagger/include/FT8Demod.yaml#/FT8DemodSettings"
RTTYDemodSettings:
$ref: "/doc/swagger/include/RTTYDemod.yaml#/RTTYDemodSettings"
HeatMapSettings:
$ref: "/doc/swagger/include/HeatMap.yaml#/HeatMapSettings"
ILSDemodSettings:
@ -99,6 +97,8 @@ ChannelSettings:
$ref: "/doc/swagger/include/PacketMod.yaml#/PacketModSettings"
PagerDemodSettings:
$ref: "/doc/swagger/include/PagerDemod.yaml#/PagerDemodSettings"
PSK31ModSettings:
$ref: "/doc/swagger/include/PSK31Mod.yaml#/PSK31ModSettings"
RadioAstronomySettings:
$ref: "/doc/swagger/include/RadioAstronomy.yaml#/RadioAstronomySettings"
RadioClockSettings:
@ -111,6 +111,10 @@ ChannelSettings:
$ref: "/doc/swagger/include/RemoteSource.yaml#/RemoteSourceSettings"
RemoteTCPSinkSettings:
$ref: "/doc/swagger/include/RemoteTCPSink.yaml#/RemoteTCPSinkSettings"
RTTYDemodSettings:
$ref: "/doc/swagger/include/RTTYDemod.yaml#/RTTYDemodSettings"
RTTYModSettings:
$ref: "/doc/swagger/include/RTTYMod.yaml#/RTTYModSettings"
SigMFFileSinkSettings:
$ref: "/doc/swagger/include/SigMFFileSink.yaml#/SigMFFileSinkSettings"
SSBModSettings:

View File

@ -15,6 +15,8 @@ DeviceReport:
$ref: "/doc/swagger/include/Airspy.yaml#/AirspyReport"
airspyHFReport:
$ref: "/doc/swagger/include/AirspyHF.yaml#/AirspyHFReport"
androidSDRDriverInputReport:
$ref: "/doc/swagger/include/AndroidSDRDriverInput.yaml#/AndroidSDRDriverInputReport"
bladeRF2InputReport:
$ref: "/doc/swagger/include/BladeRF2.yaml#/BladeRF2InputReport"
bladeRF2OutputReport:

View File

@ -18,6 +18,8 @@ DeviceSettings:
$ref: "/doc/swagger/include/Airspy.yaml#/AirspySettings"
airspyHFSettings:
$ref: "/doc/swagger/include/AirspyHF.yaml#/AirspyHFSettings"
androidSDRDriverInputSettings:
$ref: "/doc/swagger/include/AndroidSDRDriverInput.yaml#/AndroidSDRDriverInputSettings"
audioCATSISOSettings:
$ref: "/doc/swagger/include/AudioCATSISO.yaml#/AudioCATSISOSettings"
audioInputSettings:

View File

@ -29,10 +29,12 @@ GS232ControllerSettings:
type: string
azimuthOffset:
description: Azimuth offset in degrees
type: integer
type: number
format: float
elevationOffset:
description: Elevation offset in degrees
type: integer
type: number
format: float
azimuthMin:
description: Minimum azimuth the controller will output
type: integer

View File

@ -31,7 +31,7 @@ LocalSinkSettings:
type: integer
description: >
Activate FFT multiband filter
* 0 - do not run flter
* 0 - do not run filter
* 1 - run filter
log2FFT:
description: log2 of FFT size.
@ -55,7 +55,7 @@ LocalSinkSettings:
$ref: "/doc/swagger/include/LocalSink.yaml#/FFTBand"
reverseFilter:
type: integer
descrption: >
description: >
* 0 - band definitions are bandpass
* 1 - band definitions are band reject
streamIndex:
@ -88,4 +88,4 @@ FFTBand:
bandwidth:
type: number
format: float
desctiption: bandwidth ratio [0.0, 1.0]
description: bandwidth ratio [0.0, 1.0]

View File

@ -0,0 +1,100 @@
PSK31ModSettings:
description: PSK31Mod
properties:
inputFrequencyOffset:
type: integer
format: int64
rfBandwidth:
type: integer
gain:
type: number
format: float
channelMute:
type: integer
repeat:
type: integer
repeatCount:
type: integer
lpfTaps:
type: integer
rfNoise:
type: integer
description: >
Boolean
* 0 - off
* 1 - on
text:
type: string
description: Text to transmit
pulseShaping:
type: integer
description: >
Boolean
* 0 - off
* 1 - on
beta:
type: number
format: float
symbolSpan:
type: integer
prefixCRLF:
type: integer
postfixCRLF:
type: integer
udpEnabled:
description: "Whether to receive text to transmit on specified UDP port"
type: integer
udpAddress:
description: "UDP address to receive text to transmit via"
type: string
udpPort:
description: "UDP port to receive text to transmit via"
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
channelMarker:
$ref: "/doc/swagger/include/ChannelMarker.yaml#/ChannelMarker"
rollupState:
$ref: "/doc/swagger/include/RollupState.yaml#/RollupState"
PSK31ModReport:
description: PSK31Mod
properties:
channelPowerDB:
description: power transmitted in channel (dB)
type: number
format: float
channelSampleRate:
type: integer
PSK31ModActions:
description: PSK31Mod
properties:
tx:
type: integer
description: >
Transmit current text
* 0 - Do nothing
* 1 - Transmit
payload:
type: object
properties:
text:
description: PSK31 content to transmit
type: string

View File

@ -0,0 +1,114 @@
RTTYModSettings:
description: RTTYMod
properties:
inputFrequencyOffset:
type: integer
format: int64
baud:
type: number
format: float
description: Baud rate
rfBandwidth:
type: integer
frequencyShift:
type: integer
gain:
type: number
format: float
channelMute:
type: integer
repeat:
type: integer
repeatCount:
type: integer
lpfTaps:
type: integer
rfNoise:
type: integer
description: >
Boolean
* 0 - off
* 1 - on
text:
type: string
description: Text to transmit
pulseShaping:
type: integer
description: >
Boolean
* 0 - off
* 1 - on
beta:
type: number
format: float
symbolSpan:
type: integer
characterSet:
type: integer
unshiftOnSpace:
type: integer
msbFirst:
type: integer
spaceHigh:
type: integer
prefixCRLF:
type: integer
postfixCRLF:
type: integer
udpEnabled:
description: "Whether to receive text to transmit on specified UDP port"
type: integer
udpAddress:
description: "UDP address to receive text to transmit via"
type: string
udpPort:
description: "UDP port to receive text to transmit via"
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
channelMarker:
$ref: "/doc/swagger/include/ChannelMarker.yaml#/ChannelMarker"
rollupState:
$ref: "/doc/swagger/include/RollupState.yaml#/RollupState"
RTTYModReport:
description: RTTYMod
properties:
channelPowerDB:
description: power transmitted in channel (dB)
type: number
format: float
channelSampleRate:
type: integer
RTTYModActions:
description: RTTYMod
properties:
tx:
type: integer
description: >
Transmit current text
* 0 - Do nothing
* 1 - Transmit
payload:
type: object
properties:
text:
description: RTTY content to transmit
type: string

View File

@ -96,4 +96,5 @@ PSK31ModActions:
type: object
properties:
text:
description: PSK31 content to transmit
type: string

View File

@ -110,4 +110,5 @@ RTTYModActions:
type: object
properties:
text:
description: RTTY content to transmit
type: string

View File

@ -2343,6 +2343,72 @@ margin-bottom: 20px;
}
},
"description" : "Airspy"
};
defs.AndroidSDRDriverInputReport = {
"properties" : {
"sampleRate" : {
"type" : "integer"
}
},
"description" : "AndroidSDRDriverInput"
};
defs.AndroidSDRDriverInputSettings = {
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "int64"
},
"loPpmCorrection" : {
"type" : "integer"
},
"dcBlock" : {
"type" : "integer"
},
"iqCorrection" : {
"type" : "integer"
},
"biasTee" : {
"type" : "integer"
},
"directSampling" : {
"type" : "integer"
},
"devSampleRate" : {
"type" : "integer"
},
"log2Decim" : {
"type" : "integer"
},
"gain" : {
"type" : "integer"
},
"agc" : {
"type" : "integer"
},
"rfBW" : {
"type" : "integer"
},
"sampleBits" : {
"type" : "integer"
},
"dataPort" : {
"type" : "integer"
},
"useReverseAPI" : {
"type" : "integer",
"description" : "Synchronize with reverse API (1 for yes, 0 for no)"
},
"reverseAPIAddress" : {
"type" : "string"
},
"reverseAPIPort" : {
"type" : "integer"
},
"reverseAPIDeviceIndex" : {
"type" : "integer"
}
},
"description" : "AndroidSDRDriverInput"
};
defs.AntennaToolsSettings = {
"properties" : {
@ -5427,6 +5493,9 @@ margin-bottom: 20px;
"airspyHFReport" : {
"$ref" : "#/definitions/AirspyHFReport"
},
"androidSDRDriverInputReport" : {
"$ref" : "#/definitions/AndroidSDRDriverInputReport"
},
"bladeRF2InputReport" : {
"$ref" : "#/definitions/BladeRF2InputReport"
},
@ -5582,6 +5651,9 @@ margin-bottom: 20px;
"airspyHFSettings" : {
"$ref" : "#/definitions/AirspyHFSettings"
},
"androidSDRDriverInputSettings" : {
"$ref" : "#/definitions/AndroidSDRDriverInputSettings"
},
"audioCATSISOSettings" : {
"$ref" : "#/definitions/AudioCATSISOSettings"
},
@ -10547,7 +10619,8 @@ margin-bottom: 20px;
defs.PSK31ModActions_payload = {
"properties" : {
"text" : {
"type" : "string"
"type" : "string",
"description" : "PSK31 content to transmit"
}
}
};
@ -11908,10 +11981,18 @@ margin-bottom: 20px;
"description" : "Transmit current text\n * 0 - Do nothing\n * 1 - Transmit\n"
},
"payload" : {
"$ref" : "#/definitions/PSK31ModActions_payload"
"$ref" : "#/definitions/RTTYModActions_payload"
}
},
"description" : "RTTYMod"
};
defs.RTTYModActions_payload = {
"properties" : {
"text" : {
"type" : "string",
"description" : "RTTY content to transmit"
}
}
};
defs.RTTYModReport = {
"properties" : {
@ -58125,7 +58206,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2023-09-06T16:40:34.426+02:00
Generated 2023-09-13T05:10:07.874+02:00
</div>
</div>
</div>

View File

@ -258,6 +258,7 @@
#include "SWGRTTYDemodReport.h"
#include "SWGRTTYDemodSettings.h"
#include "SWGRTTYModActions.h"
#include "SWGRTTYModActions_payload.h"
#include "SWGRTTYModReport.h"
#include "SWGRTTYModSettings.h"
#include "SWGRadioAstronomyActions.h"
@ -1589,6 +1590,11 @@ namespace SWGSDRangel {
obj->init();
return obj;
}
if(QString("SWGRTTYModActions_payload").compare(type) == 0) {
SWGRTTYModActions_payload *obj = new SWGRTTYModActions_payload();
obj->init();
return obj;
}
if(QString("SWGRTTYModReport").compare(type) == 0) {
SWGRTTYModReport *obj = new SWGRTTYModReport();
obj->init();