diff --git a/sdrbase/resources/webapi/doc/html2/index.html b/sdrbase/resources/webapi/doc/html2/index.html
index 5fbc3a8d2..c3fee14f1 100644
--- a/sdrbase/resources/webapi/doc/html2/index.html
+++ b/sdrbase/resources/webapi/doc/html2/index.html
@@ -791,12 +791,6 @@ margin-bottom: 20px;
"type" : "integer",
"description" : "Number of input samples used to represent each bit."
},
- "correlateFullPreamble" : {
- "type" : "integer",
- "description" : "Correlate on part or full preamble\n * 0 - part\n * 1 - full\n",
- "minimum" : 0,
- "maximum" : 1
- },
"demodModeS" : {
"type" : "integer",
"description" : "Demodulate all mode S frames or just ADS-B\n * 0 - just ADS-B\n * 1 - All mode S\n",
@@ -814,7 +808,7 @@ margin-bottom: 20px;
},
"removeTimeout" : {
"type" : "integer",
- "description" : "Time after which an inactive tracked item is removed."
+ "description" : "Seconds without a frame after which an aircraft is removed from the display."
},
"feedEnabled" : {
"type" : "integer",
@@ -881,7 +875,7 @@ margin-bottom: 20px;
"importPeriod" : {
"type" : "number",
"format" : "float",
- "description" : "Import period setting for ADS-B demod."
+ "description" : "How often to import aircraft from the configured web service, in seconds."
},
"importMinLatitude" : {
"type" : "string",
@@ -994,11 +988,11 @@ margin-bottom: 20px;
"trackerDeviceFrequency" : {
"type" : "integer",
"format" : "int64",
- "description" : "Center frequency of tracker device"
+ "description" : "Centre frequency of the tracking device, in Hz."
},
"trackerChannelOffset" : {
"type" : "integer",
- "description" : "Tracker channel offset from device center frequency"
+ "description" : "Tracker channel offset from the device centre frequency, in Hz."
}
},
"description" : "AFC report"
@@ -1036,11 +1030,11 @@ margin-bottom: 20px;
"targetFrequency" : {
"type" : "integer",
"format" : "int64",
- "description" : "Target frequency for the tracker"
+ "description" : "Frequency the tracker should settle on, in Hz."
},
"freqTolerance" : {
"type" : "integer",
- "description" : "Frequency shift tolerance before tracker frequency is (re)adjusted"
+ "description" : "Frequency error in Hz that is tolerated before the tracker frequency is adjusted again."
},
"trackerAdjustPeriod" : {
"type" : "integer",
@@ -1115,7 +1109,9 @@ margin-bottom: 20px;
"correlationThreshold" : {
"type" : "number",
"format" : "float",
- "description" : "Normalised correlation threshold with the preamble, from 0 to 1"
+ "description" : "Normalised correlation threshold with the preamble, from 0 to 1",
+ "minimum" : 0,
+ "maximum" : 1
},
"udpEnabled" : {
"type" : "integer",
@@ -1135,7 +1131,9 @@ margin-bottom: 20px;
},
"udpFormat" : {
"type" : "integer",
- "description" : "0 for binary, 1 for NMEA"
+ "description" : "0 for binary, 1 for NMEA",
+ "minimum" : 0,
+ "maximum" : 1
},
"logFilename" : {
"type" : "string",
@@ -1428,6 +1426,26 @@ margin-bottom: 20px;
}
},
"description" : "AISMod"
+};
+ defs.AISReport = {
+ "properties" : {
+ "reportDateTime" : {
+ "type" : "string",
+ "description" : "When this snapshot was taken, ISO 8601."
+ },
+ "vesselCount" : {
+ "type" : "integer",
+ "description" : "Number of vessels currently held."
+ },
+ "vessels" : {
+ "type" : "array",
+ "description" : "The vessels heard.",
+ "items" : {
+ "$ref" : "#/definitions/AISVessel"
+ }
+ }
+ },
+ "description" : "Vessels heard by the AIS feature, which collects the decoded messages of every AIS demodulator in the instance. A field is present only once a message carrying it has been received, so an absent position means unknown rather than zero.\n"
};
defs.AISSettings = {
"properties" : {
@@ -1483,6 +1501,91 @@ margin-bottom: 20px;
}
},
"description" : "AIS settings"
+};
+ defs.AISVessel = {
+ "properties" : {
+ "mmsi" : {
+ "type" : "string",
+ "description" : "Maritime Mobile Service Identity, nine digits. The only field always present."
+ },
+ "name" : {
+ "type" : "string",
+ "description" : "Vessel name, from a static and voyage related message or an aid-to-navigation report."
+ },
+ "callsign" : {
+ "type" : "string",
+ "description" : "Radio callsign."
+ },
+ "imo" : {
+ "type" : "string",
+ "description" : "IMO number, where transmitted."
+ },
+ "country" : {
+ "type" : "string",
+ "description" : "Flag state, derived from the MMSI maritime identification digits."
+ },
+ "type" : {
+ "type" : "string",
+ "description" : "What is transmitting: Vessel, Base station, Aircraft or Aid-to-nav."
+ },
+ "shipType" : {
+ "type" : "string",
+ "description" : "Ship and cargo type, such as Cargo or Tug."
+ },
+ "latitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Latitude in decimal degrees, north positive.",
+ "minimum" : -90,
+ "maximum" : 90
+ },
+ "longitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Longitude in decimal degrees, east positive.",
+ "minimum" : -180,
+ "maximum" : 180
+ },
+ "course" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Course over ground in degrees true."
+ },
+ "speed" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Speed over ground in knots."
+ },
+ "heading" : {
+ "type" : "integer",
+ "description" : "True heading in degrees, which differs from course when set and drift apply."
+ },
+ "status" : {
+ "type" : "string",
+ "description" : "Navigational status, such as Under way using engine or At anchor."
+ },
+ "length" : {
+ "type" : "integer",
+ "description" : "Overall length in metres."
+ },
+ "destination" : {
+ "type" : "string",
+ "description" : "Destination as entered by the crew."
+ },
+ "positionUpdate" : {
+ "type" : "string",
+ "description" : "When the position was last updated, ISO 8601."
+ },
+ "lastUpdate" : {
+ "type" : "string",
+ "description" : "When any field was last updated, ISO 8601."
+ },
+ "messages" : {
+ "type" : "integer",
+ "description" : "Messages received from this vessel."
+ }
+ },
+ "description" : "Vessel heard by the AIS feature"
};
defs.AMBEActions = {
"properties" : {
@@ -1658,7 +1761,9 @@ margin-bottom: 20px;
},
"bandpassEnable" : {
"type" : "integer",
- "description" : "use bandpass filter (1 for yes, 0 for no)"
+ "description" : "use bandpass filter (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"rgbColor" : {
"type" : "integer",
@@ -1682,7 +1787,9 @@ margin-bottom: 20px;
},
"frequencyMode" : {
"type" : "integer",
- "description" : "(0 for Offset, 1 for MW, 2 for 25k, 3 for 8.33k)"
+ "description" : "(0 for Offset, 1 for MW, 2 for 25k, 3 for 8.33k)",
+ "minimum" : 0,
+ "maximum" : 3
},
"frequency" : {
"type" : "integer",
@@ -1765,7 +1872,9 @@ margin-bottom: 20px;
"modFactor" : {
"type" : "number",
"format" : "float",
- "description" : "modulation factor from 0.0 to 1.0"
+ "description" : "modulation factor from 0.0 to 1.0",
+ "minimum" : 0,
+ "maximum" : 1
},
"toneFrequency" : {
"type" : "number",
@@ -1847,6 +1956,36 @@ margin-bottom: 20px;
}
},
"description" : "AMMod"
+};
+ defs.APRSReport = {
+ "properties" : {
+ "runningState" : {
+ "type" : "integer",
+ "description" : "Running state\n * 0 - not started\n * 1 - idle\n * 2 - running\n * 3 - error\n",
+ "minimum" : 0,
+ "maximum" : 3
+ },
+ "reportDateTime" : {
+ "type" : "string",
+ "description" : "When this snapshot was taken, ISO 8601."
+ },
+ "stationCount" : {
+ "type" : "integer",
+ "description" : "Number of stations and objects currently held."
+ },
+ "packetCount" : {
+ "type" : "integer",
+ "description" : "Packets received across all stations."
+ },
+ "stations" : {
+ "type" : "array",
+ "description" : "The stations and objects heard.",
+ "items" : {
+ "$ref" : "#/definitions/APRSStation"
+ }
+ }
+ },
+ "description" : "Stations and objects heard by the APRS feature, which collects the AX.25 packets of every packet demodulator in the instance. A field is present only once a packet carrying it has been received.\n"
};
defs.APRSSettings = {
"properties" : {
@@ -2000,6 +2139,114 @@ margin-bottom: 20px;
}
},
"description" : "APRS settings"
+};
+ defs.APRSStation = {
+ "properties" : {
+ "callsign" : {
+ "type" : "string",
+ "description" : "Station callsign with SSID, or the name of the object or item."
+ },
+ "isObject" : {
+ "type" : "integer",
+ "description" : "1 when this is an object or item rather than a station.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "reportingStation" : {
+ "type" : "string",
+ "description" : "Callsign that reported this object. Empty for a station."
+ },
+ "symbol" : {
+ "type" : "string",
+ "description" : "APRS symbol identifier."
+ },
+ "latitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Latitude in decimal degrees, north positive.",
+ "minimum" : -90,
+ "maximum" : 90
+ },
+ "longitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Longitude in decimal degrees, east positive.",
+ "minimum" : -180,
+ "maximum" : 180
+ },
+ "altitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Altitude in metres above mean sea level."
+ },
+ "course" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Course in degrees true."
+ },
+ "speed" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Speed in km/h."
+ },
+ "status" : {
+ "type" : "string",
+ "description" : "Latest status text."
+ },
+ "comment" : {
+ "type" : "string",
+ "description" : "Latest position comment."
+ },
+ "powerWatts" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Transmitter power in watts, from a reported PHG value."
+ },
+ "antennaHeight" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Antenna height above average terrain in metres, from a reported PHG value."
+ },
+ "antennaGain" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Antenna gain in dB, from a reported PHG value."
+ },
+ "antennaDirectivity" : {
+ "type" : "string",
+ "description" : "Antenna directivity, from a reported PHG value."
+ },
+ "radioRange" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Reported range in km."
+ },
+ "hasWeather" : {
+ "type" : "integer",
+ "description" : "1 when weather reports have been received from this station.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "hasTelemetry" : {
+ "type" : "integer",
+ "description" : "1 when telemetry has been received from this station.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "telemetryProjectName" : {
+ "type" : "string",
+ "description" : "Telemetry project name, where reported."
+ },
+ "packets" : {
+ "type" : "integer",
+ "description" : "Packets received from this station."
+ },
+ "lastPacketDateTime" : {
+ "type" : "string",
+ "description" : "When the most recent packet was received, ISO 8601."
+ }
+ },
+ "description" : "Station or object heard by the APRS feature"
};
defs.APTDemodActions = {
"properties" : {
@@ -2209,7 +2456,9 @@ margin-bottom: 20px;
},
"halfImage" : {
"type" : "integer",
- "description" : "(boolean) 1 for m_fltRatioOfRowsToDisplay = 0.5, 0 for m_fltRatioOfRowsToDisplay = 1.0"
+ "description" : "Display only half of the image rows\n * 0 - display all rows\n * 1 - display half the rows\n",
+ "minimum" : 0,
+ "maximum" : 1
},
"RFBandwidthFactor" : {
"type" : "integer",
@@ -2229,7 +2478,9 @@ margin-bottom: 20px;
},
"enmModulation" : {
"type" : "integer",
- "description" : "see ATVDemodSettings::ATVModulation"
+ "description" : "Modulation of the received ATV signal\n * 0 - FM with discriminator 1\n * 1 - FM with discriminator 2\n * 2 - FM with phase derivative discriminator\n * 3 - AM\n * 4 - AM with vestigial lower sideband, signal in the upper sideband\n * 5 - AM with vestigial upper sideband, signal in the lower sideband\n",
+ "minimum" : 0,
+ "maximum" : 5
},
"fltRFBandwidth" : {
"type" : "number",
@@ -2271,7 +2522,9 @@ margin-bottom: 20px;
},
"enmATVStandard" : {
"type" : "integer",
- "description" : "see ATVDemodSettings::ATVStd"
+ "description" : "Television standard, which sets the line count and timings\n * 0 - PAL 625 lines\n * 1 - PAL 525 lines\n * 2 - 819 lines\n * 3 - short, interleaved\n * 4 - short\n * 5 - horizontal sync skip\n",
+ "minimum" : 0,
+ "maximum" : 5
},
"intNumberOfLines" : {
"type" : "integer",
@@ -2652,7 +2905,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 8
},
"transverterMode" : {
"type" : "integer",
@@ -2703,7 +2958,9 @@ margin-bottom: 20px;
},
"agcHigh" : {
"type" : "integer",
- "description" : "AGC threshold (1 for high, 0 for low)"
+ "description" : "AGC threshold (1 for high, 0 for low)",
+ "minimum" : 0,
+ "maximum" : 1
},
"useDSP" : {
"type" : "integer",
@@ -2769,15 +3026,21 @@ margin-bottom: 20px;
},
"lnaGain" : {
"type" : "integer",
- "description" : "Low-noise-amplifier gain setting."
+ "description" : "Low noise amplifier gain as a step index, not a dB value. Ignored when lnaAGC is enabled.",
+ "minimum" : 0,
+ "maximum" : 14
},
"mixerGain" : {
"type" : "integer",
- "description" : "Mixer gain setting for Airspy."
+ "description" : "Mixer gain as a step index, not a dB value. Ignored when mixerAGC is enabled.",
+ "minimum" : 0,
+ "maximum" : 15
},
"vgaGain" : {
"type" : "integer",
- "description" : "Variable-gain-amplifier gain setting."
+ "description" : "Variable gain amplifier (IF) gain as a step index, not a dB value.",
+ "minimum" : 0,
+ "maximum" : 15
},
"lnaAGC" : {
"type" : "integer",
@@ -2789,11 +3052,15 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 6
},
"fcPos" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"biasT" : {
"type" : "integer",
@@ -4308,7 +4575,9 @@ margin-bottom: 20px;
},
"mode" : {
"type" : "integer",
- "description" : "see enum CWKeyerSettings::CWMode"
+ "description" : "Source of the keying\n * 0 - none, key up\n * 1 - send the text in the text field\n * 2 - send continuous dots\n * 3 - send continuous dashes\n * 4 - key from the keyboard\n",
+ "minimum" : 0,
+ "maximum" : 4
},
"text" : {
"type" : "string",
@@ -4320,23 +4589,25 @@ margin-bottom: 20px;
},
"keyboardIambic" : {
"type" : "integer",
- "description" : "1 for iambic input 0 for straight input using the keyboard"
+ "description" : "1 for iambic input 0 for straight input using the keyboard",
+ "minimum" : 0,
+ "maximum" : 1
},
"dotKey" : {
"type" : "integer",
- "description" : "key for dots keyboard input. See enum Qt::Key"
+ "description" : "Keyboard key that sends dots. Key code as a Qt key value, for example 32 (0x20) for space and 65 (0x41) for A. Letter keys use the upper case code. 0 for no key.\n"
},
"dotKeyModifiers" : {
"type" : "integer",
- "description" : "key modifier for dots keyboard input. See flags Qt::KeyboardModifiers"
+ "description" : "Modifiers for the dot key. Modifier keys held with the key, as a sum of flags: 33554432 (0x02000000) shift, 67108864 (0x04000000) control, 134217728 (0x08000000) alt, 268435456 (0x10000000) meta. 0 for no modifier.\n"
},
"dashKey" : {
"type" : "integer",
- "description" : "key for dashes keyboard input. See enum Qt::Key"
+ "description" : "Keyboard key that sends dashes. Key code as a Qt key value, for example 32 (0x20) for space and 65 (0x41) for A. Letter keys use the upper case code. 0 for no key.\n"
},
"dashKeyModifiers" : {
"type" : "integer",
- "description" : "key modifier for dashes keyboard input. See flags Qt::KeyboardModifiers"
+ "description" : "Modifiers for the dash key. Modifier keys held with the key, as a sum of flags: 33554432 (0x02000000) shift, 67108864 (0x04000000) control, 134217728 (0x08000000) alt, 268435456 (0x10000000) meta. 0 for no modifier.\n"
}
}
};
@@ -4418,7 +4689,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"originatorDeviceSetIndex" : {
"type" : "integer",
@@ -4562,7 +4835,9 @@ margin-bottom: 20px;
},
"inputType" : {
"type" : "integer",
- "description" : "see ChannelAnalyzerSettings::InputType"
+ "description" : "Signal fed to the analyser\n * 0 - the channel signal\n * 1 - the PLL output\n * 2 - the autocorrelation of the signal\n",
+ "minimum" : 0,
+ "maximum" : 2
},
"rgbColor" : {
"type" : "integer",
@@ -4678,7 +4953,9 @@ margin-bottom: 20px;
},
"frequencyScaleDisplayType" : {
"type" : "integer",
- "description" : "ChannelMarker::frequencyScaleDisplay_t"
+ "description" : "What is written against the channel on the frequency scale\n * 0 - the frequency\n * 1 - the channel title\n * 2 - the send address\n * 3 - the receive address\n * 4 - nothing\n",
+ "minimum" : 0,
+ "maximum" : 4
}
},
"description" : "ChannelMarker settings"
@@ -4721,7 +4998,9 @@ margin-bottom: 20px;
},
"frequencyMode" : {
"type" : "integer",
- "description" : "(0 for Offset, 1 for Absolute)"
+ "description" : "(0 for Offset, 1 for Absolute)",
+ "minimum" : 0,
+ "maximum" : 1
},
"frequency" : {
"type" : "integer",
@@ -4799,7 +5078,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"ADSBDemodReport" : {
"description" : "ADS-B demod report data for Channel.",
@@ -4829,6 +5110,10 @@ margin-bottom: 20px;
"description" : "BFM demod report data for Channel.",
"$ref" : "#/definitions/BFMDemodReport"
},
+ "DABDemodReport" : {
+ "description" : "DAB demod report data for Channel.",
+ "$ref" : "#/definitions/DABDemodReport"
+ },
"ChannelPowerReport" : {
"description" : "Channel power report data for Channel.",
"$ref" : "#/definitions/ChannelPowerReport"
@@ -5038,7 +5323,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"originatorDeviceSetIndex" : {
"type" : "integer",
@@ -5360,7 +5647,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 bytes sync word (0..65535)"
+ "description" : "2 bytes sync word (0..65535)",
+ "minimum" : 0,
+ "maximum" : 65535
},
"hasCRC" : {
"type" : "integer",
@@ -5644,7 +5933,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 byte (0..65535) synchronization syncWord"
+ "description" : "2 byte (0..65535) synchronization syncWord",
+ "minimum" : 0,
+ "maximum" : 65535
},
"channelMute" : {
"type" : "integer",
@@ -5828,11 +6119,11 @@ margin-bottom: 20px;
},
"key" : {
"type" : "integer",
- "description" : "Qt::Key"
+ "description" : "Keyboard key that triggers the command. Key code as a Qt key value, for example 32 (0x20) for space and 65 (0x41) for A. Letter keys use the upper case code. 0 for no key.\n"
},
"keyModifiers" : {
"type" : "integer",
- "description" : "Qt::KeyboardModifiers"
+ "description" : "Modifiers for the trigger key. Modifier keys held with the key, as a sum of flags: 33554432 (0x02000000) shift, 67108864 (0x04000000) control, 134217728 (0x08000000) alt, 268435456 (0x10000000) meta. 0 for no modifier.\n"
},
"associateKey" : {
"type" : "integer",
@@ -5936,6 +6227,111 @@ margin-bottom: 20px;
}
},
"description" : "Configuration presets"
+};
+ defs.DABDemodReport = {
+ "properties" : {
+ "channelPowerDB" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Average power in the demodulator channel in dB."
+ },
+ "channelSampleRate" : {
+ "type" : "integer",
+ "description" : "Effective complex channel sample rate in samples per second. DAB requires 2048000."
+ },
+ "audioSampleRate" : {
+ "type" : "integer",
+ "description" : "Audio output sample rate in samples per second."
+ },
+ "sync" : {
+ "type" : "integer",
+ "description" : "DAB synchronization state (1 synchronized, 0 not synchronized).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "snr" : {
+ "type" : "integer",
+ "description" : "DAB decoder signal-to-noise ratio in dB. A value of 0 dB or less after synchronization and audio become active is not a healthy result and can indicate receiver overload. With an RTL-SDR, reduce tuner gain through its supported values, wait briefly after each change, and re-read this report. Select the gain that gives the best positive SNR rather than assuming that higher gain is better.\n"
+ },
+ "frequencyOffset" : {
+ "type" : "integer",
+ "description" : "Frequency offset estimated by the DAB decoder in Hz."
+ },
+ "ensembleName" : {
+ "type" : "string",
+ "description" : "Label of the currently decoded ensemble."
+ },
+ "ensembleId" : {
+ "type" : "integer",
+ "description" : "Identifier of the currently decoded ensemble."
+ },
+ "programs" : {
+ "type" : "array",
+ "description" : "Programme services discovered in the currently tuned ensemble.",
+ "items" : {
+ "$ref" : "#/DABProgram"
+ }
+ },
+ "selectedProgram" : {
+ "type" : "string",
+ "description" : "Exact service label currently requested by the program setting."
+ },
+ "audioActive" : {
+ "type" : "integer",
+ "description" : "Whether programme audio metadata has been received and audio decoding is active.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "bitrate" : {
+ "type" : "integer",
+ "description" : "Selected programme audio bitrate in kbit/s."
+ },
+ "audio" : {
+ "type" : "string",
+ "description" : "Selected programme audio codec and channel-mode description."
+ },
+ "language" : {
+ "type" : "string",
+ "description" : "Selected programme language."
+ },
+ "programType" : {
+ "type" : "string",
+ "description" : "Selected programme type, such as News or Pop Music."
+ },
+ "frameQuality" : {
+ "type" : "integer",
+ "description" : "Audio frame decode quality as a percentage.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
+ "reedSolomonQuality" : {
+ "type" : "integer",
+ "description" : "Reed-Solomon decode quality as a percentage.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
+ "aacQuality" : {
+ "type" : "integer",
+ "description" : "AAC decode quality as a percentage.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
+ "fibQuality" : {
+ "type" : "integer",
+ "description" : "Fast Information Block decode quality as a percentage.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
+ "tii" : {
+ "type" : "integer",
+ "description" : "Decoded Transmitter Identification Information value."
+ },
+ "data" : {
+ "type" : "string",
+ "description" : "Latest dynamic text/data associated with the selected programme."
+ }
+ },
+ "description" : "Live DAB demodulator, ensemble and selected-programme status. Synchronization, discovered programmes and active audio do not by themselves prove clean reception; check SNR after selecting a programme and after every receiver gain change.\n"
};
defs.DABDemodSettings = {
"properties" : {
@@ -6014,6 +6410,19 @@ margin-bottom: 20px;
}
},
"description" : "DABDemod"
+};
+ defs.DABProgram = {
+ "properties" : {
+ "name" : {
+ "type" : "string",
+ "description" : "Exact transmitted service label. Use this value for the program setting."
+ },
+ "id" : {
+ "type" : "integer",
+ "description" : "DAB service identifier."
+ }
+ },
+ "description" : "A programme service discovered in the currently tuned DAB ensemble."
};
defs.DATVDemodReport = {
"properties" : {
@@ -6030,7 +6439,9 @@ margin-bottom: 20px;
},
"audioDecodeOK" : {
"type" : "integer",
- "description" : "Audio decode (1 for OK, 0 for KO)"
+ "description" : "Audio decode (1 for OK, 0 for KO)",
+ "minimum" : 0,
+ "maximum" : 1
},
"videoActive" : {
"type" : "integer",
@@ -6040,7 +6451,9 @@ margin-bottom: 20px;
},
"videoDecodeOK" : {
"type" : "integer",
- "description" : "Video decode (1 for OK, 0 for KO)"
+ "description" : "Video decode (1 for OK, 0 for KO)",
+ "minimum" : 0,
+ "maximum" : 1
},
"udpRunning" : {
"type" : "integer",
@@ -6060,7 +6473,9 @@ margin-bottom: 20px;
},
"setByModcod" : {
"type" : "integer",
- "description" : "Modulation and code rate set by DVB-S2 MODCOD (1 for yes, 0 for no)"
+ "description" : "Modulation and code rate set by DVB-S2 MODCOD (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"mer" : {
"type" : "number",
@@ -6162,7 +6577,9 @@ margin-bottom: 20px;
"rollOff" : {
"type" : "number",
"format" : "float",
- "description" : "RRC filter roll-off factor (0..1)"
+ "description" : "RRC filter roll-off factor (0..1)",
+ "minimum" : 0,
+ "maximum" : 1
},
"viterbi" : {
"type" : "integer",
@@ -6315,7 +6732,9 @@ margin-bottom: 20px;
},
"imageOverlayTimestamp" : {
"type" : "integer",
- "description" : "Overlay timestamp on still image (1 for yes, 0 for no)"
+ "description" : "Overlay timestamp on still image (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"imageServiceProvider" : {
"type" : "string",
@@ -6408,15 +6827,21 @@ margin-bottom: 20px;
"properties" : {
"phi" : {
"type" : "integer",
- "description" : "Raw phase difference in degrees from 0 to 180"
+ "description" : "Raw phase difference in degrees from 0 to 180",
+ "minimum" : 0,
+ "maximum" : 180
},
"posAz" : {
"type" : "integer",
- "description" : "Calculated port side (positive) arrival angle in degrees from 0 to 180"
+ "description" : "Calculated port side (positive) arrival angle in degrees from 0 to 180",
+ "minimum" : 0,
+ "maximum" : 180
},
"negAz" : {
"type" : "integer",
- "description" : "Calculated starboard side (negative) arrival angle in degrees from 0 to 180"
+ "description" : "Calculated starboard side (negative) arrival angle in degrees from 0 to 180",
+ "minimum" : 0,
+ "maximum" : 180
},
"blindAngle" : {
"type" : "integer",
@@ -6461,11 +6886,15 @@ margin-bottom: 20px;
},
"antennaAz" : {
"type" : "integer",
- "description" : "Antennas azimuth from antenna 1 to antenna 2 in degrees from 0 to 359"
+ "description" : "Antennas azimuth from antenna 1 to antenna 2 in degrees from 0 to 359",
+ "minimum" : 0,
+ "maximum" : 359
},
"basebandDistance" : {
"type" : "integer",
- "description" : "Antennas baseline distance in millimeters from 1 to 99999"
+ "description" : "Antennas baseline distance in millimeters from 1 to 99999",
+ "minimum" : 1,
+ "maximum" : 99999
},
"squelchdB" : {
"type" : "integer",
@@ -6787,11 +7216,15 @@ margin-bottom: 20px;
},
"traceStroke" : {
"type" : "integer",
- "description" : "0 to 255"
+ "description" : "0 to 255",
+ "minimum" : 0,
+ "maximum" : 255
},
"traceDecay" : {
"type" : "integer",
- "description" : "0 to 255"
+ "description" : "0 to 255",
+ "minimum" : 0,
+ "maximum" : 255
},
"streamIndex" : {
"type" : "integer",
@@ -7050,7 +7483,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"originatorIndex" : {
"type" : "integer",
@@ -7135,7 +7570,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"airspyReport" : {
"description" : "Airspy report data for Device.",
@@ -7322,7 +7759,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"originatorIndex" : {
"type" : "integer",
@@ -8289,6 +8728,18 @@ margin-bottom: 20px;
"type" : "string",
"description" : "Feature type code"
},
+ "AISReport" : {
+ "description" : "Ais report data for Feature.",
+ "$ref" : "#/definitions/AISReport"
+ },
+ "APRSReport" : {
+ "description" : "Aprs report data for Feature.",
+ "$ref" : "#/definitions/APRSReport"
+ },
+ "RadiosondeReport" : {
+ "description" : "Radiosonde report data for Feature.",
+ "$ref" : "#/definitions/RadiosondeReport"
+ },
"AFCReport" : {
"description" : "Afc report data for Feature.",
"$ref" : "#/definitions/AFCReport"
@@ -9262,31 +9713,31 @@ margin-bottom: 20px;
"frequency" : {
"type" : "integer",
"format" : "int64",
- "description" : "Frequency in Hz."
+ "description" : "Frequency to scan, in Hz.\n"
},
"enabled" : {
"type" : "integer",
- "description" : "Enabled for Freq scanner frequency."
+ "description" : "Whether this frequency takes part in the scan (1 to scan it, 0 to skip it).\n"
},
"notes" : {
"type" : "string",
- "description" : "Notes for Freq scanner frequency."
+ "description" : "Free text note about this frequency, such as the station or service name.\n"
},
"channel" : {
"type" : "string",
- "description" : "Channel identifier or configuration."
+ "description" : "Overrides the scanner-wide channel for this frequency only, as a device set and channel index such as \"R1:0\". Empty to use the scanner's own channel setting.\n"
},
"channelBandwidth" : {
"type" : "string",
- "description" : "Channel bandwidth in Hz."
+ "description" : "Overrides the scanner-wide channel bandwidth in Hz for this frequency only. Empty to use the scanner's own setting.\n"
},
"threshold" : {
"type" : "string",
- "description" : "Threshold for Freq scanner frequency."
+ "description" : "Overrides the scanner-wide power threshold in dB for this frequency only. Empty to use the scanner's own setting.\n"
},
"squelch" : {
"type" : "string",
- "description" : "Squelch threshold in dB."
+ "description" : "Squelch threshold in dB to apply to the tuned channel when this frequency becomes active. Empty to leave the channel's own squelch alone.\n"
}
}
};
@@ -9314,20 +9765,20 @@ margin-bottom: 20px;
"properties" : {
"channelBandwidth" : {
"type" : "integer",
- "description" : "channel RF bandwidth in Hz"
+ "description" : "Bandwidth in Hz of each scanned channel.\n"
},
"channelShift" : {
"type" : "integer",
- "description" : "controlled channel frequency shift in Hz"
+ "description" : "Frequency shift in Hz applied to the tuned channel from the scanned frequency, for modes such as SSB or CW where the signal sits on one side of centre.\n"
},
"channelFrequencyOffset" : {
"type" : "integer",
- "description" : "channel center frequency shift from baseband center in Hz"
+ "description" : "Minimum frequency shift in Hz of the tuned channel from the centre of reception, used to keep it clear of a DC spike.\n"
},
"threshold" : {
"type" : "number",
"format" : "float",
- "description" : "Threshold setting for Freq scanner."
+ "description" : "Power threshold in dB above which a scanned frequency counts as active.\n"
},
"frequencies" : {
"type" : "array",
@@ -9338,34 +9789,34 @@ margin-bottom: 20px;
},
"channel" : {
"type" : "string",
- "description" : "Channel identifier or configuration."
+ "description" : "Channel that is tuned to the active frequency, as a device set and channel index, for example \"R1:0\" for channel 0 of receive device set 1.\n"
},
"scanTime" : {
"type" : "number",
"format" : "float",
- "description" : "Scan time setting for Freq scanner."
+ "description" : "Time in seconds that each power measurement is averaged over.\n"
},
"retransmitTime" : {
"type" : "number",
"format" : "float",
- "description" : "Retransmit time setting for Freq scanner."
+ "description" : "Time in seconds to wait after the power on the active frequency falls below the threshold before scanning restarts. In multiplex mode this is instead the time spent listening to each frequency.\n"
},
"tuneTime" : {
"type" : "number",
"format" : "float",
- "description" : "Tune time setting for Freq scanner."
+ "description" : "Time in milliseconds to wait after retuning the device before measuring, to allow for PLL settling and device to host transfer latency.\n"
},
"priority" : {
"type" : "integer",
- "description" : "Priority setting for Freq scanner."
+ "description" : "Which frequency becomes active when several are above the threshold\n * 0 - the one with the highest power\n * 1 - the one earliest in the frequency list\n"
},
"measurement" : {
"type" : "integer",
- "description" : "Measurement setting for Freq scanner."
+ "description" : "How channel power is measured from the FFT bins\n * 0 - peak, the highest bin\n * 1 - total, the sum of every bin\n"
},
"mode" : {
"type" : "integer",
- "description" : "Mode setting for Freq scanner."
+ "description" : "Run mode\n * 0 - single, scan every frequency once and stop\n * 1 - continuous, rescan when the active frequency goes quiet\n * 2 - scan only, measure repeatedly without ever tuning the channel\n * 3 - multiplex, step through the frequencies listening to each in turn\n"
},
"rgbColor" : {
"type" : "integer",
@@ -9454,7 +9905,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 6
},
"squelch" : {
"type" : "number",
@@ -9480,7 +9933,9 @@ margin-bottom: 20px;
},
"tracking" : {
"type" : "integer",
- "description" : "Tracking 1 for enabled 0 for disabled"
+ "description" : "Tracking 1 for enabled 0 for disabled",
+ "minimum" : 0,
+ "maximum" : 1
},
"trackerType" : {
"type" : "integer",
@@ -9492,7 +9947,9 @@ margin-bottom: 20px;
},
"rrc" : {
"type" : "integer",
- "description" : "RRC filter (1 for on, 0 for off)"
+ "description" : "RRC filter (1 for on, 0 for off)",
+ "minimum" : 0,
+ "maximum" : 1
},
"rrcRolloff" : {
"type" : "integer",
@@ -9599,7 +10056,9 @@ margin-bottom: 20px;
"properties" : {
"displayMode" : {
"type" : "integer",
- "description" : "see GLScopeSettings::DisplayMode"
+ "description" : "Arrangement of the two traces on the scope\n * 0 - X and Y side by side horizontally\n * 1 - X and Y stacked vertically\n * 2 - X only\n * 3 - Y only\n * 4 - polar, Y against X\n",
+ "minimum" : 0,
+ "maximum" : 4
},
"traceIntensity" : {
"type" : "integer",
@@ -9678,6 +10137,176 @@ margin-bottom: 20px;
"minimum" : 0,
"maximum" : 1
},
+ "display3DSpectrogram" : {
+ "type" : "integer",
+ "description" : "Display the 3D spectrogram instead of the 2D waterfall (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "spectrogramStyle" : {
+ "type" : "integer",
+ "description" : "Rendering style for the 3D spectrogram.\n * 0 - Points\n * 1 - Lines\n * 2 - Solid\n * 3 - Outline\n * 4 - Shaded (requires OpenGL 3.3 or later)\n",
+ "minimum" : 0,
+ "maximum" : 4
+ },
+ "truncateFreqScale" : {
+ "type" : "integer",
+ "description" : "Truncate the frequency scale to the displayed span (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "colorMap" : {
+ "type" : "string",
+ "description" : "Colour-map name used for waterfall and 3D spectrogram rendering."
+ },
+ "spectrumStyle" : {
+ "type" : "integer",
+ "description" : "Current spectrum trace style: 0 line, 1 filled, 2 gradient.",
+ "minimum" : 0,
+ "maximum" : 2
+ },
+ "measurement" : {
+ "type" : "integer",
+ "description" : "Measurement mode: 0 none, 1 peaks, 2 channel power, 3 adjacent-channel power, 4 occupied bandwidth, 5 3 dB bandwidth, 6 SNR, 7 mask.",
+ "minimum" : 0,
+ "maximum" : 7
+ },
+ "measurementCenterFrequencyOffset" : {
+ "type" : "integer",
+ "description" : "Measurement centre-frequency offset in Hz."
+ },
+ "measurementBandwidth" : {
+ "type" : "integer",
+ "description" : "Measurement bandwidth in Hz.",
+ "minimum" : 0
+ },
+ "measurementChSpacing" : {
+ "type" : "integer",
+ "description" : "Adjacent-channel measurement channel spacing in Hz.",
+ "minimum" : 0
+ },
+ "measurementAdjChBandwidth" : {
+ "type" : "integer",
+ "description" : "Adjacent-channel measurement bandwidth in Hz.",
+ "minimum" : 0
+ },
+ "measurementHarmonics" : {
+ "type" : "integer",
+ "description" : "Number of harmonics to measure.",
+ "minimum" : 0
+ },
+ "measurementPeaks" : {
+ "type" : "integer",
+ "description" : "Number of peaks to report.",
+ "minimum" : 0
+ },
+ "measurementHighlight" : {
+ "type" : "integer",
+ "description" : "Highlight the selected measurement (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "measurementsPosition" : {
+ "type" : "integer",
+ "description" : "Measurement panel position: 0 above, 1 below, 2 left, 3 right.",
+ "minimum" : 0,
+ "maximum" : 3
+ },
+ "measurementPrecision" : {
+ "type" : "integer",
+ "description" : "Decimal precision for measurement values.",
+ "minimum" : 0
+ },
+ "findHistogramPeaks" : {
+ "type" : "integer",
+ "description" : "Find peaks in the spectrum histogram (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "showControls" : {
+ "type" : "integer",
+ "description" : "Spectrum control visibility: 0 minimum, 1 standard, 2 all.",
+ "minimum" : 0,
+ "maximum" : 2
+ },
+ "frequencyZoomFactor" : {
+ "type" : "number",
+ "description" : "Horizontal frequency zoom factor.",
+ "minimum" : 1
+ },
+ "frequencyZoomPos" : {
+ "type" : "number",
+ "description" : "Horizontal frequency-zoom position as a fraction of the span.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "waterfallTimeUnits" : {
+ "type" : "integer",
+ "description" : "Waterfall time axis: 0 offset, 1 local time, 2 UTC.",
+ "minimum" : 0,
+ "maximum" : 2
+ },
+ "waterfallTimeFormat" : {
+ "type" : "string",
+ "description" : "Qt date/time format used for the waterfall time axis."
+ },
+ "scrollBar" : {
+ "type" : "integer",
+ "description" : "Enable waterfall/3D spectrogram scrolling (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "scrollLength" : {
+ "type" : "integer",
+ "description" : "Maximum waterfall/3D spectrogram history length.",
+ "minimum" : 1
+ },
+ "mathMode" : {
+ "type" : "integer",
+ "description" : "Spectrum math mode: 0 none, 1-4 moving-average modes, 5-10 saved-memory comparison modes.",
+ "minimum" : 0,
+ "maximum" : 10
+ },
+ "mathAvgCount" : {
+ "type" : "integer",
+ "description" : "Number of FFT frames used by spectrum math averaging.",
+ "minimum" : 1
+ },
+ "measurementMemMasks" : {
+ "type" : "integer",
+ "description" : "Bitmask selecting saved spectrum memories used as measurement masks.",
+ "minimum" : 0,
+ "maximum" : 3
+ },
+ "displayRBW" : {
+ "type" : "integer",
+ "description" : "Display resolution bandwidth (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayCursorStats" : {
+ "type" : "integer",
+ "description" : "Display cursor statistics (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayPeakStats" : {
+ "type" : "integer",
+ "description" : "Display peak statistics (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "spectrumMemory" : {
+ "type" : "array",
+ "description" : "Display settings for the two saved spectrum memories.",
+ "items" : {
+ "$ref" : "#/definitions/SpectrumMemorySettings"
+ }
+ },
+ "spectrumColor" : {
+ "type" : "integer",
+ "description" : "Current spectrum trace colour encoded as an RGB integer."
+ },
"invertedWaterfall" : {
"type" : "integer",
"description" : "boolean",
@@ -9735,7 +10364,9 @@ margin-bottom: 20px;
},
"averagingMode" : {
"type" : "integer",
- "description" : "See GLSpectrumGUI::AveragingMode"
+ "description" : "How successive FFTs are averaged\n * 0 - no averaging\n * 1 - moving average\n * 2 - fixed average over each block\n * 3 - maximum held over each block\n * 4 - minimum held over each block\n",
+ "minimum" : 0,
+ "maximum" : 4
},
"averagingValue" : {
"type" : "integer",
@@ -9805,6 +10436,12 @@ margin-bottom: 20px;
"$ref" : "#/definitions/SpectrumWaterfallMarker"
}
},
+ "annotationMarkersMode" : {
+ "type" : "integer",
+ "description" : "How annotationMarkers in the same request is applied. Replacing is what a PATCH of an array means and is what the other marker lists do, but it discards annotations already there, such as a loaded band plan. Append adds to them instead, so a caller adding one annotation need not read the list, modify it and write it back.\n * 0 - Replace the annotations with those given (the default)\n * 1 - Append those given to the annotations already there\n",
+ "minimum" : 0,
+ "maximum" : 1
+ },
"annotationMarkers" : {
"type" : "array",
"description" : "List of annotation markers.",
@@ -9912,7 +10549,9 @@ margin-bottom: 20px;
},
"track" : {
"type" : "integer",
- "description" : "Track a target where azimuth and elevation are determined by another plugin (1 for yes, 0 for no)"
+ "description" : "Track a target where azimuth and elevation are determined by another plugin (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"source" : {
"type" : "string",
@@ -10051,7 +10690,9 @@ margin-bottom: 20px;
},
"fcPos" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"devSampleRate" : {
"type" : "integer",
@@ -10148,7 +10789,9 @@ margin-bottom: 20px;
},
"fcPos" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"devSampleRate" : {
"type" : "integer",
@@ -10584,7 +11227,9 @@ margin-bottom: 20px;
},
"mode" : {
"type" : "integer",
- "description" : "(0 for LOC, 1 for G/S)"
+ "description" : "(0 for LOC, 1 for G/S)",
+ "minimum" : 0,
+ "maximum" : 1
},
"frequencyIndex" : {
"type" : "integer",
@@ -10789,7 +11434,9 @@ margin-bottom: 20px;
},
"udpFormat" : {
"type" : "integer",
- "description" : "0 for binary, 1 for NMEA"
+ "description" : "0 for binary, 1 for NMEA",
+ "minimum" : 0,
+ "maximum" : 1
},
"logFilename" : {
"type" : "string",
@@ -10989,7 +11636,9 @@ margin-bottom: 20px;
"properties" : {
"correlationType" : {
"type" : "integer",
- "description" : "see InterferometerSettings::CorrelationType"
+ "description" : "Operation applied to the two input streams\n * 0 - stream 0 only\n * 1 - stream 1 only\n * 2 - add the streams\n * 3 - multiply the streams\n * 4 - inverse FFT of the cross spectrum\n * 5 - inverse FFT of the conjugate cross spectrum\n * 6 - FFT of the cross spectrum\n * 7 - second form of the inverse FFT correlation\n",
+ "minimum" : 0,
+ "maximum" : 7
},
"rgbColor" : {
"type" : "integer",
@@ -11113,7 +11762,9 @@ margin-bottom: 20px;
"properties" : {
"status" : {
"type" : "integer",
- "description" : "0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected"
+ "description" : "0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected",
+ "minimum" : 0,
+ "maximum" : 4
},
"latitude" : {
"type" : "number",
@@ -11319,11 +11970,15 @@ margin-bottom: 20px;
},
"rxHAMChannel" : {
"type" : "integer",
- "description" : "Rx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n"
+ "description" : "Rx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n",
+ "minimum" : 0,
+ "maximum" : 8
},
"rxCellularChannel" : {
"type" : "integer",
- "description" : "Rx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n"
+ "description" : "Rx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n",
+ "minimum" : 0,
+ "maximum" : 4
},
"rxPort" : {
"type" : "integer",
@@ -11353,11 +12008,15 @@ margin-bottom: 20px;
},
"txHAMChannel" : {
"type" : "integer",
- "description" : "Tx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n"
+ "description" : "Tx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n",
+ "minimum" : 0,
+ "maximum" : 8
},
"txCellularChannel" : {
"type" : "integer",
- "description" : "Tx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n"
+ "description" : "Tx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n",
+ "minimum" : 0,
+ "maximum" : 4
},
"txPort" : {
"type" : "integer",
@@ -12558,11 +13217,15 @@ margin-bottom: 20px;
},
"traceStroke" : {
"type" : "integer",
- "description" : "0 to 255"
+ "description" : "0 to 255",
+ "minimum" : 0,
+ "maximum" : 255
},
"traceDecay" : {
"type" : "integer",
- "description" : "0 to 255"
+ "description" : "0 to 255",
+ "minimum" : 0,
+ "maximum" : 255
},
"audioDeviceName" : {
"type" : "string",
@@ -12828,7 +13491,9 @@ margin-bottom: 20px;
},
"port" : {
"type" : "integer",
- "description" : "TCP port the MCP server listens on"
+ "description" : "TCP port the MCP server listens on",
+ "minimum" : 1024,
+ "maximum" : 65535
},
"token" : {
"type" : "string",
@@ -13486,12 +14151,203 @@ margin-bottom: 20px;
"properties" : {
"displayNames" : {
"type" : "integer",
- "description" : "Display object names on the map (1 for yes, 0 for no)"
+ "description" : "Display object names on the map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "map2DEnabled" : {
+ "type" : "integer",
+ "description" : "Display the 2D map pane (1 for yes, 0 for no). Disable this while keeping map3DEnabled enabled to show only the 3D map.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "map3DEnabled" : {
+ "type" : "integer",
+ "description" : "Display the 3D map pane (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "mapProvider" : {
+ "type" : "string",
+ "description" : "2D map provider identifier."
+ },
+ "mapType" : {
+ "type" : "string",
+ "description" : "Selected 2D map type, for example Street Map or Satellite Map."
+ },
+ "osmURL" : {
+ "type" : "string",
+ "description" : "Custom OpenStreetMap tile-server URL."
+ },
+ "mapBoxStyles" : {
+ "type" : "string",
+ "description" : "Mapbox style identifier used by the selected 2D provider."
+ },
+ "displaySelectedGroundTracks" : {
+ "type" : "integer",
+ "description" : "Display ground tracks for selected items (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayAllGroundTracks" : {
+ "type" : "integer",
+ "description" : "Display ground tracks for all items (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
},
"terrain" : {
"type" : "string",
"description" : "Terrain used for 3D map (E.g: 'Ellipsoid' or 'Cesium World Terrain')"
},
+ "buildings" : {
+ "type" : "string",
+ "description" : "3D buildings layer, for example None or Cesium OSM Buildings."
+ },
+ "sunLightEnabled" : {
+ "type" : "integer",
+ "description" : "Light the globe from the Sun's direction (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "lightIntensity" : {
+ "type" : "number",
+ "description" : "Camera light intensity used by the 3D map.",
+ "minimum" : 0
+ },
+ "eciCamera" : {
+ "type" : "integer",
+ "description" : "Use an ECI rather than ECEF camera frame (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "fxaa" : {
+ "type" : "integer",
+ "description" : "Enable fast approximate anti-aliasing (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "msaa" : {
+ "type" : "integer",
+ "description" : "Multisample anti-aliasing level.",
+ "minimum" : 1,
+ "maximum" : 8
+ },
+ "terrainLighting" : {
+ "type" : "integer",
+ "description" : "Enable terrain lighting (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "water" : {
+ "type" : "integer",
+ "description" : "Enable water effects (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "hdr" : {
+ "type" : "integer",
+ "description" : "Enable high dynamic range rendering (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "fog" : {
+ "type" : "integer",
+ "description" : "Enable atmospheric fog (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "fps" : {
+ "type" : "integer",
+ "description" : "Display the 3D map frame rate (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayMUF" : {
+ "type" : "integer",
+ "description" : "Display maximum-usable-frequency contours (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayfoF2" : {
+ "type" : "integer",
+ "description" : "Display F2 critical-frequency contours (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayRain" : {
+ "type" : "integer",
+ "description" : "Display weather-radar rain and snow overlay (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayClouds" : {
+ "type" : "integer",
+ "description" : "Display satellite infrared cloud overlay (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displaySeaMarks" : {
+ "type" : "integer",
+ "description" : "Display sea marks (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayRailways" : {
+ "type" : "integer",
+ "description" : "Display railways (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayNASAGlobalImagery" : {
+ "type" : "integer",
+ "description" : "Display NASA GIBS imagery (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "nasaGlobalImageryIdentifier" : {
+ "type" : "string",
+ "description" : "NASA GIBS imagery-layer identifier."
+ },
+ "nasaGlobalImageryOpacity" : {
+ "type" : "integer",
+ "description" : "NASA GIBS imagery opacity as a percentage.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
+ "displayAurora" : {
+ "type" : "integer",
+ "description" : "Display aurora-probability overlay (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayMagDec" : {
+ "type" : "integer",
+ "description" : "Display magnetic-declination contours (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayMaidenheadGrid" : {
+ "type" : "integer",
+ "description" : "Display Maidenhead grid (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayPFD" : {
+ "type" : "integer",
+ "description" : "Display the aircraft primary-flight display (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "viewFirstPerson" : {
+ "type" : "integer",
+ "description" : "Use first-person 3D map view (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "defaultImagery" : {
+ "type" : "string",
+ "description" : "Default imagery layer for the 3D map."
+ },
"title" : {
"type" : "string",
"description" : "User-visible title."
@@ -13559,7 +14415,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 bytes sync word (0..65535)"
+ "description" : "2 bytes sync word (0..65535)",
+ "minimum" : 0,
+ "maximum" : 65535
},
"nbParityBits" : {
"type" : "integer",
@@ -13838,7 +14696,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 byte (0..65535) synchronization syncWord"
+ "description" : "2 byte (0..65535) synchronization syncWord",
+ "minimum" : 0,
+ "maximum" : 65535
},
"channelMute" : {
"type" : "integer",
@@ -13955,7 +14815,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 bytes sync word (0..65535)"
+ "description" : "2 bytes sync word (0..65535)",
+ "minimum" : 0,
+ "maximum" : 65535
},
"nbParityBits" : {
"type" : "integer",
@@ -14223,7 +15085,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 byte (0..65535) synchronization syncWord"
+ "description" : "2 byte (0..65535) synchronization syncWord",
+ "minimum" : 0,
+ "maximum" : 65535
},
"channelMute" : {
"type" : "integer",
@@ -14439,7 +15303,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 3
},
"LOppmTenths" : {
"type" : "integer",
@@ -16067,7 +16933,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 2
},
"adcDither" : {
"type" : "integer",
@@ -16178,7 +17046,9 @@ margin-bottom: 20px;
},
"lpfFIRlog2Decim" : {
"type" : "integer",
- "description" : "digital lowpass FIR filter log2 of decimation factor (0..2)"
+ "description" : "digital lowpass FIR filter log2 of decimation factor (0..2)",
+ "minimum" : 0,
+ "maximum" : 2
},
"lpfFIRGain" : {
"type" : "integer",
@@ -16186,7 +17056,9 @@ margin-bottom: 20px;
},
"fcPos" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"dcBlock" : {
"type" : "integer",
@@ -16366,7 +17238,9 @@ margin-bottom: 20px;
},
"fcPosRx" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"rxTransverterMode" : {
"type" : "integer",
@@ -16397,7 +17271,9 @@ margin-bottom: 20px;
},
"lpfRxFIRlog2Decim" : {
"type" : "integer",
- "description" : "digital lowpass FIR filter log2 of decimation factor (0..2)"
+ "description" : "digital lowpass FIR filter log2 of decimation factor (0..2)",
+ "minimum" : 0,
+ "maximum" : 2
},
"lpfRxFIRGain" : {
"type" : "integer",
@@ -16438,7 +17314,9 @@ margin-bottom: 20px;
},
"fcPosTx" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"txTransverterMode" : {
"type" : "integer",
@@ -16463,7 +17341,9 @@ margin-bottom: 20px;
},
"lpfTxFIRlog2Interp" : {
"type" : "integer",
- "description" : "digital lowpass FIR filter log2 of interpolation factor (0..2)"
+ "description" : "digital lowpass FIR filter log2 of interpolation factor (0..2)",
+ "minimum" : 0,
+ "maximum" : 2
},
"lpfTxFIRGain" : {
"type" : "integer",
@@ -16561,7 +17441,9 @@ margin-bottom: 20px;
},
"lpfFIRlog2Interp" : {
"type" : "integer",
- "description" : "digital lowpass FIR filter log2 of interpolation factor (0..2)"
+ "description" : "digital lowpass FIR filter log2 of interpolation factor (0..2)",
+ "minimum" : 0,
+ "maximum" : 2
},
"lpfFIRGain" : {
"type" : "integer",
@@ -16674,7 +17556,9 @@ margin-bottom: 20px;
"properties" : {
"presetType" : {
"type" : "integer",
- "description" : "See Preset::PresetType"
+ "description" : "Which kind of device set the preset applies to\n * 0 - receiver\n * 1 - transmitter\n * 2 - MIMO\n",
+ "minimum" : 0,
+ "maximum" : 2
},
"group" : {
"type" : "string",
@@ -17330,11 +18214,15 @@ margin-bottom: 20px;
},
"runMode" : {
"type" : "integer",
- "description" : "(0 for single, 1 for continuous, 2 for sweep)"
+ "description" : "(0 for single, 1 for continuous, 2 for sweep)",
+ "minimum" : 0,
+ "maximum" : 2
},
"sweepStartAtTime" : {
"type" : "integer",
- "description" : "(0 for now, 1 for at sweepStartDateTime)"
+ "description" : "(0 for now, 1 for at sweepStartDateTime)",
+ "minimum" : 0,
+ "maximum" : 1
},
"sweepStartDateTime" : {
"type" : "string",
@@ -17342,7 +18230,9 @@ margin-bottom: 20px;
},
"sweepType" : {
"type" : "integer",
- "description" : "(0 for Az/El, 1 for l/b, 2 for offset)"
+ "description" : "(0 for Az/El, 1 for l/b, 2 for offset)",
+ "minimum" : 0,
+ "maximum" : 2
},
"sweep1Start" : {
"type" : "number",
@@ -17462,7 +18352,9 @@ margin-bottom: 20px;
},
"frequencyMode" : {
"type" : "integer",
- "description" : "(0 for Offset, 1 for Absolute)"
+ "description" : "(0 for Offset, 1 for Absolute)",
+ "minimum" : 0,
+ "maximum" : 1
},
"frequency" : {
"type" : "integer",
@@ -17541,6 +18433,98 @@ margin-bottom: 20px;
}
},
"description" : "RadioClock"
+};
+ defs.Radiosonde = {
+ "properties" : {
+ "serial" : {
+ "type" : "string",
+ "description" : "Serial number, which identifies the sonde across a flight."
+ },
+ "type" : {
+ "type" : "string",
+ "description" : "Sonde model, such as RS41."
+ },
+ "latitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Latitude in decimal degrees, north positive.",
+ "minimum" : -90,
+ "maximum" : 90
+ },
+ "longitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Longitude in decimal degrees, east positive.",
+ "minimum" : -180,
+ "maximum" : 180
+ },
+ "altitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Altitude in metres above mean sea level."
+ },
+ "altitudeMax" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Greatest altitude seen this flight in metres, which indicates the burst altitude."
+ },
+ "speed" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Ground speed in km/h."
+ },
+ "verticalRate" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Ascent rate in m/s. Negative after burst."
+ },
+ "heading" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Direction of travel in degrees true."
+ },
+ "status" : {
+ "type" : "string",
+ "description" : "Status as reported by the sonde."
+ },
+ "pressure" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Atmospheric pressure in hPa."
+ },
+ "temperature" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Air temperature in degrees Celsius."
+ },
+ "humidity" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Relative humidity as a percentage."
+ },
+ "frequency" : {
+ "type" : "integer",
+ "format" : "int64",
+ "description" : "Transmit frequency in Hz."
+ },
+ "burstKillStatus" : {
+ "type" : "string",
+ "description" : "Whether the burst-kill timer is armed."
+ },
+ "burstKillTimer" : {
+ "type" : "string",
+ "description" : "Time remaining on the burst-kill timer."
+ },
+ "lastUpdate" : {
+ "type" : "string",
+ "description" : "When any field was last updated, ISO 8601."
+ },
+ "messages" : {
+ "type" : "integer",
+ "description" : "Frames received from this radiosonde."
+ }
+ },
+ "description" : "Radiosonde heard by the Radiosonde feature"
};
defs.RadiosondeDemodReport = {
"properties" : {
@@ -17664,6 +18648,26 @@ margin-bottom: 20px;
}
},
"description" : "RadiosondeDemod"
+};
+ defs.RadiosondeReport = {
+ "properties" : {
+ "reportDateTime" : {
+ "type" : "string",
+ "description" : "When this snapshot was taken, ISO 8601."
+ },
+ "radiosondeCount" : {
+ "type" : "integer",
+ "description" : "Number of radiosondes currently held."
+ },
+ "radiosondes" : {
+ "type" : "array",
+ "description" : "The radiosondes heard.",
+ "items" : {
+ "$ref" : "#/definitions/Radiosonde"
+ }
+ }
+ },
+ "description" : "Radiosondes heard by the Radiosonde feature, which collects the decoded frames of every radiosonde demodulator in the instance. A field is present only once a frame carrying it has been received.\n"
};
defs.RadiosondeSettings = {
"properties" : {
@@ -18245,7 +19249,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 6
},
"gain" : {
"type" : "integer",
@@ -18551,7 +19557,9 @@ margin-bottom: 20px;
},
"lowSampleRate" : {
"type" : "integer",
- "description" : "Use the RTL-SDR low sample-rate range (1 enabled, 0 disabled)."
+ "description" : "Use the RTL-SDR low sample-rate range (1 enabled, 0 disabled).",
+ "minimum" : 0,
+ "maximum" : 1
},
"centerFrequency" : {
"type" : "integer",
@@ -18560,7 +19568,7 @@ margin-bottom: 20px;
},
"gain" : {
"type" : "integer",
- "description" : "Gain setting; units and available values depend on the device or plugin."
+ "description" : "Tuner gain in tenths of a dB, so 496 means 49.6 dB. Only the discrete values the tuner supports can be used; they are listed in the gains field of RtlSdrReport, which must be read from the device report before setting this. Ignored unless agc is disabled.\n"
},
"loPpmCorrection" : {
"type" : "integer",
@@ -18724,7 +19732,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 6
},
"fcPos" : {
"type" : "integer",
@@ -18839,7 +19849,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 6
},
"fcPos" : {
"type" : "integer",
@@ -18959,8 +19971,8 @@ margin-bottom: 20px;
"description" : "Autoload setting for Sid."
},
"filename" : {
- "type" : "integer",
- "description" : "Filename setting for Sid."
+ "type" : "string",
+ "description" : "File that measurements are written to and read back from when autosave or autoload is enabled.\n"
},
"autosavePeriod" : {
"type" : "integer",
@@ -19132,7 +20144,9 @@ margin-bottom: 20px;
"dnrAlpha" : {
"type" : "number",
"format" : "float",
- "description" : "Smoothing constant (alpha) of the exponential smoothing filter. Must be between 0 and 1."
+ "description" : "Smoothing constant (alpha) of the exponential smoothing filter. Must be between 0 and 1.",
+ "minimum" : 0,
+ "maximum" : 1
},
"rgbColor" : {
"type" : "integer",
@@ -19435,15 +20449,21 @@ margin-bottom: 20px;
},
"startOnAOS" : {
"type" : "integer",
- "description" : "Start acquisition on AOS (1 for yes, 0 for no)"
+ "description" : "Start acquisition on AOS (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"stopOnLOS" : {
"type" : "integer",
- "description" : "Stop acquisition on LOS (1 for yes, 0 for no)"
+ "description" : "Stop acquisition on LOS (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"startStopFileSinks" : {
"type" : "integer",
- "description" : "Start/stop file sinks on AOS/LOS (1 for yes, 0 for no)"
+ "description" : "Start/stop file sinks on AOS/LOS (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"frequency" : {
"type" : "integer",
@@ -19701,11 +20721,15 @@ margin-bottom: 20px;
},
"drawOnMap" : {
"type" : "integer",
- "description" : "Draw satellites on the Map (1 for yes, 0 for no)"
+ "description" : "Draw satellites on the Map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"autoTarget" : {
"type" : "integer",
- "description" : "Automatically select target on AOS (1 for yes, 0 for no)"
+ "description" : "Automatically select target on AOS (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"aosSpeech" : {
"type" : "string",
@@ -20324,23 +21348,33 @@ margin-bottom: 20px;
"properties" : {
"displayNames" : {
"type" : "integer",
- "description" : "Display names on the sky map (1 for yes, 0 for no)"
+ "description" : "Display names on the sky map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"displayConstellations" : {
"type" : "integer",
- "description" : "Display constellations on the sky map (1 for yes, 0 for no)"
+ "description" : "Display constellations on the sky map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"displayReticle" : {
"type" : "integer",
- "description" : "Display reticle on the sky map (1 for yes, 0 for no)"
+ "description" : "Display reticle on the sky map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"displayGrid" : {
"type" : "integer",
- "description" : "Display grid on the sky map (1 for yes, 0 for no)"
+ "description" : "Display grid on the sky map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"displayAntennaFoV" : {
"type" : "integer",
- "description" : "Display antenna field-of-view on the sky map (1 for yes, 0 for no)"
+ "description" : "Display antenna field-of-view on the sky map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"map" : {
"type" : "string",
@@ -20927,9 +21961,13 @@ margin-bottom: 20px;
},
"show" : {
"type" : "integer",
- "description" : "SpectrumAnnotationMarker::ShowState - Marker display state\n * 0 - Hidden\n * 1 - Only top marker visible\n * 2 - Fully visible with text and full sized limits\n",
+ "description" : "SpectrumAnnotationMarker::ShowState - Marker display state\n * 0 - Hidden\n * 1 - Only top marker visible\n * 2 - Fully visible with text and full sized limits\n * 3 - Text only\n",
"minimum" : 0,
- "maximum" : 2
+ "maximum" : 3
+ },
+ "text" : {
+ "type" : "string",
+ "description" : "Text displayed against the marker."
}
},
"description" : "Spectrum annotation marker settings"
@@ -20984,6 +22022,25 @@ margin-bottom: 20px;
}
},
"description" : "Spectrum histogram marker settings"
+};
+ defs.SpectrumMemorySettings = {
+ "properties" : {
+ "display" : {
+ "type" : "integer",
+ "description" : "Display this saved spectrum memory (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "color" : {
+ "type" : "integer",
+ "description" : "Display colour encoded as an RGB integer."
+ },
+ "label" : {
+ "type" : "string",
+ "description" : "User-visible label for this saved spectrum memory."
+ }
+ },
+ "description" : "Display settings for one saved spectrum memory. The captured spectrum samples are not transferred through settings APIs."
};
defs.SpectrumServer = {
"properties" : {
@@ -21267,15 +22324,21 @@ margin-bottom: 20px;
},
"drawSunOnMap" : {
"type" : "integer",
- "description" : "Draw the overhead position of the Sun on the Map (1 for yes, 0 for no)"
+ "description" : "Draw the overhead position of the Sun on the Map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"drawMoonOnMap" : {
"type" : "integer",
- "description" : "Draw the overhead position of the Moon on the Map (1 for yes, 0 for no)"
+ "description" : "Draw the overhead position of the Moon on the Map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"drawStarOnMap" : {
"type" : "integer",
- "description" : "Draw the overhead position of the target Star on the Map (1 for yes, 0 for no)"
+ "description" : "Draw the overhead position of the target Star on the Map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"title" : {
"type" : "string",
@@ -21545,7 +22608,9 @@ margin-bottom: 20px;
},
"log2Interp" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software interpolation factor; the output sample rate is multiplied by 2^log2Interp."
+ "description" : "Base-2 exponent of the software interpolation factor; the output sample rate is multiplied by 2^log2Interp.",
+ "minimum" : 0,
+ "maximum" : 6
},
"fcPosTx" : {
"type" : "integer",
@@ -21707,6 +22772,17 @@ margin-bottom: 20px;
"format" : "float",
"description" : "Phase imbalance setting for Test source."
},
+ "period" : {
+ "type" : "integer",
+ "description" : "Period of the P1 and P2 patterns in samples.",
+ "minimum" : 1
+ },
+ "dutyCycle" : {
+ "type" : "integer",
+ "description" : "Percentage of the period the P2 pattern is high.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
"useReverseAPI" : {
"type" : "integer",
"description" : "Synchronize with reverse API (1 for yes, 0 for no)",
@@ -21738,7 +22814,9 @@ margin-bottom: 20px;
},
"projectionType" : {
"type" : "integer",
- "description" : "Complex to real projection type. See Projector::ProjectionType"
+ "description" : "Projection applied to turn the complex signal into a real trace\n * 0 - real part\n * 1 - imaginary part\n * 2 - magnitude, linear\n * 3 - squared magnitude (power), linear\n * 4 - time derivative of the squared magnitude\n * 5 - squared magnitude in dB\n * 6 - phase\n * 7 - direction of arrival from phase, positive branch\n * 8 - direction of arrival from phase, negative branch\n * 9 - phase derivative, instantaneous frequency\n * 10 - BPSK phase comparator\n * 11 - QPSK phase comparator\n * 12 - 8-PSK phase comparator\n * 13 - 16-PSK phase comparator\n",
+ "minimum" : 0,
+ "maximum" : 13
},
"inputIndex" : {
"type" : "integer",
@@ -21813,7 +22891,9 @@ margin-bottom: 20px;
},
"projectionType" : {
"type" : "integer",
- "description" : "Complex to real projection type. See Projector::ProjectionType"
+ "description" : "Projection applied to turn the complex signal into a real trace\n * 0 - real part\n * 1 - imaginary part\n * 2 - magnitude, linear\n * 3 - squared magnitude (power), linear\n * 4 - time derivative of the squared magnitude\n * 5 - squared magnitude in dB\n * 6 - phase\n * 7 - direction of arrival from phase, positive branch\n * 8 - direction of arrival from phase, negative branch\n * 9 - phase derivative, instantaneous frequency\n * 10 - BPSK phase comparator\n * 11 - QPSK phase comparator\n * 12 - 8-PSK phase comparator\n * 13 - 16-PSK phase comparator\n",
+ "minimum" : 0,
+ "maximum" : 13
},
"inputIndex" : {
"type" : "integer",
@@ -22295,7 +23375,9 @@ margin-bottom: 20px;
},
"gainMode" : {
"type" : "integer",
- "description" : "0 for auto, 1 for manual"
+ "description" : "0 for auto, 1 for manual",
+ "minimum" : 0,
+ "maximum" : 1
},
"clockSource" : {
"type" : "string",
@@ -23546,7 +24628,9 @@ margin-bottom: 20px;
},
"log2SoftDecim" : {
"type" : "integer",
- "description" : "log2 of software decimation factor from 0 to 6"
+ "description" : "log2 of software decimation factor from 0 to 6",
+ "minimum" : 0,
+ "maximum" : 6
},
"rxCenterFrequency" : {
"type" : "integer",
@@ -23567,7 +24651,9 @@ margin-bottom: 20px;
},
"ncoEnableRx" : {
"type" : "integer",
- "description" : "Enable TSP NCO Rx on both channels and mixing (1 for yes, 0 for no)"
+ "description" : "Enable TSP NCO Rx on both channels and mixing (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"ncoFrequencyRx" : {
"type" : "integer",
@@ -23655,7 +24741,9 @@ margin-bottom: 20px;
},
"log2SoftInterp" : {
"type" : "integer",
- "description" : "log2 of software interpolation factor from 0 to 6"
+ "description" : "log2 of software interpolation factor from 0 to 6",
+ "minimum" : 0,
+ "maximum" : 6
},
"txCenterFrequency" : {
"type" : "integer",
@@ -23664,7 +24752,9 @@ margin-bottom: 20px;
},
"ncoEnableTx" : {
"type" : "integer",
- "description" : "Enable TSP NCO Tx on both channels and mixing (1 for yes, 0 for no)"
+ "description" : "Enable TSP NCO Tx on both channels and mixing (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"ncoFrequencyTx" : {
"type" : "integer",
@@ -65244,7 +66334,7 @@ except ApiException as e:
- Generated 2026-09-06T09:56:57.532+02:00
+ Generated 2026-09-11T09:18:28.785+02:00
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ADSBDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/ADSBDemod.yaml
index d7a08223f..f4a6d8abc 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ADSBDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ADSBDemod.yaml
@@ -16,14 +16,6 @@ ADSBDemodSettings:
samplesPerBit:
type: integer
description: "Number of input samples used to represent each bit."
- correlateFullPreamble:
- type: integer
- minimum: 0
- maximum: 1
- description: >
- Correlate on part or full preamble
- * 0 - part
- * 1 - full
demodModeS:
type: integer
minimum: 0
@@ -41,7 +33,7 @@ ADSBDemodSettings:
description: Number of taps per phase in channel interpolator
removeTimeout:
type: integer
- description: "Time after which an inactive tracked item is removed."
+ description: "Seconds without a frame after which an aircraft is removed from the display."
feedEnabled:
type: integer
description: "Enable forwarding of received data to the configured feed (1 enabled, 0 disabled)."
@@ -101,7 +93,7 @@ ADSBDemodSettings:
importPeriod:
type: number
format: float
- description: "Import period setting for ADS-B demod."
+ description: "How often to import aircraft from the configured web service, in seconds."
importMinLatitude:
type: string
description: "Import min latitude setting for ADS-B demod."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/AFC.yaml b/sdrbase/resources/webapi/doc/swagger/include/AFC.yaml
index 790116cd5..e3a9a1ec6 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/AFC.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/AFC.yaml
@@ -30,11 +30,11 @@ AFCSettings:
* 0 - device
* 1 - transverter
targetFrequency:
- description: Target frequency for the tracker
+ description: "Frequency the tracker should settle on, in Hz."
type: integer
format: int64
freqTolerance:
- description: Frequency shift tolerance before tracker frequency is (re)adjusted
+ description: "Frequency error in Hz that is tolerated before the tracker frequency is adjusted again."
type: integer
trackerAdjustPeriod:
description: Tracker channel frequency adjustment period in seconds
@@ -79,11 +79,11 @@ AFCReport:
description: Tracker index in device set
type: integer
trackerDeviceFrequency:
- description: Center frequency of tracker device
+ description: "Centre frequency of the tracking device, in Hz."
type: integer
format: int64
trackerChannelOffset:
- description: Tracker channel offset from device center frequency
+ description: "Tracker channel offset from the device centre frequency, in Hz."
type: integer
AFCActions:
diff --git a/sdrbase/resources/webapi/doc/swagger/include/AIS.yaml b/sdrbase/resources/webapi/doc/swagger/include/AIS.yaml
index 38c954430..a86fe4b9d 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/AIS.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/AIS.yaml
@@ -39,3 +39,87 @@ AISSettings:
description: "List of vessel column sizes."
items:
type: integer
+
+AISReport:
+ description: >
+ Vessels heard by the AIS feature, which collects the decoded messages of every AIS
+ demodulator in the instance. A field is present only once a message carrying it has been
+ received, so an absent position means unknown rather than zero.
+ properties:
+ reportDateTime:
+ type: string
+ description: "When this snapshot was taken, ISO 8601."
+ vesselCount:
+ type: integer
+ description: "Number of vessels currently held."
+ vessels:
+ type: array
+ description: "The vessels heard."
+ items:
+ $ref: "/doc/swagger/include/AIS.yaml#/AISVessel"
+
+AISVessel:
+ description: Vessel heard by the AIS feature
+ properties:
+ mmsi:
+ type: string
+ description: "Maritime Mobile Service Identity, nine digits. The only field always present."
+ name:
+ type: string
+ description: "Vessel name, from a static and voyage related message or an aid-to-navigation report."
+ callsign:
+ type: string
+ description: "Radio callsign."
+ imo:
+ type: string
+ description: "IMO number, where transmitted."
+ country:
+ type: string
+ description: "Flag state, derived from the MMSI maritime identification digits."
+ type:
+ type: string
+ description: "What is transmitting: Vessel, Base station, Aircraft or Aid-to-nav."
+ shipType:
+ type: string
+ description: "Ship and cargo type, such as Cargo or Tug."
+ latitude:
+ type: number
+ format: float
+ minimum: -90
+ maximum: 90
+ description: "Latitude in decimal degrees, north positive."
+ longitude:
+ type: number
+ format: float
+ minimum: -180
+ maximum: 180
+ description: "Longitude in decimal degrees, east positive."
+ course:
+ type: number
+ format: float
+ description: "Course over ground in degrees true."
+ speed:
+ type: number
+ format: float
+ description: "Speed over ground in knots."
+ heading:
+ type: integer
+ description: "True heading in degrees, which differs from course when set and drift apply."
+ status:
+ type: string
+ description: "Navigational status, such as Under way using engine or At anchor."
+ length:
+ type: integer
+ description: "Overall length in metres."
+ destination:
+ type: string
+ description: "Destination as entered by the crew."
+ positionUpdate:
+ type: string
+ description: "When the position was last updated, ISO 8601."
+ lastUpdate:
+ type: string
+ description: "When any field was last updated, ISO 8601."
+ messages:
+ type: integer
+ description: "Messages received from this vessel."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/AISDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/AISDemod.yaml
index 5bd803c75..9c34c3ef5 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/AISDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/AISDemod.yaml
@@ -20,6 +20,8 @@ AISDemodSettings:
description: "Normalised correlation threshold with the preamble, from 0 to 1"
type: number
format: float
+ minimum: 0
+ maximum: 1
udpEnabled:
description: "Whether to forward received messages to specified UDP port"
type: integer
@@ -36,6 +38,8 @@ AISDemodSettings:
udpFormat:
description: "0 for binary, 1 for NMEA"
type: integer
+ minimum: 0
+ maximum: 1
logFilename:
type: string
description: "Log file name or path."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/AMDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/AMDemod.yaml
index e5b56c2a8..77e737ecc 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/AMDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/AMDemod.yaml
@@ -29,6 +29,8 @@ AMDemodSettings:
bandpassEnable:
description: use bandpass filter (1 for yes, 0 for no)
type: integer
+ minimum: 0
+ maximum: 1
rgbColor:
type: integer
description: "Display color encoded as an RGB integer."
@@ -47,6 +49,8 @@ AMDemodSettings:
frequencyMode:
description: (0 for Offset, 1 for MW, 2 for 25k, 3 for 8.33k)
type: integer
+ minimum: 0
+ maximum: 3
frequency:
description: Channel center frequency
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/AMMod.yaml b/sdrbase/resources/webapi/doc/swagger/include/AMMod.yaml
index 0d218278c..ab929f7ea 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/AMMod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/AMMod.yaml
@@ -13,6 +13,8 @@ AMModSettings:
description: modulation factor from 0.0 to 1.0
type: number
format: float
+ minimum: 0
+ maximum: 1
toneFrequency:
type: number
format: float
diff --git a/sdrbase/resources/webapi/doc/swagger/include/APRS.yaml b/sdrbase/resources/webapi/doc/swagger/include/APRS.yaml
index 269200f70..31630ac67 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/APRS.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/APRS.yaml
@@ -111,3 +111,120 @@ APRSSettings:
description: "List of motion table column sizes."
items:
type: integer
+
+APRSReport:
+ description: >
+ Stations and objects heard by the APRS feature, which collects the AX.25 packets of every
+ packet demodulator in the instance. A field is present only once a packet carrying it has
+ been received.
+ properties:
+ runningState:
+ type: integer
+ minimum: 0
+ maximum: 3
+ description: >
+ Running state
+ * 0 - not started
+ * 1 - idle
+ * 2 - running
+ * 3 - error
+ reportDateTime:
+ type: string
+ description: "When this snapshot was taken, ISO 8601."
+ stationCount:
+ type: integer
+ description: "Number of stations and objects currently held."
+ packetCount:
+ type: integer
+ description: "Packets received across all stations."
+ stations:
+ type: array
+ description: "The stations and objects heard."
+ items:
+ $ref: "/doc/swagger/include/APRS.yaml#/APRSStation"
+
+APRSStation:
+ description: Station or object heard by the APRS feature
+ properties:
+ callsign:
+ type: string
+ description: "Station callsign with SSID, or the name of the object or item."
+ isObject:
+ type: integer
+ minimum: 0
+ maximum: 1
+ description: "1 when this is an object or item rather than a station."
+ reportingStation:
+ type: string
+ description: "Callsign that reported this object. Empty for a station."
+ symbol:
+ type: string
+ description: "APRS symbol identifier."
+ latitude:
+ type: number
+ format: float
+ minimum: -90
+ maximum: 90
+ description: "Latitude in decimal degrees, north positive."
+ longitude:
+ type: number
+ format: float
+ minimum: -180
+ maximum: 180
+ description: "Longitude in decimal degrees, east positive."
+ altitude:
+ type: number
+ format: float
+ description: "Altitude in metres above mean sea level."
+ course:
+ type: number
+ format: float
+ description: "Course in degrees true."
+ speed:
+ type: number
+ format: float
+ description: "Speed in km/h."
+ status:
+ type: string
+ description: "Latest status text."
+ comment:
+ type: string
+ description: "Latest position comment."
+ powerWatts:
+ type: number
+ format: float
+ description: "Transmitter power in watts, from a reported PHG value."
+ antennaHeight:
+ type: number
+ format: float
+ description: "Antenna height above average terrain in metres, from a reported PHG value."
+ antennaGain:
+ type: number
+ format: float
+ description: "Antenna gain in dB, from a reported PHG value."
+ antennaDirectivity:
+ type: string
+ description: "Antenna directivity, from a reported PHG value."
+ radioRange:
+ type: number
+ format: float
+ description: "Reported range in km."
+ hasWeather:
+ type: integer
+ minimum: 0
+ maximum: 1
+ description: "1 when weather reports have been received from this station."
+ hasTelemetry:
+ type: integer
+ minimum: 0
+ maximum: 1
+ description: "1 when telemetry has been received from this station."
+ telemetryProjectName:
+ type: string
+ description: "Telemetry project name, where reported."
+ packets:
+ type: integer
+ description: "Packets received from this station."
+ lastPacketDateTime:
+ type: string
+ description: "When the most recent packet was received, ISO 8601."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ATVDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/ATVDemod.yaml
index 917fa587b..5e90999da 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ATVDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ATVDemod.yaml
@@ -5,8 +5,13 @@ ATVDemodSettings:
type: integer
description: "Selected fps index."
halfImage:
- description: (boolean) 1 for m_fltRatioOfRowsToDisplay = 0.5, 0 for m_fltRatioOfRowsToDisplay = 1.0
+ description: >
+ Display only half of the image rows
+ * 0 - display all rows
+ * 1 - display half the rows
type: integer
+ minimum: 0
+ maximum: 1
RFBandwidthFactor:
type: integer
description: "RF bandwidth factor setting for Atv demod."
@@ -20,8 +25,17 @@ ATVDemodSettings:
type: integer
description: "Int frequency offset in Hz."
enmModulation:
- description: see ATVDemodSettings::ATVModulation
+ description: >
+ Modulation of the received ATV signal
+ * 0 - FM with discriminator 1
+ * 1 - FM with discriminator 2
+ * 2 - FM with phase derivative discriminator
+ * 3 - AM
+ * 4 - AM with vestigial lower sideband, signal in the upper sideband
+ * 5 - AM with vestigial upper sideband, signal in the lower sideband
type: integer
+ minimum: 0
+ maximum: 5
fltRFBandwidth:
type: number
format: float
@@ -53,8 +67,17 @@ ATVDemodSettings:
type: integer
description: "Int sample rate in samples per second."
enmATVStandard:
- description: see ATVDemodSettings::ATVStd
+ description: >
+ Television standard, which sets the line count and timings
+ * 0 - PAL 625 lines
+ * 1 - PAL 525 lines
+ * 2 - 819 lines
+ * 3 - short, interleaved
+ * 4 - short
+ * 5 - horizontal sync skip
type: integer
+ minimum: 0
+ maximum: 5
intNumberOfLines:
type: integer
description: "Int number of lines setting for Atv demod."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/Airspy.yaml b/sdrbase/resources/webapi/doc/swagger/include/Airspy.yaml
index 18254f316..d15a1abeb 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/Airspy.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/Airspy.yaml
@@ -16,13 +16,19 @@ AirspySettings:
description: "Selected dev sample rate index."
lnaGain:
type: integer
- description: "Low-noise-amplifier gain setting."
+ minimum: 0
+ maximum: 14
+ description: "Low noise amplifier gain as a step index, not a dB value. Ignored when lnaAGC is enabled."
mixerGain:
type: integer
- description: "Mixer gain setting for Airspy."
+ minimum: 0
+ maximum: 15
+ description: "Mixer gain as a step index, not a dB value. Ignored when mixerAGC is enabled."
vgaGain:
type: integer
- description: "Variable-gain-amplifier gain setting."
+ minimum: 0
+ maximum: 15
+ description: "Variable gain amplifier (IF) gain as a step index, not a dB value."
lnaAGC:
description: LNA AGC (1 if active else 0)
type: integer
@@ -31,10 +37,14 @@ AirspySettings:
type: integer
log2Decim:
type: integer
+ minimum: 0
+ maximum: 6
description: "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
fcPos:
description: 0=Infra 1=Supra 2=Center
type: integer
+ minimum: 0
+ maximum: 2
biasT:
description: Bias tee (1 if active else 0)
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/AirspyHF.yaml b/sdrbase/resources/webapi/doc/swagger/include/AirspyHF.yaml
index 69e925d74..845e91f61 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/AirspyHF.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/AirspyHF.yaml
@@ -16,6 +16,8 @@ AirspyHFSettings:
description: "Selected dev sample rate index."
log2Decim:
type: integer
+ minimum: 0
+ maximum: 8
description: "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
transverterMode:
type: integer
@@ -61,6 +63,8 @@ AirspyHFSettings:
agcHigh:
description: AGC threshold (1 for high, 0 for low)
type: integer
+ minimum: 0
+ maximum: 1
useDSP:
description: LibairspyHF DSP (1 for on, 0 for off)
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/CWKeyer.yaml b/sdrbase/resources/webapi/doc/swagger/include/CWKeyer.yaml
index a2a975025..662d6ec6a 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/CWKeyer.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/CWKeyer.yaml
@@ -7,8 +7,16 @@ CWKeyerSettings:
description: Words Per Minute keying speed
type: integer
mode:
- description: see enum CWKeyerSettings::CWMode
- type: integer
+ description: >
+ Source of the keying
+ * 0 - none, key up
+ * 1 - send the text in the text field
+ * 2 - send continuous dots
+ * 3 - send continuous dashes
+ * 4 - key from the keyboard
+ type: integer
+ minimum: 0
+ maximum: 4
text:
type: string
description: "Text setting for CW keyer."
@@ -18,15 +26,21 @@ CWKeyerSettings:
keyboardIambic:
description: 1 for iambic input 0 for straight input using the keyboard
type: integer
+ minimum: 0
+ maximum: 1
dotKey:
- description: key for dots keyboard input. See enum Qt::Key
+ description: >
+ Keyboard key that sends dots. Key code as a Qt key value, for example 32 (0x20) for space and 65 (0x41) for A. Letter keys use the upper case code. 0 for no key.
type: integer
dotKeyModifiers:
- description: key modifier for dots keyboard input. See flags Qt::KeyboardModifiers
+ description: >
+ Modifiers for the dot key. Modifier keys held with the key, as a sum of flags: 33554432 (0x02000000) shift, 67108864 (0x04000000) control, 134217728 (0x08000000) alt, 268435456 (0x10000000) meta. 0 for no modifier.
type: integer
dashKey:
- description: key for dashes keyboard input. See enum Qt::Key
+ description: >
+ Keyboard key that sends dashes. Key code as a Qt key value, for example 32 (0x20) for space and 65 (0x41) for A. Letter keys use the upper case code. 0 for no key.
type: integer
dashKeyModifiers:
- description: key modifier for dashes keyboard input. See flags Qt::KeyboardModifiers
+ description: >
+ Modifiers for the dash key. Modifier keys held with the key, as a sum of flags: 33554432 (0x02000000) shift, 67108864 (0x04000000) control, 134217728 (0x08000000) alt, 268435456 (0x10000000) meta. 0 for no modifier.
type: integer
\ No newline at end of file
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelActions.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelActions.yaml
index edb42315f..580f2fc31 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChannelActions.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelActions.yaml
@@ -11,6 +11,8 @@ ChannelActions:
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
+ minimum: 0
+ maximum: 2
originatorDeviceSetIndex:
description: Optional for reverse API. This is the device set index from where the message comes from.
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelAnalyzer.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelAnalyzer.yaml
index 63c467d92..c8b3a3dcd 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChannelAnalyzer.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelAnalyzer.yaml
@@ -65,8 +65,14 @@ ChannelAnalyzerSettings:
format: float
description: "Pll loop gain setting for Channel analyzer."
inputType:
- description: see ChannelAnalyzerSettings::InputType
+ description: >
+ Signal fed to the analyser
+ * 0 - the channel signal
+ * 1 - the PLL output
+ * 2 - the autocorrelation of the signal
type: integer
+ minimum: 0
+ maximum: 2
rgbColor:
type: integer
description: "Display color encoded as an RGB integer."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelMarker.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelMarker.yaml
index 930bec197..e24ee2c92 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChannelMarker.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelMarker.yaml
@@ -12,4 +12,12 @@ ChannelMarker:
description: "User-visible title."
frequencyScaleDisplayType:
type: integer
- description: ChannelMarker::frequencyScaleDisplay_t
+ minimum: 0
+ maximum: 4
+ description: >
+ What is written against the channel on the frequency scale
+ * 0 - the frequency
+ * 1 - the channel title
+ * 2 - the send address
+ * 3 - the receive address
+ * 4 - nothing
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelPower.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelPower.yaml
index 5388f9358..d5880d94c 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChannelPower.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelPower.yaml
@@ -8,6 +8,8 @@ ChannelPowerSettings:
frequencyMode:
description: (0 for Offset, 1 for Absolute)
type: integer
+ minimum: 0
+ maximum: 1
frequency:
description: Channel center frequency
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml
index 3855b5c57..ab58bad6c 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml
@@ -11,6 +11,8 @@ ChannelReport:
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
+ minimum: 0
+ maximum: 2
ADSBDemodReport:
$ref: "/doc/swagger/include/ADSBDemod.yaml#/ADSBDemodReport"
description: "ADS-B demod report data for Channel."
@@ -32,6 +34,9 @@ ChannelReport:
BFMDemodReport:
$ref: "/doc/swagger/include/BFMDemod.yaml#/BFMDemodReport"
description: "BFM demod report data for Channel."
+ DABDemodReport:
+ $ref: "/doc/swagger/include/DABDemod.yaml#/DABDemodReport"
+ description: "DAB demod report data for Channel."
ChannelPowerReport:
$ref: "/doc/swagger/include/ChannelPower.yaml#/ChannelPowerReport"
description: "Channel power report data for Channel."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml
index da409ba69..401d785c6 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml
@@ -11,6 +11,8 @@ ChannelSettings:
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
+ minimum: 0
+ maximum: 2
originatorDeviceSetIndex:
description: Optional for reverse API. This is the device set index from where the message comes from.
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChirpChatDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChirpChatDemod.yaml
index 2ef1fc3e8..33166a405 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChirpChatDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChirpChatDemod.yaml
@@ -189,6 +189,8 @@ ChirpChatDemodReport:
syncWord:
description: 2 bytes sync word (0..65535)
type: integer
+ minimum: 0
+ maximum: 65535
hasCRC:
description: boolean 1 if payload CRC is present else 0 (LoRa)
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChirpChatMod.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChirpChatMod.yaml
index 99d148bb9..536964a19 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChirpChatMod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChirpChatMod.yaml
@@ -53,6 +53,8 @@ ChirpChatModSettings:
syncWord:
description: 2 byte (0..65535) synchronization syncWord
type: integer
+ minimum: 0
+ maximum: 65535
channelMute:
description: boolean
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/Command.yaml b/sdrbase/resources/webapi/doc/swagger/include/Command.yaml
index 384940b72..b0477318d 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/Command.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/Command.yaml
@@ -14,10 +14,12 @@ Command:
type: string
description: "Arg string for Command."
key:
- description: Qt::Key
+ description: >
+ Keyboard key that triggers the command. Key code as a Qt key value, for example 32 (0x20) for space and 65 (0x41) for A. Letter keys use the upper case code. 0 for no key.
type: integer
keyModifiers:
- description: Qt::KeyboardModifiers
+ description: >
+ Modifiers for the trigger key. Modifier keys held with the key, as a sum of flags: 33554432 (0x02000000) shift, 67108864 (0x04000000) control, 134217728 (0x08000000) alt, 268435456 (0x10000000) meta. 0 for no modifier.
type: integer
associateKey:
description: boolean
diff --git a/sdrbase/resources/webapi/doc/swagger/include/DABDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/DABDemod.yaml
index 4b596301d..b366b72ab 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/DABDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/DABDemod.yaml
@@ -58,3 +58,103 @@ DABDemodSettings:
rollupState:
$ref: "/doc/swagger/include/RollupState.yaml#/RollupState"
description: "Saved expanded or collapsed state of the GUI sections."
+
+DABProgram:
+ description: "A programme service discovered in the currently tuned DAB ensemble."
+ properties:
+ name:
+ type: string
+ description: "Exact transmitted service label. Use this value for the program setting."
+ id:
+ type: integer
+ description: "DAB service identifier."
+
+DABDemodReport:
+ description: >
+ Live DAB demodulator, ensemble and selected-programme status. Synchronization,
+ discovered programmes and active audio do not by themselves prove clean reception;
+ check SNR after selecting a programme and after every receiver gain change.
+ properties:
+ channelPowerDB:
+ type: number
+ format: float
+ description: "Average power in the demodulator channel in dB."
+ channelSampleRate:
+ type: integer
+ description: "Effective complex channel sample rate in samples per second. DAB requires 2048000."
+ audioSampleRate:
+ type: integer
+ description: "Audio output sample rate in samples per second."
+ sync:
+ type: integer
+ minimum: 0
+ maximum: 1
+ description: "DAB synchronization state (1 synchronized, 0 not synchronized)."
+ snr:
+ type: integer
+ description: >
+ DAB decoder signal-to-noise ratio in dB. A value of 0 dB or less after
+ synchronization and audio become active is not a healthy result and can indicate
+ receiver overload. With an RTL-SDR, reduce tuner gain through its supported values,
+ wait briefly after each change, and re-read this report. Select the gain that gives
+ the best positive SNR rather than assuming that higher gain is better.
+ frequencyOffset:
+ type: integer
+ description: "Frequency offset estimated by the DAB decoder in Hz."
+ ensembleName:
+ type: string
+ description: "Label of the currently decoded ensemble."
+ ensembleId:
+ type: integer
+ description: "Identifier of the currently decoded ensemble."
+ programs:
+ type: array
+ description: "Programme services discovered in the currently tuned ensemble."
+ items:
+ $ref: "#/DABProgram"
+ selectedProgram:
+ type: string
+ description: "Exact service label currently requested by the program setting."
+ audioActive:
+ type: integer
+ minimum: 0
+ maximum: 1
+ description: "Whether programme audio metadata has been received and audio decoding is active."
+ bitrate:
+ type: integer
+ description: "Selected programme audio bitrate in kbit/s."
+ audio:
+ type: string
+ description: "Selected programme audio codec and channel-mode description."
+ language:
+ type: string
+ description: "Selected programme language."
+ programType:
+ type: string
+ description: "Selected programme type, such as News or Pop Music."
+ frameQuality:
+ type: integer
+ minimum: 0
+ maximum: 100
+ description: "Audio frame decode quality as a percentage."
+ reedSolomonQuality:
+ type: integer
+ minimum: 0
+ maximum: 100
+ description: "Reed-Solomon decode quality as a percentage."
+ aacQuality:
+ type: integer
+ minimum: 0
+ maximum: 100
+ description: "AAC decode quality as a percentage."
+ fibQuality:
+ type: integer
+ minimum: 0
+ maximum: 100
+ description: "Fast Information Block decode quality as a percentage."
+ tii:
+ type: integer
+ description: "Decoded Transmitter Identification Information value."
+ data:
+ type: string
+ description: "Latest dynamic text/data associated with the selected programme."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/DATVDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/DATVDemod.yaml
index ddccff30c..872a9cf15 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/DATVDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/DATVDemod.yaml
@@ -100,6 +100,8 @@ DATVDemodSettings:
description: RRC filter roll-off factor (0..1)
type: number
format: float
+ minimum: 0
+ maximum: 1
viterbi:
description: (boolean) (DVB-S)
type: integer
@@ -174,6 +176,8 @@ DATVDemodReport:
audioDecodeOK:
description: Audio decode (1 for OK, 0 for KO)
type: integer
+ minimum: 0
+ maximum: 1
videoActive:
description: Audio is active (1 for yes, 0 for now)
type: integer
@@ -182,6 +186,8 @@ DATVDemodReport:
videoDecodeOK:
description: Video decode (1 for OK, 0 for KO)
type: integer
+ minimum: 0
+ maximum: 1
udpRunning:
description: UDP thread (1 running, 0 idle)
type: integer
@@ -223,6 +229,8 @@ DATVDemodReport:
* 12: 3/5
setByModcod:
type: integer
+ minimum: 0
+ maximum: 1
description: Modulation and code rate set by DVB-S2 MODCOD (1 for yes, 0 for no)
mer:
type: number
diff --git a/sdrbase/resources/webapi/doc/swagger/include/DATVMod.yaml b/sdrbase/resources/webapi/doc/swagger/include/DATVMod.yaml
index 55603bfde..86b211242 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/DATVMod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/DATVMod.yaml
@@ -34,6 +34,8 @@ DATVModSettings:
imageOverlayTimestamp:
description: "Overlay timestamp on still image (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
imageServiceProvider:
description: "Service provider name for image overlay"
type: string
diff --git a/sdrbase/resources/webapi/doc/swagger/include/DOA2.yaml b/sdrbase/resources/webapi/doc/swagger/include/DOA2.yaml
index e53dca214..1f5da539d 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/DOA2.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/DOA2.yaml
@@ -21,9 +21,13 @@ DOA2Settings:
description: Phase difference correction in degrees from -180 to +180
antennaAz:
type: integer
+ minimum: 0
+ maximum: 359
description: Antennas azimuth from antenna 1 to antenna 2 in degrees from 0 to 359
basebandDistance:
type: integer
+ minimum: 1
+ maximum: 99999
description: Antennas baseline distance in millimeters from 1 to 99999
squelchdB:
type: integer
@@ -65,12 +69,18 @@ DOA2Report:
properties:
phi:
type: integer
+ minimum: 0
+ maximum: 180
description: Raw phase difference in degrees from 0 to 180
posAz:
type: integer
+ minimum: 0
+ maximum: 180
description: Calculated port side (positive) arrival angle in degrees from 0 to 180
negAz:
type: integer
+ minimum: 0
+ maximum: 180
description: Calculated starboard side (negative) arrival angle in degrees from 0 to 180
blindAngle:
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/DSDDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/DSDDemod.yaml
index 255e9cf03..9b7f05453 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/DSDDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/DSDDemod.yaml
@@ -74,9 +74,13 @@ DSDDemodSettings:
traceStroke:
description: 0 to 255
type: integer
+ minimum: 0
+ maximum: 255
traceDecay:
description: 0 to 255
type: integer
+ minimum: 0
+ maximum: 255
streamIndex:
description: MIMO channel. Not relevant when connected to SI (single Rx).
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/DeviceActions.yaml b/sdrbase/resources/webapi/doc/swagger/include/DeviceActions.yaml
index db2c4b5d4..1a31d8e5e 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/DeviceActions.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/DeviceActions.yaml
@@ -11,6 +11,8 @@ DeviceActions:
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
+ minimum: 0
+ maximum: 2
originatorIndex:
description: Optional for reverse API. This is the device set index from where the message comes from.
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/DeviceReports.yaml b/sdrbase/resources/webapi/doc/swagger/include/DeviceReports.yaml
index 5d04c2cbe..19918e64c 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/DeviceReports.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/DeviceReports.yaml
@@ -11,6 +11,8 @@ DeviceReport:
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
+ minimum: 0
+ maximum: 2
airspyReport:
$ref: "/doc/swagger/include/Airspy.yaml#/AirspyReport"
description: "Airspy report data for Device."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/DeviceSettings.yaml b/sdrbase/resources/webapi/doc/swagger/include/DeviceSettings.yaml
index 598f503a9..57a03a71b 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/DeviceSettings.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/DeviceSettings.yaml
@@ -11,6 +11,8 @@ DeviceSettings:
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
+ minimum: 0
+ maximum: 2
originatorIndex:
description: Optional for reverse API. This is the device set index from where the message comes from.
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/FeatureReport.yaml b/sdrbase/resources/webapi/doc/swagger/include/FeatureReport.yaml
index 2c2387f9c..b44a55660 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/FeatureReport.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/FeatureReport.yaml
@@ -7,6 +7,15 @@ FeatureReport:
featureType:
description: Feature type code
type: string
+ AISReport:
+ $ref: "/doc/swagger/include/AIS.yaml#/AISReport"
+ description: "Ais report data for Feature."
+ APRSReport:
+ $ref: "/doc/swagger/include/APRS.yaml#/APRSReport"
+ description: "Aprs report data for Feature."
+ RadiosondeReport:
+ $ref: "/doc/swagger/include/Radiosonde.yaml#/RadiosondeReport"
+ description: "Radiosonde report data for Feature."
AFCReport:
$ref: "/doc/swagger/include/AFC.yaml#/AFCReport"
description: "Afc report data for Feature."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/FreqScanner.yaml b/sdrbase/resources/webapi/doc/swagger/include/FreqScanner.yaml
index e3649a86f..547eabdcb 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/FreqScanner.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/FreqScanner.yaml
@@ -2,18 +2,24 @@ FreqScannerSettings:
description: FreqScanner
properties:
channelBandwidth:
- description: channel RF bandwidth in Hz
+ description: >
+ Bandwidth in Hz of each scanned channel.
type: integer
channelShift:
- description: controlled channel frequency shift in Hz
+ description: >
+ Frequency shift in Hz applied to the tuned channel from the scanned frequency,
+ for modes such as SSB or CW where the signal sits on one side of centre.
type: integer
channelFrequencyOffset:
- description: channel center frequency shift from baseband center in Hz
+ description: >
+ Minimum frequency shift in Hz of the tuned channel from the centre of
+ reception, used to keep it clear of a DC spike.
type: integer
threshold:
type: number
format: float
- description: "Threshold setting for Freq scanner."
+ description: >
+ Power threshold in dB above which a scanned frequency counts as active.
frequencies:
type: array
description: "List of frequencies."
@@ -21,28 +27,47 @@ FreqScannerSettings:
$ref: "/doc/swagger/include/FreqScanner.yaml#/FreqScannerFrequency"
channel:
type: string
- description: "Channel identifier or configuration."
+ description: >
+ Channel that is tuned to the active frequency, as a device set and channel
+ index, for example "R1:0" for channel 0 of receive device set 1.
scanTime:
type: number
format: float
- description: "Scan time setting for Freq scanner."
+ description: >
+ Time in seconds that each power measurement is averaged over.
retransmitTime:
type: number
format: float
- description: "Retransmit time setting for Freq scanner."
+ description: >
+ Time in seconds to wait after the power on the active frequency falls below
+ the threshold before scanning restarts. In multiplex mode this is instead the
+ time spent listening to each frequency.
tuneTime:
type: number
format: float
- description: "Tune time setting for Freq scanner."
+ description: >
+ Time in milliseconds to wait after retuning the device before measuring, to allow
+ for PLL settling and device to host transfer latency.
priority:
type: integer
- description: "Priority setting for Freq scanner."
+ description: >
+ Which frequency becomes active when several are above the threshold
+ * 0 - the one with the highest power
+ * 1 - the one earliest in the frequency list
measurement:
type: integer
- description: "Measurement setting for Freq scanner."
+ description: >
+ How channel power is measured from the FFT bins
+ * 0 - peak, the highest bin
+ * 1 - total, the sum of every bin
mode:
type: integer
- description: "Mode setting for Freq scanner."
+ description: >
+ Run mode
+ * 0 - single, scan every frequency once and stop
+ * 1 - continuous, rescan when the active frequency goes quiet
+ * 2 - scan only, measure repeatedly without ever tuning the channel
+ * 3 - multiplex, step through the frequencies listening to each in turn
rgbColor:
type: integer
description: "Display color encoded as an RGB integer."
@@ -108,25 +133,36 @@ FreqScannerFrequency:
frequency:
type: integer
format: int64
- description: "Frequency in Hz."
+ description: >
+ Frequency to scan, in Hz.
enabled:
type: integer
- description: "Enabled for Freq scanner frequency."
+ description: >
+ Whether this frequency takes part in the scan (1 to scan it, 0 to skip it).
notes:
type: string
- description: "Notes for Freq scanner frequency."
+ description: >
+ Free text note about this frequency, such as the station or service name.
channel:
type: string
- description: "Channel identifier or configuration."
+ description: >
+ Overrides the scanner-wide channel for this frequency only, as a device set and
+ channel index such as "R1:0". Empty to use the scanner's own channel setting.
channelBandwidth:
type: string
- description: "Channel bandwidth in Hz."
+ description: >
+ Overrides the scanner-wide channel bandwidth in Hz for this frequency only.
+ Empty to use the scanner's own setting.
threshold:
type: string
- description: "Threshold for Freq scanner frequency."
+ description: >
+ Overrides the scanner-wide power threshold in dB for this frequency only.
+ Empty to use the scanner's own setting.
squelch:
type: string
- description: "Squelch threshold in dB."
+ description: >
+ Squelch threshold in dB to apply to the tuned channel when this frequency becomes
+ active. Empty to leave the channel's own squelch alone.
FreqScannerActions:
description: "Frequency Scanner actions"
diff --git a/sdrbase/resources/webapi/doc/swagger/include/FreqTracker.yaml b/sdrbase/resources/webapi/doc/swagger/include/FreqTracker.yaml
index a09190895..074f0c2ad 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/FreqTracker.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/FreqTracker.yaml
@@ -11,6 +11,8 @@ FreqTrackerSettings:
format: float
log2Decim:
type: integer
+ minimum: 0
+ maximum: 6
description: "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
squelch:
description: power squelch threshold in decibels
@@ -32,6 +34,8 @@ FreqTrackerSettings:
tracking:
description: Tracking 1 for enabled 0 for disabled
type: integer
+ minimum: 0
+ maximum: 1
trackerType:
description: Tracker element type (FLL, PLL...)
type: integer
@@ -41,6 +45,8 @@ FreqTrackerSettings:
rrc:
description: RRC filter (1 for on, 0 for off)
type: integer
+ minimum: 0
+ maximum: 1
rrcRolloff:
description: RRC filter rolloff factor in %
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/GLScope.yaml b/sdrbase/resources/webapi/doc/swagger/include/GLScope.yaml
index 032a72630..1ecc7b65a 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/GLScope.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/GLScope.yaml
@@ -5,8 +5,25 @@ TraceData:
description: Source I/Q stream index
type: integer
projectionType:
- description: Complex to real projection type. See Projector::ProjectionType
- type: integer
+ description: >
+ Projection applied to turn the complex signal into a real trace
+ * 0 - real part
+ * 1 - imaginary part
+ * 2 - magnitude, linear
+ * 3 - squared magnitude (power), linear
+ * 4 - time derivative of the squared magnitude
+ * 5 - squared magnitude in dB
+ * 6 - phase
+ * 7 - direction of arrival from phase, positive branch
+ * 8 - direction of arrival from phase, negative branch
+ * 9 - phase derivative, instantaneous frequency
+ * 10 - BPSK phase comparator
+ * 11 - QPSK phase comparator
+ * 12 - 8-PSK phase comparator
+ * 13 - 16-PSK phase comparator
+ type: integer
+ minimum: 0
+ maximum: 13
inputIndex:
description: Input or feed index this trace is associated with
type: integer
@@ -63,8 +80,25 @@ TriggerData:
description: Source I/Q stream index
type: integer
projectionType:
- description: Complex to real projection type. See Projector::ProjectionType
- type: integer
+ description: >
+ Projection applied to turn the complex signal into a real trace
+ * 0 - real part
+ * 1 - imaginary part
+ * 2 - magnitude, linear
+ * 3 - squared magnitude (power), linear
+ * 4 - time derivative of the squared magnitude
+ * 5 - squared magnitude in dB
+ * 6 - phase
+ * 7 - direction of arrival from phase, positive branch
+ * 8 - direction of arrival from phase, negative branch
+ * 9 - phase derivative, instantaneous frequency
+ * 10 - BPSK phase comparator
+ * 11 - QPSK phase comparator
+ * 12 - 8-PSK phase comparator
+ * 13 - 16-PSK phase comparator
+ type: integer
+ minimum: 0
+ maximum: 13
inputIndex:
description: Input or feed index this trigger is associated with
type: integer
@@ -123,8 +157,16 @@ GLScope:
description: GLScopeGUI settings
properties:
displayMode:
- description: see GLScopeSettings::DisplayMode
- type: integer
+ description: >
+ Arrangement of the two traces on the scope
+ * 0 - X and Y side by side horizontally
+ * 1 - X and Y stacked vertically
+ * 2 - X only
+ * 3 - Y only
+ * 4 - polar, Y against X
+ type: integer
+ minimum: 0
+ maximum: 4
traceIntensity:
type: integer
description: "Trace intensity for Gl scope."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/GLSpectrum.yaml b/sdrbase/resources/webapi/doc/swagger/include/GLSpectrum.yaml
index 848c6ab4c..74f5f5bc5 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/GLSpectrum.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/GLSpectrum.yaml
@@ -69,12 +69,16 @@ SpectrumAnnotationMarker:
show:
type: integer
minimum: 0
- maximum: 2
+ maximum: 3
description: >
SpectrumAnnotationMarker::ShowState - Marker display state
* 0 - Hidden
* 1 - Only top marker visible
* 2 - Fully visible with text and full sized limits
+ * 3 - Text only
+ text:
+ type: string
+ description: "Text displayed against the marker."
SpectrumCalibrationPoint:
description: Spectrum calibration point settings
@@ -92,6 +96,21 @@ SpectrumCalibrationPoint:
format: float
description: "Power absolute reference for Spectrum calibration point."
+SpectrumMemorySettings:
+ description: Display settings for one saved spectrum memory. The captured spectrum samples are not transferred through settings APIs.
+ properties:
+ display:
+ description: Display this saved spectrum memory (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ color:
+ description: Display colour encoded as an RGB integer.
+ type: integer
+ label:
+ description: User-visible label for this saved spectrum memory.
+ type: string
+
GLSpectrum:
description: GLSpectrumGUI settings
properties:
@@ -132,6 +151,151 @@ GLSpectrum:
type: integer
minimum: 0
maximum: 1
+ display3DSpectrogram:
+ description: Display the 3D spectrogram instead of the 2D waterfall (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ spectrogramStyle:
+ description: >
+ Rendering style for the 3D spectrogram.
+ * 0 - Points
+ * 1 - Lines
+ * 2 - Solid
+ * 3 - Outline
+ * 4 - Shaded (requires OpenGL 3.3 or later)
+ type: integer
+ minimum: 0
+ maximum: 4
+ truncateFreqScale:
+ description: Truncate the frequency scale to the displayed span (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ colorMap:
+ description: Colour-map name used for waterfall and 3D spectrogram rendering.
+ type: string
+ spectrumStyle:
+ description: "Current spectrum trace style: 0 line, 1 filled, 2 gradient."
+ type: integer
+ minimum: 0
+ maximum: 2
+ measurement:
+ description: "Measurement mode: 0 none, 1 peaks, 2 channel power, 3 adjacent-channel power, 4 occupied bandwidth, 5 3 dB bandwidth, 6 SNR, 7 mask."
+ type: integer
+ minimum: 0
+ maximum: 7
+ measurementCenterFrequencyOffset:
+ description: Measurement centre-frequency offset in Hz.
+ type: integer
+ measurementBandwidth:
+ description: Measurement bandwidth in Hz.
+ type: integer
+ minimum: 0
+ measurementChSpacing:
+ description: Adjacent-channel measurement channel spacing in Hz.
+ type: integer
+ minimum: 0
+ measurementAdjChBandwidth:
+ description: Adjacent-channel measurement bandwidth in Hz.
+ type: integer
+ minimum: 0
+ measurementHarmonics:
+ description: Number of harmonics to measure.
+ type: integer
+ minimum: 0
+ measurementPeaks:
+ description: Number of peaks to report.
+ type: integer
+ minimum: 0
+ measurementHighlight:
+ description: Highlight the selected measurement (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ measurementsPosition:
+ description: "Measurement panel position: 0 above, 1 below, 2 left, 3 right."
+ type: integer
+ minimum: 0
+ maximum: 3
+ measurementPrecision:
+ description: Decimal precision for measurement values.
+ type: integer
+ minimum: 0
+ findHistogramPeaks:
+ description: Find peaks in the spectrum histogram (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ showControls:
+ description: "Spectrum control visibility: 0 minimum, 1 standard, 2 all."
+ type: integer
+ minimum: 0
+ maximum: 2
+ frequencyZoomFactor:
+ description: Horizontal frequency zoom factor.
+ type: number
+ minimum: 1
+ frequencyZoomPos:
+ description: Horizontal frequency-zoom position as a fraction of the span.
+ type: number
+ minimum: 0
+ maximum: 1
+ waterfallTimeUnits:
+ description: "Waterfall time axis: 0 offset, 1 local time, 2 UTC."
+ type: integer
+ minimum: 0
+ maximum: 2
+ waterfallTimeFormat:
+ description: Qt date/time format used for the waterfall time axis.
+ type: string
+ scrollBar:
+ description: Enable waterfall/3D spectrogram scrolling (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ scrollLength:
+ description: Maximum waterfall/3D spectrogram history length.
+ type: integer
+ minimum: 1
+ mathMode:
+ description: "Spectrum math mode: 0 none, 1-4 moving-average modes, 5-10 saved-memory comparison modes."
+ type: integer
+ minimum: 0
+ maximum: 10
+ mathAvgCount:
+ description: Number of FFT frames used by spectrum math averaging.
+ type: integer
+ minimum: 1
+ measurementMemMasks:
+ description: Bitmask selecting saved spectrum memories used as measurement masks.
+ type: integer
+ minimum: 0
+ maximum: 3
+ displayRBW:
+ description: Display resolution bandwidth (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayCursorStats:
+ description: Display cursor statistics (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayPeakStats:
+ description: Display peak statistics (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ spectrumMemory:
+ description: Display settings for the two saved spectrum memories.
+ type: array
+ maximum: 2
+ items:
+ $ref: "/doc/swagger/include/GLSpectrum.yaml#/SpectrumMemorySettings"
+ spectrumColor:
+ description: Current spectrum trace colour encoded as an RGB integer.
+ type: integer
invertedWaterfall:
description: boolean
type: integer
@@ -177,8 +341,16 @@ GLSpectrum:
format: float
description: "Waterfall share for Gl spectrum."
averagingMode:
- description: See GLSpectrumGUI::AveragingMode
+ description: >
+ How successive FFTs are averaged
+ * 0 - no averaging
+ * 1 - moving average
+ * 2 - fixed average over each block
+ * 3 - maximum held over each block
+ * 4 - minimum held over each block
type: integer
+ minimum: 0
+ maximum: 4
averagingValue:
type: integer
description: "Averaging value for Gl spectrum."
@@ -243,6 +415,17 @@ GLSpectrum:
description: "List of waterfall markers."
items:
$ref: "/doc/swagger/include/GLSpectrum.yaml#/SpectrumWaterfallMarker"
+ annotationMarkersMode:
+ description: >
+ How annotationMarkers in the same request is applied. Replacing is what a PATCH of an
+ array means and is what the other marker lists do, but it discards annotations already
+ there, such as a loaded band plan. Append adds to them instead, so a caller adding one
+ annotation need not read the list, modify it and write it back.
+ * 0 - Replace the annotations with those given (the default)
+ * 1 - Append those given to the annotations already there
+ type: integer
+ minimum: 0
+ maximum: 1
annotationMarkers:
type: array
description: "List of annotation markers."
@@ -253,3 +436,189 @@ GLSpectrum:
description: "List of calibration points."
items:
$ref: "/doc/swagger/include/GLSpectrum.yaml#/SpectrumCalibrationPoint"
+
+GLSpectrumReport:
+ description: >
+ The latest values of whichever spectrum measurement is switched on. Which fields are present
+ depends on the measurement: with none selected nothing is measured at all and only the
+ measurement field is returned. The figures are those of the spectrum as displayed, so they
+ match the window rather than the full span when it is zoomed, and they are only produced by a
+ running GUI.
+ properties:
+ measurement:
+ description: >
+ Which measurement produced these values.
+ * 0 - None, nothing is being measured
+ * 1 - Peaks
+ * 2 - Channel power
+ * 3 - Adjacent channel power
+ * 4 - Occupied bandwidth
+ * 5 - 3 dB bandwidth
+ * 6 - SNR
+ type: integer
+ updated:
+ type: string
+ description: "When these values were last measured, ISO 8601. Absent until the first measurement."
+ peaks:
+ type: array
+ description: "The strongest peaks, most powerful first. Peaks measurement only."
+ items:
+ $ref: "/doc/swagger/include/GLSpectrum.yaml#/SpectrumPeak"
+ channelPower:
+ type: number
+ format: float
+ description: "Total power in the measurement bandwidth in dB. Channel power measurement only."
+ adjChannelPowerLeft:
+ type: number
+ format: float
+ description: "Power in the lower adjacent channel in dB."
+ adjChannelPowerLeftRatio:
+ type: number
+ format: float
+ description: "Lower adjacent channel power ratio in dB, relative to the centre channel."
+ adjChannelPowerCentre:
+ type: number
+ format: float
+ description: "Power in the centre channel in dB."
+ adjChannelPowerRight:
+ type: number
+ format: float
+ description: "Power in the upper adjacent channel in dB."
+ adjChannelPowerRightRatio:
+ type: number
+ format: float
+ description: "Upper adjacent channel power ratio in dB, relative to the centre channel."
+ occupiedBandwidth:
+ type: number
+ format: float
+ description: "Occupied bandwidth in Hz. Occupied bandwidth measurement only."
+ bandwidth3dB:
+ type: number
+ format: float
+ description: "3 dB bandwidth in Hz. 3 dB bandwidth measurement only."
+ snr:
+ type: number
+ format: float
+ description: "Signal to noise ratio in dB. SNR measurement only."
+ snfr:
+ type: number
+ format: float
+ description: "Signal to noise and distortion free ratio in dB."
+ thd:
+ type: number
+ format: float
+ description: "Total harmonic distortion in dB."
+ thdPlusNoise:
+ type: number
+ format: float
+ description: "Total harmonic distortion plus noise in dB."
+ sinad:
+ type: number
+ format: float
+ description: "Signal to noise and distortion ratio in dB."
+ sfdr:
+ type: number
+ format: float
+ description: "Spurious free dynamic range in dB."
+
+SpectrumPeak:
+ description: One peak found in the spectrum
+ properties:
+ frequency:
+ type: integer
+ format: int64
+ description: "Frequency of the peak in Hz."
+ power:
+ type: number
+ format: float
+ description: "Power of the peak in dB."
+
+SpectrumActions:
+ description: Actions on the main spectrum of a device set
+ properties:
+ autoscale:
+ description: >
+ Set the reference level and range from the spectrum currently displayed, as the autoscale
+ button does. Needs a running GUI (1 to do it, 0 to do nothing).
+ type: integer
+ minimum: 0
+ maximum: 1
+ clearSpectrum:
+ description: >
+ Discard the accumulated histogram and max hold traces, as the clear button does. Needs a
+ running GUI (1 to do it, 0 to do nothing).
+ type: integer
+ minimum: 0
+ maximum: 1
+ resetMeasurements:
+ description: >
+ Discard the accumulated measurement statistics, so the minimum, maximum and mean columns
+ start again. Needs a running GUI (1 to do it, 0 to do nothing).
+ type: integer
+ minimum: 0
+ maximum: 1
+ freeze:
+ description: >
+ Stop or resume spectrum processing. Unlike the others this acts on the spectrum itself
+ rather than its display, so it works without a GUI (1 to freeze, 0 to resume).
+ type: integer
+ minimum: 0
+ maximum: 1
+ gotoMarker:
+ description: >
+ Retune the device to the annotation marker at this index, counting from 0, as choosing it
+ in the goto list does. Needs a running GUI.
+ type: integer
+ minimum: 0
+
+GLSpectrumData:
+ description: >
+ A copy of the current power spectrum, reduced to the number of bins asked for so that the
+ answer stays a sensible size whatever the FFT size. The spectrum is only computed while
+ something is consuming it, a spectrum window or a websocket client, so updated says how old
+ these values are and is absent if none has been produced yet.
+ properties:
+ centerFrequency:
+ type: integer
+ format: int64
+ description: "Centre frequency of the whole spectrum in Hz."
+ bandwidth:
+ type: integer
+ description: "Width of the whole spectrum in Hz."
+ fftSize:
+ type: integer
+ description: "Number of bins the spectrum was computed with, before reduction."
+ linear:
+ type: integer
+ minimum: 0
+ maximum: 1
+ description: "1 when the powers are linear, 0 when they are in dB."
+ updated:
+ type: string
+ description: "When the spectrum was last computed, ISO 8601. Absent if it never has been."
+ startFrequency:
+ type: integer
+ format: int64
+ description: "Centre frequency of the first returned bin in Hz."
+ stopFrequency:
+ type: integer
+ format: int64
+ description: "Centre frequency of the last returned bin in Hz."
+ binBandwidth:
+ type: number
+ format: float
+ description: "Width of each returned bin in Hz, after reduction."
+ bins:
+ type: integer
+ description: "Number of values in power."
+ reduce:
+ type: string
+ description: >
+ How several FFT bins were combined into each returned one, max or mean. Max keeps a narrow
+ carrier that averaging would bury in its neighbours, which is why it is the default.
+ power:
+ type: array
+ description: "The reduced powers, first bin first."
+ items:
+ type: number
+ format: float
diff --git a/sdrbase/resources/webapi/doc/swagger/include/GS232Controller.yaml b/sdrbase/resources/webapi/doc/swagger/include/GS232Controller.yaml
index b4d7b119b..704821805 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/GS232Controller.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/GS232Controller.yaml
@@ -24,6 +24,8 @@ GS232ControllerSettings:
track:
description: Track a target where azimuth and elevation are determined by another plugin (1 for yes, 0 for no)
type: integer
+ minimum: 0
+ maximum: 1
source:
description: "Identifier of the channel or feature plugin providing azimuth and elevation (E.g. R0:0 ADSBDemod)"
type: string
diff --git a/sdrbase/resources/webapi/doc/swagger/include/HackRF.yaml b/sdrbase/resources/webapi/doc/swagger/include/HackRF.yaml
index 87f4093d8..6df4435bf 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/HackRF.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/HackRF.yaml
@@ -26,6 +26,8 @@ HackRFInputSettings:
fcPos:
description: 0=Infra 1=Supra 2=Center
type: integer
+ minimum: 0
+ maximum: 2
devSampleRate:
type: integer
description: "Device I/Q sample rate in samples per second before software decimation or interpolation."
@@ -106,6 +108,8 @@ HackRFOutputSettings:
fcPos:
description: 0=Infra 1=Supra 2=Center
type: integer
+ minimum: 0
+ maximum: 2
devSampleRate:
type: integer
description: "Device I/Q sample rate in samples per second before software decimation or interpolation."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ILSDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/ILSDemod.yaml
index 059b6bb5e..4ef659af2 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ILSDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ILSDemod.yaml
@@ -12,6 +12,8 @@ ILSDemodSettings:
mode:
description: "(0 for LOC, 1 for G/S)"
type: integer
+ minimum: 0
+ maximum: 1
frequencyIndex:
type: integer
description: "Selected frequency index."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/InmarsatDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/InmarsatDemod.yaml
index 9878b2048..80069d666 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/InmarsatDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/InmarsatDemod.yaml
@@ -33,6 +33,8 @@ InmarsatDemodSettings:
udpFormat:
description: "0 for binary, 1 for NMEA"
type: integer
+ minimum: 0
+ maximum: 1
logFilename:
type: string
description: "Log file name or path."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/Interferometer.yaml b/sdrbase/resources/webapi/doc/swagger/include/Interferometer.yaml
index 25066940e..cebc9a2d4 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/Interferometer.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/Interferometer.yaml
@@ -2,8 +2,19 @@ InterferometerSettings:
description: Interferometer
properties:
correlationType:
- description: see InterferometerSettings::CorrelationType
+ description: >
+ Operation applied to the two input streams
+ * 0 - stream 0 only
+ * 1 - stream 1 only
+ * 2 - add the streams
+ * 3 - multiply the streams
+ * 4 - inverse FFT of the cross spectrum
+ * 5 - inverse FFT of the conjugate cross spectrum
+ * 6 - FFT of the cross spectrum
+ * 7 - second form of the inverse FFT correlation
type: integer
+ minimum: 0
+ maximum: 7
rgbColor:
type: integer
description: "Display color encoded as an RGB integer."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/KiwiSDR.yaml b/sdrbase/resources/webapi/doc/swagger/include/KiwiSDR.yaml
index b2859538d..1f6554439 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/KiwiSDR.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/KiwiSDR.yaml
@@ -47,6 +47,8 @@ KiwiSDRReport:
status:
description: 0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected
type: integer
+ minimum: 0
+ maximum: 4
latitude:
type: number
format: float
diff --git a/sdrbase/resources/webapi/doc/swagger/include/LimeRFE.yaml b/sdrbase/resources/webapi/doc/swagger/include/LimeRFE.yaml
index 6caa6cbbd..6e0918ee4 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/LimeRFE.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/LimeRFE.yaml
@@ -29,6 +29,8 @@ LimeRFESettings:
* 1 - High: 1 - 4 GHz
rxHAMChannel:
type: integer
+ minimum: 0
+ maximum: 8
description: >
Rx HAM channel selection (LimeRFEController::HAMChannel)
* 0 - 30 MHz and lower
@@ -42,6 +44,8 @@ LimeRFESettings:
* 8 - 3300 - 3500 MHz
rxCellularChannel:
type: integer
+ minimum: 0
+ maximum: 4
description: >
Rx cellular channel selection (LimeRFEController::CellularChannel)
* 0 - Band 1: 1.92 - 1.98 GHz
@@ -82,6 +86,8 @@ LimeRFESettings:
* 1 - High: 1 - 4 GHz
txHAMChannel:
type: integer
+ minimum: 0
+ maximum: 8
description: >
Tx HAM channel selection (LimeRFEController::HAMChannel)
* 0 - 30 MHz and lower
@@ -95,6 +101,8 @@ LimeRFESettings:
* 8 - 3300 - 3500 MHz
txCellularChannel:
type: integer
+ minimum: 0
+ maximum: 4
description: >
Tx cellular channel selection (LimeRFEController::CellularChannel)
* 0 - Band 1: 1.92 - 1.98 GHz
diff --git a/sdrbase/resources/webapi/doc/swagger/include/M17Demod.yaml b/sdrbase/resources/webapi/doc/swagger/include/M17Demod.yaml
index 6a1235e0a..d78eedccb 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/M17Demod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/M17Demod.yaml
@@ -54,9 +54,13 @@ M17DemodSettings:
traceStroke:
description: 0 to 255
type: integer
+ minimum: 0
+ maximum: 255
traceDecay:
description: 0 to 255
type: integer
+ minimum: 0
+ maximum: 255
audioDeviceName:
type: string
description: "Name of the audio device to use."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/MCPServer.yaml b/sdrbase/resources/webapi/doc/swagger/include/MCPServer.yaml
index 959674b6c..25bf48fbd 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/MCPServer.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/MCPServer.yaml
@@ -6,6 +6,8 @@ MCPServerSettings:
description: Address to bind the HTTP listener to. Defaults to 127.0.0.1 (local connections only)
port:
type: integer
+ minimum: 1024
+ maximum: 65535
description: TCP port the MCP server listens on
token:
type: string
diff --git a/sdrbase/resources/webapi/doc/swagger/include/Map.yaml b/sdrbase/resources/webapi/doc/swagger/include/Map.yaml
index 86977ea60..c92401f94 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/Map.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/Map.yaml
@@ -4,9 +4,166 @@ MapSettings:
displayNames:
description: Display object names on the map (1 for yes, 0 for no)
type: integer
+ minimum: 0
+ maximum: 1
+ map2DEnabled:
+ description: Display the 2D map pane (1 for yes, 0 for no). Disable this while keeping map3DEnabled enabled to show only the 3D map.
+ type: integer
+ minimum: 0
+ maximum: 1
+ map3DEnabled:
+ description: Display the 3D map pane (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ mapProvider:
+ description: 2D map provider identifier.
+ type: string
+ mapType:
+ description: Selected 2D map type, for example Street Map or Satellite Map.
+ type: string
+ osmURL:
+ description: Custom OpenStreetMap tile-server URL.
+ type: string
+ mapBoxStyles:
+ description: Mapbox style identifier used by the selected 2D provider.
+ type: string
+ displaySelectedGroundTracks:
+ description: Display ground tracks for selected items (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayAllGroundTracks:
+ description: Display ground tracks for all items (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
terrain:
description: "Terrain used for 3D map (E.g: 'Ellipsoid' or 'Cesium World Terrain')"
type: string
+ buildings:
+ description: 3D buildings layer, for example None or Cesium OSM Buildings.
+ type: string
+ sunLightEnabled:
+ description: Light the globe from the Sun's direction (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ lightIntensity:
+ description: Camera light intensity used by the 3D map.
+ type: number
+ minimum: 0
+ eciCamera:
+ description: Use an ECI rather than ECEF camera frame (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ fxaa:
+ description: Enable fast approximate anti-aliasing (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ msaa:
+ description: Multisample anti-aliasing level.
+ type: integer
+ minimum: 1
+ maximum: 8
+ terrainLighting:
+ description: Enable terrain lighting (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ water:
+ description: Enable water effects (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ hdr:
+ description: Enable high dynamic range rendering (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ fog:
+ description: Enable atmospheric fog (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ fps:
+ description: Display the 3D map frame rate (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayMUF:
+ description: Display maximum-usable-frequency contours (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayfoF2:
+ description: Display F2 critical-frequency contours (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayRain:
+ description: Display weather-radar rain and snow overlay (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayClouds:
+ description: Display satellite infrared cloud overlay (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displaySeaMarks:
+ description: Display sea marks (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayRailways:
+ description: Display railways (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayNASAGlobalImagery:
+ description: Display NASA GIBS imagery (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ nasaGlobalImageryIdentifier:
+ description: NASA GIBS imagery-layer identifier.
+ type: string
+ nasaGlobalImageryOpacity:
+ description: NASA GIBS imagery opacity as a percentage.
+ type: integer
+ minimum: 0
+ maximum: 100
+ displayAurora:
+ description: Display aurora-probability overlay (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayMagDec:
+ description: Display magnetic-declination contours (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayMaidenheadGrid:
+ description: Display Maidenhead grid (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ displayPFD:
+ description: Display the aircraft primary-flight display (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ viewFirstPerson:
+ description: Use first-person 3D map view (1 for yes, 0 for no).
+ type: integer
+ minimum: 0
+ maximum: 1
+ defaultImagery:
+ description: Default imagery layer for the 3D map.
+ type: string
title:
type: string
description: "User-visible title."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/MeshcoreDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/MeshcoreDemod.yaml
index d5a2bb7d9..b9ddc945d 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/MeshcoreDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/MeshcoreDemod.yaml
@@ -161,6 +161,8 @@ MeshcoreDemodReport:
syncWord:
description: 2 bytes sync word (0..65535)
type: integer
+ minimum: 0
+ maximum: 65535
nbParityBits:
description: Hamming FEC parity bits (LoRa)
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/MeshcoreMod.yaml b/sdrbase/resources/webapi/doc/swagger/include/MeshcoreMod.yaml
index d42d2ccc1..80df1878d 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/MeshcoreMod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/MeshcoreMod.yaml
@@ -53,6 +53,8 @@ MeshcoreModSettings:
syncWord:
description: 2 byte (0..65535) synchronization syncWord
type: integer
+ minimum: 0
+ maximum: 65535
channelMute:
description: boolean
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/MeshtasticDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/MeshtasticDemod.yaml
index 872b76d60..ff527fb85 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/MeshtasticDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/MeshtasticDemod.yaml
@@ -161,6 +161,8 @@ MeshtasticDemodReport:
syncWord:
description: 2 bytes sync word (0..65535)
type: integer
+ minimum: 0
+ maximum: 65535
nbParityBits:
description: Hamming FEC parity bits (LoRa)
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/MeshtasticMod.yaml b/sdrbase/resources/webapi/doc/swagger/include/MeshtasticMod.yaml
index fcd1d9ffe..5439950b7 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/MeshtasticMod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/MeshtasticMod.yaml
@@ -53,6 +53,8 @@ MeshtasticModSettings:
syncWord:
description: 2 byte (0..65535) synchronization syncWord
type: integer
+ minimum: 0
+ maximum: 65535
channelMute:
description: boolean
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/MetisMISO.yaml b/sdrbase/resources/webapi/doc/swagger/include/MetisMISO.yaml
index 88c213b16..008f8bc59 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/MetisMISO.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/MetisMISO.yaml
@@ -112,6 +112,8 @@ MetisMISOSettings:
description: "Selected sample rate index."
log2Decim:
type: integer
+ minimum: 0
+ maximum: 3
description: "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
LOppmTenths:
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/Perseus.yaml b/sdrbase/resources/webapi/doc/swagger/include/Perseus.yaml
index 8429d32d0..22c38a452 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/Perseus.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/Perseus.yaml
@@ -16,6 +16,8 @@ PerseusSettings:
description: "Selected dev sample rate index."
log2Decim:
type: integer
+ minimum: 0
+ maximum: 2
description: "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
adcDither:
description: ADC dithering (1 if active else 0)
diff --git a/sdrbase/resources/webapi/doc/swagger/include/PlutoSdr.yaml b/sdrbase/resources/webapi/doc/swagger/include/PlutoSdr.yaml
index f6ad8e2dc..a6f7f4c79 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/PlutoSdr.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/PlutoSdr.yaml
@@ -25,12 +25,16 @@ PlutoSdrInputSettings:
lpfFIRlog2Decim:
description: digital lowpass FIR filter log2 of decimation factor (0..2)
type: integer
+ minimum: 0
+ maximum: 2
lpfFIRGain:
description: digital lowpass FIR filter gain (dB)
type: integer
fcPos:
description: 0=Infra 1=Supra 2=Center
type: integer
+ minimum: 0
+ maximum: 2
dcBlock:
type: integer
description: "Enable DSP DC-offset correction (1 enabled, 0 disabled)."
@@ -132,6 +136,8 @@ PlutoSdrOutputSettings:
lpfFIRlog2Interp:
description: digital lowpass FIR filter log2 of interpolation factor (0..2)
type: integer
+ minimum: 0
+ maximum: 2
lpfFIRGain:
description: digital lowpass FIR filter gain (dB)
type: integer
@@ -217,6 +223,8 @@ PlutoSdrMIMOSettings:
fcPosRx:
description: 0=Infra 1=Supra 2=Center
type: integer
+ minimum: 0
+ maximum: 2
rxTransverterMode:
type: integer
description: "Receive transverter mode setting for Pluto sdr MIMO."
@@ -244,6 +252,8 @@ PlutoSdrMIMOSettings:
lpfRxFIRlog2Decim:
description: digital lowpass FIR filter log2 of decimation factor (0..2)
type: integer
+ minimum: 0
+ maximum: 2
lpfRxFIRGain:
description: digital lowpass FIR filter gain (dB)
type: integer
@@ -275,6 +285,8 @@ PlutoSdrMIMOSettings:
fcPosTx:
description: 0=Infra 1=Supra 2=Center
type: integer
+ minimum: 0
+ maximum: 2
txTransverterMode:
type: integer
description: "Transmit transverter mode setting for Pluto sdr MIMO."
@@ -294,6 +306,8 @@ PlutoSdrMIMOSettings:
lpfTxFIRlog2Interp:
description: digital lowpass FIR filter log2 of interpolation factor (0..2)
type: integer
+ minimum: 0
+ maximum: 2
lpfTxFIRGain:
description: digital lowpass FIR filter gain (dB)
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/Preset.yaml b/sdrbase/resources/webapi/doc/swagger/include/Preset.yaml
index 6ecb07c9f..d76b8bd4e 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/Preset.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/Preset.yaml
@@ -28,8 +28,14 @@ Preset:
description: Represents a Preset object
properties:
presetType:
- description: See Preset::PresetType
+ description: >
+ Which kind of device set the preset applies to
+ * 0 - receiver
+ * 1 - transmitter
+ * 2 - MIMO
type: integer
+ minimum: 0
+ maximum: 2
group:
type: string
description: "Group for Preset."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/RadioAstronomy.yaml b/sdrbase/resources/webapi/doc/swagger/include/RadioAstronomy.yaml
index 6aed06c29..0861cb4b1 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/RadioAstronomy.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/RadioAstronomy.yaml
@@ -32,15 +32,21 @@ RadioAstronomySettings:
runMode:
description: "(0 for single, 1 for continuous, 2 for sweep)"
type: integer
+ minimum: 0
+ maximum: 2
sweepStartAtTime:
description: "(0 for now, 1 for at sweepStartDateTime)"
type: integer
+ minimum: 0
+ maximum: 1
sweepStartDateTime:
type: string
description: "Sweep start date time setting for Radio astronomy."
sweepType:
description: "(0 for Az/El, 1 for l/b, 2 for offset)"
type: integer
+ minimum: 0
+ maximum: 2
sweep1Start:
type: number
format: float
diff --git a/sdrbase/resources/webapi/doc/swagger/include/RadioClock.yaml b/sdrbase/resources/webapi/doc/swagger/include/RadioClock.yaml
index 5be75d060..ac1b1e42b 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/RadioClock.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/RadioClock.yaml
@@ -8,6 +8,8 @@ RadioClockSettings:
frequencyMode:
description: (0 for Offset, 1 for Absolute)
type: integer
+ minimum: 0
+ maximum: 1
frequency:
description: Channel center frequency
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/Radiosonde.yaml b/sdrbase/resources/webapi/doc/swagger/include/Radiosonde.yaml
index f46c67066..3a668f676 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/Radiosonde.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/Radiosonde.yaml
@@ -39,3 +39,94 @@ RadiosondeSettings:
description: "List of radiosondes column sizes."
items:
type: integer
+
+RadiosondeReport:
+ description: >
+ Radiosondes heard by the Radiosonde feature, which collects the decoded frames of every
+ radiosonde demodulator in the instance. A field is present only once a frame carrying it has
+ been received.
+ properties:
+ reportDateTime:
+ type: string
+ description: "When this snapshot was taken, ISO 8601."
+ radiosondeCount:
+ type: integer
+ description: "Number of radiosondes currently held."
+ radiosondes:
+ type: array
+ description: "The radiosondes heard."
+ items:
+ $ref: "/doc/swagger/include/Radiosonde.yaml#/Radiosonde"
+
+Radiosonde:
+ description: Radiosonde heard by the Radiosonde feature
+ properties:
+ serial:
+ type: string
+ description: "Serial number, which identifies the sonde across a flight."
+ type:
+ type: string
+ description: "Sonde model, such as RS41."
+ latitude:
+ type: number
+ format: float
+ minimum: -90
+ maximum: 90
+ description: "Latitude in decimal degrees, north positive."
+ longitude:
+ type: number
+ format: float
+ minimum: -180
+ maximum: 180
+ description: "Longitude in decimal degrees, east positive."
+ altitude:
+ type: number
+ format: float
+ description: "Altitude in metres above mean sea level."
+ altitudeMax:
+ type: number
+ format: float
+ description: "Greatest altitude seen this flight in metres, which indicates the burst altitude."
+ speed:
+ type: number
+ format: float
+ description: "Ground speed in km/h."
+ verticalRate:
+ type: number
+ format: float
+ description: "Ascent rate in m/s. Negative after burst."
+ heading:
+ type: number
+ format: float
+ description: "Direction of travel in degrees true."
+ status:
+ type: string
+ description: "Status as reported by the sonde."
+ pressure:
+ type: number
+ format: float
+ description: "Atmospheric pressure in hPa."
+ temperature:
+ type: number
+ format: float
+ description: "Air temperature in degrees Celsius."
+ humidity:
+ type: number
+ format: float
+ description: "Relative humidity as a percentage."
+ frequency:
+ type: integer
+ format: int64
+ description: "Transmit frequency in Hz."
+ burstKillStatus:
+ type: string
+ description: "Whether the burst-kill timer is armed."
+ burstKillTimer:
+ type: string
+ description: "Time remaining on the burst-kill timer."
+ lastUpdate:
+ type: string
+ description: "When any field was last updated, ISO 8601."
+ messages:
+ type: integer
+ description: "Frames received from this radiosonde."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/RemoteTCPInput.yaml b/sdrbase/resources/webapi/doc/swagger/include/RemoteTCPInput.yaml
index 3e75e54aa..20faac400 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/RemoteTCPInput.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/RemoteTCPInput.yaml
@@ -34,6 +34,8 @@ RemoteTCPInputSettings:
description: "Device I/Q sample rate in samples per second before software decimation or interpolation."
log2Decim:
type: integer
+ minimum: 0
+ maximum: 6
description: "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
gain:
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/RtlSdr.yaml b/sdrbase/resources/webapi/doc/swagger/include/RtlSdr.yaml
index f84bdc3b5..8fe7254d9 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/RtlSdr.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/RtlSdr.yaml
@@ -12,6 +12,8 @@ RtlSdrSettings:
devSampleRate / 2^log2Decim.
lowSampleRate:
type: integer
+ minimum: 0
+ maximum: 1
description: "Use the RTL-SDR low sample-rate range (1 enabled, 0 disabled)."
centerFrequency:
type: integer
@@ -19,7 +21,10 @@ RtlSdrSettings:
description: "Device center frequency in Hz."
gain:
type: integer
- description: "Gain setting; units and available values depend on the device or plugin."
+ description: >
+ Tuner gain in tenths of a dB, so 496 means 49.6 dB. Only the discrete values the tuner
+ supports can be used; they are listed in the gains field of RtlSdrReport, which must be
+ read from the device report before setting this. Ignored unless agc is disabled.
loPpmCorrection:
type: integer
description: "Local-oscillator correction in parts per million."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/SDRPlay.yaml b/sdrbase/resources/webapi/doc/swagger/include/SDRPlay.yaml
index 78508af9a..b0de4c661 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/SDRPlay.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/SDRPlay.yaml
@@ -28,6 +28,8 @@ SDRPlaySettings:
description: "Selected dev sample rate index."
log2Decim:
type: integer
+ minimum: 0
+ maximum: 6
description: "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
fcPos:
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/SDRPlayV3.yaml b/sdrbase/resources/webapi/doc/swagger/include/SDRPlayV3.yaml
index ba6927fc7..111036c24 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/SDRPlayV3.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/SDRPlayV3.yaml
@@ -22,6 +22,8 @@ SDRPlayV3Settings:
description: "Device I/Q sample rate in samples per second before software decimation or interpolation."
log2Decim:
type: integer
+ minimum: 0
+ maximum: 6
description: "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
fcPos:
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/SID.yaml b/sdrbase/resources/webapi/doc/swagger/include/SID.yaml
index f3d2f1b78..18ba77ea0 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/SID.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/SID.yaml
@@ -12,8 +12,10 @@ SIDSettings:
type: integer
description: "Autoload setting for Sid."
filename:
- type: integer
- description: "Filename setting for Sid."
+ type: string
+ description: >
+ File that measurements are written to and read back from when autosave or
+ autoload is enabled.
autosavePeriod:
type: integer
description: "Autosave period setting for Sid."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/SSBDemod.yaml b/sdrbase/resources/webapi/doc/swagger/include/SSBDemod.yaml
index 9287cb17b..5a27a00a5 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/SSBDemod.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/SSBDemod.yaml
@@ -100,6 +100,8 @@ SSBDemodSettings:
dnrAlpha:
type: number
format: float
+ minimum: 0
+ maximum: 1
description: Smoothing constant (alpha) of the exponential smoothing filter. Must be between 0 and 1.
rgbColor:
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/SatelliteTracker.yaml b/sdrbase/resources/webapi/doc/swagger/include/SatelliteTracker.yaml
index 07d9cfb1e..54180da06 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/SatelliteTracker.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/SatelliteTracker.yaml
@@ -81,9 +81,13 @@ SatelliteTrackerSettings:
drawOnMap:
description: "Draw satellites on the Map (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
autoTarget:
description: "Automatically select target on AOS (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
aosSpeech:
description: "Speech warning on AOS"
type: string
@@ -174,12 +178,18 @@ SatelliteDeviceSettings:
startOnAOS:
description: "Start acquisition on AOS (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
stopOnLOS:
description: "Stop acquisition on LOS (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
startStopFileSinks:
description: "Start/stop file sinks on AOS/LOS (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
frequency:
description: "Frequency to override in preset"
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/SkyMap.yaml b/sdrbase/resources/webapi/doc/swagger/include/SkyMap.yaml
index eb2b206d0..eb8d69ed4 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/SkyMap.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/SkyMap.yaml
@@ -4,18 +4,28 @@ SkyMapSettings:
displayNames:
description: "Display names on the sky map (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
displayConstellations:
description: "Display constellations on the sky map (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
displayReticle:
description: "Display reticle on the sky map (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
displayGrid:
description: "Display grid on the sky map (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
displayAntennaFoV:
description: "Display antenna field-of-view on the sky map (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
map:
description: "WWT, ESASky or Aladin"
type: string
diff --git a/sdrbase/resources/webapi/doc/swagger/include/StarTracker.yaml b/sdrbase/resources/webapi/doc/swagger/include/StarTracker.yaml
index f769e6db1..a5ab0341a 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/StarTracker.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/StarTracker.yaml
@@ -94,12 +94,18 @@ StarTrackerSettings:
drawSunOnMap:
description: "Draw the overhead position of the Sun on the Map (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
drawMoonOnMap:
description: "Draw the overhead position of the Moon on the Map (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
drawStarOnMap:
description: "Draw the overhead position of the target Star on the Map (1 for yes, 0 for no)"
type: integer
+ minimum: 0
+ maximum: 1
title:
type: string
description: "User-visible title."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/TestMOSync.yaml b/sdrbase/resources/webapi/doc/swagger/include/TestMOSync.yaml
index 6ae5f81e8..914c29090 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/TestMOSync.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/TestMOSync.yaml
@@ -14,6 +14,8 @@ TestMOSyncSettings:
description: "Sample rate in samples per second."
log2Interp:
type: integer
+ minimum: 0
+ maximum: 6
description: "Base-2 exponent of the software interpolation factor; the output sample rate is multiplied by 2^log2Interp."
fcPosTx:
description: See BladeRF2MIMO::fcPos_t
diff --git a/sdrbase/resources/webapi/doc/swagger/include/TestSource.yaml b/sdrbase/resources/webapi/doc/swagger/include/TestSource.yaml
index cab8172a6..6aef508a9 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/TestSource.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/TestSource.yaml
@@ -57,6 +57,15 @@ TestSourceSettings:
type: number
format: float
description: "Phase imbalance setting for Test source."
+ period:
+ type: integer
+ description: "Period of the P1 and P2 patterns in samples."
+ minimum: 1
+ dutyCycle:
+ type: integer
+ description: "Percentage of the period the P2 pattern is high."
+ minimum: 0
+ maximum: 100
useReverseAPI:
description: Synchronize with reverse API (1 for yes, 0 for no)
type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/USRP.yaml b/sdrbase/resources/webapi/doc/swagger/include/USRP.yaml
index f1d32c1b3..b48947103 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/USRP.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/USRP.yaml
@@ -39,6 +39,8 @@ USRPInputSettings:
gainMode:
description: 0 for auto, 1 for manual
type: integer
+ minimum: 0
+ maximum: 1
clockSource:
type: string
description: "Clock source setting for Usrp input."
diff --git a/sdrbase/resources/webapi/doc/swagger/include/Xtrx.yaml b/sdrbase/resources/webapi/doc/swagger/include/Xtrx.yaml
index 73abeae27..dd7fb9183 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/Xtrx.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/Xtrx.yaml
@@ -241,6 +241,8 @@ XtrxMIMOSettings:
log2SoftDecim:
description: log2 of software decimation factor from 0 to 6
type: integer
+ minimum: 0
+ maximum: 6
rxCenterFrequency:
type: integer
format: int64
@@ -258,6 +260,8 @@ XtrxMIMOSettings:
ncoEnableRx:
description: Enable TSP NCO Rx on both channels and mixing (1 for yes, 0 for no)
type: integer
+ minimum: 0
+ maximum: 1
ncoFrequencyRx:
description: Rx frequency shift from LO for both channels
type: integer
@@ -339,6 +343,8 @@ XtrxMIMOSettings:
log2SoftInterp:
description: log2 of software interpolation factor from 0 to 6
type: integer
+ minimum: 0
+ maximum: 6
txCenterFrequency:
type: integer
format: int64
@@ -346,6 +352,8 @@ XtrxMIMOSettings:
ncoEnableTx:
description: Enable TSP NCO Tx on both channels and mixing (1 for yes, 0 for no)
type: integer
+ minimum: 0
+ maximum: 1
ncoFrequencyTx:
description: Tx frequency shift from LO for both channels
type: integer
diff --git a/swagger/sdrangel/code/html2/index.html b/swagger/sdrangel/code/html2/index.html
index 5fbc3a8d2..c3fee14f1 100644
--- a/swagger/sdrangel/code/html2/index.html
+++ b/swagger/sdrangel/code/html2/index.html
@@ -791,12 +791,6 @@ margin-bottom: 20px;
"type" : "integer",
"description" : "Number of input samples used to represent each bit."
},
- "correlateFullPreamble" : {
- "type" : "integer",
- "description" : "Correlate on part or full preamble\n * 0 - part\n * 1 - full\n",
- "minimum" : 0,
- "maximum" : 1
- },
"demodModeS" : {
"type" : "integer",
"description" : "Demodulate all mode S frames or just ADS-B\n * 0 - just ADS-B\n * 1 - All mode S\n",
@@ -814,7 +808,7 @@ margin-bottom: 20px;
},
"removeTimeout" : {
"type" : "integer",
- "description" : "Time after which an inactive tracked item is removed."
+ "description" : "Seconds without a frame after which an aircraft is removed from the display."
},
"feedEnabled" : {
"type" : "integer",
@@ -881,7 +875,7 @@ margin-bottom: 20px;
"importPeriod" : {
"type" : "number",
"format" : "float",
- "description" : "Import period setting for ADS-B demod."
+ "description" : "How often to import aircraft from the configured web service, in seconds."
},
"importMinLatitude" : {
"type" : "string",
@@ -994,11 +988,11 @@ margin-bottom: 20px;
"trackerDeviceFrequency" : {
"type" : "integer",
"format" : "int64",
- "description" : "Center frequency of tracker device"
+ "description" : "Centre frequency of the tracking device, in Hz."
},
"trackerChannelOffset" : {
"type" : "integer",
- "description" : "Tracker channel offset from device center frequency"
+ "description" : "Tracker channel offset from the device centre frequency, in Hz."
}
},
"description" : "AFC report"
@@ -1036,11 +1030,11 @@ margin-bottom: 20px;
"targetFrequency" : {
"type" : "integer",
"format" : "int64",
- "description" : "Target frequency for the tracker"
+ "description" : "Frequency the tracker should settle on, in Hz."
},
"freqTolerance" : {
"type" : "integer",
- "description" : "Frequency shift tolerance before tracker frequency is (re)adjusted"
+ "description" : "Frequency error in Hz that is tolerated before the tracker frequency is adjusted again."
},
"trackerAdjustPeriod" : {
"type" : "integer",
@@ -1115,7 +1109,9 @@ margin-bottom: 20px;
"correlationThreshold" : {
"type" : "number",
"format" : "float",
- "description" : "Normalised correlation threshold with the preamble, from 0 to 1"
+ "description" : "Normalised correlation threshold with the preamble, from 0 to 1",
+ "minimum" : 0,
+ "maximum" : 1
},
"udpEnabled" : {
"type" : "integer",
@@ -1135,7 +1131,9 @@ margin-bottom: 20px;
},
"udpFormat" : {
"type" : "integer",
- "description" : "0 for binary, 1 for NMEA"
+ "description" : "0 for binary, 1 for NMEA",
+ "minimum" : 0,
+ "maximum" : 1
},
"logFilename" : {
"type" : "string",
@@ -1428,6 +1426,26 @@ margin-bottom: 20px;
}
},
"description" : "AISMod"
+};
+ defs.AISReport = {
+ "properties" : {
+ "reportDateTime" : {
+ "type" : "string",
+ "description" : "When this snapshot was taken, ISO 8601."
+ },
+ "vesselCount" : {
+ "type" : "integer",
+ "description" : "Number of vessels currently held."
+ },
+ "vessels" : {
+ "type" : "array",
+ "description" : "The vessels heard.",
+ "items" : {
+ "$ref" : "#/definitions/AISVessel"
+ }
+ }
+ },
+ "description" : "Vessels heard by the AIS feature, which collects the decoded messages of every AIS demodulator in the instance. A field is present only once a message carrying it has been received, so an absent position means unknown rather than zero.\n"
};
defs.AISSettings = {
"properties" : {
@@ -1483,6 +1501,91 @@ margin-bottom: 20px;
}
},
"description" : "AIS settings"
+};
+ defs.AISVessel = {
+ "properties" : {
+ "mmsi" : {
+ "type" : "string",
+ "description" : "Maritime Mobile Service Identity, nine digits. The only field always present."
+ },
+ "name" : {
+ "type" : "string",
+ "description" : "Vessel name, from a static and voyage related message or an aid-to-navigation report."
+ },
+ "callsign" : {
+ "type" : "string",
+ "description" : "Radio callsign."
+ },
+ "imo" : {
+ "type" : "string",
+ "description" : "IMO number, where transmitted."
+ },
+ "country" : {
+ "type" : "string",
+ "description" : "Flag state, derived from the MMSI maritime identification digits."
+ },
+ "type" : {
+ "type" : "string",
+ "description" : "What is transmitting: Vessel, Base station, Aircraft or Aid-to-nav."
+ },
+ "shipType" : {
+ "type" : "string",
+ "description" : "Ship and cargo type, such as Cargo or Tug."
+ },
+ "latitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Latitude in decimal degrees, north positive.",
+ "minimum" : -90,
+ "maximum" : 90
+ },
+ "longitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Longitude in decimal degrees, east positive.",
+ "minimum" : -180,
+ "maximum" : 180
+ },
+ "course" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Course over ground in degrees true."
+ },
+ "speed" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Speed over ground in knots."
+ },
+ "heading" : {
+ "type" : "integer",
+ "description" : "True heading in degrees, which differs from course when set and drift apply."
+ },
+ "status" : {
+ "type" : "string",
+ "description" : "Navigational status, such as Under way using engine or At anchor."
+ },
+ "length" : {
+ "type" : "integer",
+ "description" : "Overall length in metres."
+ },
+ "destination" : {
+ "type" : "string",
+ "description" : "Destination as entered by the crew."
+ },
+ "positionUpdate" : {
+ "type" : "string",
+ "description" : "When the position was last updated, ISO 8601."
+ },
+ "lastUpdate" : {
+ "type" : "string",
+ "description" : "When any field was last updated, ISO 8601."
+ },
+ "messages" : {
+ "type" : "integer",
+ "description" : "Messages received from this vessel."
+ }
+ },
+ "description" : "Vessel heard by the AIS feature"
};
defs.AMBEActions = {
"properties" : {
@@ -1658,7 +1761,9 @@ margin-bottom: 20px;
},
"bandpassEnable" : {
"type" : "integer",
- "description" : "use bandpass filter (1 for yes, 0 for no)"
+ "description" : "use bandpass filter (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"rgbColor" : {
"type" : "integer",
@@ -1682,7 +1787,9 @@ margin-bottom: 20px;
},
"frequencyMode" : {
"type" : "integer",
- "description" : "(0 for Offset, 1 for MW, 2 for 25k, 3 for 8.33k)"
+ "description" : "(0 for Offset, 1 for MW, 2 for 25k, 3 for 8.33k)",
+ "minimum" : 0,
+ "maximum" : 3
},
"frequency" : {
"type" : "integer",
@@ -1765,7 +1872,9 @@ margin-bottom: 20px;
"modFactor" : {
"type" : "number",
"format" : "float",
- "description" : "modulation factor from 0.0 to 1.0"
+ "description" : "modulation factor from 0.0 to 1.0",
+ "minimum" : 0,
+ "maximum" : 1
},
"toneFrequency" : {
"type" : "number",
@@ -1847,6 +1956,36 @@ margin-bottom: 20px;
}
},
"description" : "AMMod"
+};
+ defs.APRSReport = {
+ "properties" : {
+ "runningState" : {
+ "type" : "integer",
+ "description" : "Running state\n * 0 - not started\n * 1 - idle\n * 2 - running\n * 3 - error\n",
+ "minimum" : 0,
+ "maximum" : 3
+ },
+ "reportDateTime" : {
+ "type" : "string",
+ "description" : "When this snapshot was taken, ISO 8601."
+ },
+ "stationCount" : {
+ "type" : "integer",
+ "description" : "Number of stations and objects currently held."
+ },
+ "packetCount" : {
+ "type" : "integer",
+ "description" : "Packets received across all stations."
+ },
+ "stations" : {
+ "type" : "array",
+ "description" : "The stations and objects heard.",
+ "items" : {
+ "$ref" : "#/definitions/APRSStation"
+ }
+ }
+ },
+ "description" : "Stations and objects heard by the APRS feature, which collects the AX.25 packets of every packet demodulator in the instance. A field is present only once a packet carrying it has been received.\n"
};
defs.APRSSettings = {
"properties" : {
@@ -2000,6 +2139,114 @@ margin-bottom: 20px;
}
},
"description" : "APRS settings"
+};
+ defs.APRSStation = {
+ "properties" : {
+ "callsign" : {
+ "type" : "string",
+ "description" : "Station callsign with SSID, or the name of the object or item."
+ },
+ "isObject" : {
+ "type" : "integer",
+ "description" : "1 when this is an object or item rather than a station.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "reportingStation" : {
+ "type" : "string",
+ "description" : "Callsign that reported this object. Empty for a station."
+ },
+ "symbol" : {
+ "type" : "string",
+ "description" : "APRS symbol identifier."
+ },
+ "latitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Latitude in decimal degrees, north positive.",
+ "minimum" : -90,
+ "maximum" : 90
+ },
+ "longitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Longitude in decimal degrees, east positive.",
+ "minimum" : -180,
+ "maximum" : 180
+ },
+ "altitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Altitude in metres above mean sea level."
+ },
+ "course" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Course in degrees true."
+ },
+ "speed" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Speed in km/h."
+ },
+ "status" : {
+ "type" : "string",
+ "description" : "Latest status text."
+ },
+ "comment" : {
+ "type" : "string",
+ "description" : "Latest position comment."
+ },
+ "powerWatts" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Transmitter power in watts, from a reported PHG value."
+ },
+ "antennaHeight" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Antenna height above average terrain in metres, from a reported PHG value."
+ },
+ "antennaGain" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Antenna gain in dB, from a reported PHG value."
+ },
+ "antennaDirectivity" : {
+ "type" : "string",
+ "description" : "Antenna directivity, from a reported PHG value."
+ },
+ "radioRange" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Reported range in km."
+ },
+ "hasWeather" : {
+ "type" : "integer",
+ "description" : "1 when weather reports have been received from this station.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "hasTelemetry" : {
+ "type" : "integer",
+ "description" : "1 when telemetry has been received from this station.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "telemetryProjectName" : {
+ "type" : "string",
+ "description" : "Telemetry project name, where reported."
+ },
+ "packets" : {
+ "type" : "integer",
+ "description" : "Packets received from this station."
+ },
+ "lastPacketDateTime" : {
+ "type" : "string",
+ "description" : "When the most recent packet was received, ISO 8601."
+ }
+ },
+ "description" : "Station or object heard by the APRS feature"
};
defs.APTDemodActions = {
"properties" : {
@@ -2209,7 +2456,9 @@ margin-bottom: 20px;
},
"halfImage" : {
"type" : "integer",
- "description" : "(boolean) 1 for m_fltRatioOfRowsToDisplay = 0.5, 0 for m_fltRatioOfRowsToDisplay = 1.0"
+ "description" : "Display only half of the image rows\n * 0 - display all rows\n * 1 - display half the rows\n",
+ "minimum" : 0,
+ "maximum" : 1
},
"RFBandwidthFactor" : {
"type" : "integer",
@@ -2229,7 +2478,9 @@ margin-bottom: 20px;
},
"enmModulation" : {
"type" : "integer",
- "description" : "see ATVDemodSettings::ATVModulation"
+ "description" : "Modulation of the received ATV signal\n * 0 - FM with discriminator 1\n * 1 - FM with discriminator 2\n * 2 - FM with phase derivative discriminator\n * 3 - AM\n * 4 - AM with vestigial lower sideband, signal in the upper sideband\n * 5 - AM with vestigial upper sideband, signal in the lower sideband\n",
+ "minimum" : 0,
+ "maximum" : 5
},
"fltRFBandwidth" : {
"type" : "number",
@@ -2271,7 +2522,9 @@ margin-bottom: 20px;
},
"enmATVStandard" : {
"type" : "integer",
- "description" : "see ATVDemodSettings::ATVStd"
+ "description" : "Television standard, which sets the line count and timings\n * 0 - PAL 625 lines\n * 1 - PAL 525 lines\n * 2 - 819 lines\n * 3 - short, interleaved\n * 4 - short\n * 5 - horizontal sync skip\n",
+ "minimum" : 0,
+ "maximum" : 5
},
"intNumberOfLines" : {
"type" : "integer",
@@ -2652,7 +2905,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 8
},
"transverterMode" : {
"type" : "integer",
@@ -2703,7 +2958,9 @@ margin-bottom: 20px;
},
"agcHigh" : {
"type" : "integer",
- "description" : "AGC threshold (1 for high, 0 for low)"
+ "description" : "AGC threshold (1 for high, 0 for low)",
+ "minimum" : 0,
+ "maximum" : 1
},
"useDSP" : {
"type" : "integer",
@@ -2769,15 +3026,21 @@ margin-bottom: 20px;
},
"lnaGain" : {
"type" : "integer",
- "description" : "Low-noise-amplifier gain setting."
+ "description" : "Low noise amplifier gain as a step index, not a dB value. Ignored when lnaAGC is enabled.",
+ "minimum" : 0,
+ "maximum" : 14
},
"mixerGain" : {
"type" : "integer",
- "description" : "Mixer gain setting for Airspy."
+ "description" : "Mixer gain as a step index, not a dB value. Ignored when mixerAGC is enabled.",
+ "minimum" : 0,
+ "maximum" : 15
},
"vgaGain" : {
"type" : "integer",
- "description" : "Variable-gain-amplifier gain setting."
+ "description" : "Variable gain amplifier (IF) gain as a step index, not a dB value.",
+ "minimum" : 0,
+ "maximum" : 15
},
"lnaAGC" : {
"type" : "integer",
@@ -2789,11 +3052,15 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 6
},
"fcPos" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"biasT" : {
"type" : "integer",
@@ -4308,7 +4575,9 @@ margin-bottom: 20px;
},
"mode" : {
"type" : "integer",
- "description" : "see enum CWKeyerSettings::CWMode"
+ "description" : "Source of the keying\n * 0 - none, key up\n * 1 - send the text in the text field\n * 2 - send continuous dots\n * 3 - send continuous dashes\n * 4 - key from the keyboard\n",
+ "minimum" : 0,
+ "maximum" : 4
},
"text" : {
"type" : "string",
@@ -4320,23 +4589,25 @@ margin-bottom: 20px;
},
"keyboardIambic" : {
"type" : "integer",
- "description" : "1 for iambic input 0 for straight input using the keyboard"
+ "description" : "1 for iambic input 0 for straight input using the keyboard",
+ "minimum" : 0,
+ "maximum" : 1
},
"dotKey" : {
"type" : "integer",
- "description" : "key for dots keyboard input. See enum Qt::Key"
+ "description" : "Keyboard key that sends dots. Key code as a Qt key value, for example 32 (0x20) for space and 65 (0x41) for A. Letter keys use the upper case code. 0 for no key.\n"
},
"dotKeyModifiers" : {
"type" : "integer",
- "description" : "key modifier for dots keyboard input. See flags Qt::KeyboardModifiers"
+ "description" : "Modifiers for the dot key. Modifier keys held with the key, as a sum of flags: 33554432 (0x02000000) shift, 67108864 (0x04000000) control, 134217728 (0x08000000) alt, 268435456 (0x10000000) meta. 0 for no modifier.\n"
},
"dashKey" : {
"type" : "integer",
- "description" : "key for dashes keyboard input. See enum Qt::Key"
+ "description" : "Keyboard key that sends dashes. Key code as a Qt key value, for example 32 (0x20) for space and 65 (0x41) for A. Letter keys use the upper case code. 0 for no key.\n"
},
"dashKeyModifiers" : {
"type" : "integer",
- "description" : "key modifier for dashes keyboard input. See flags Qt::KeyboardModifiers"
+ "description" : "Modifiers for the dash key. Modifier keys held with the key, as a sum of flags: 33554432 (0x02000000) shift, 67108864 (0x04000000) control, 134217728 (0x08000000) alt, 268435456 (0x10000000) meta. 0 for no modifier.\n"
}
}
};
@@ -4418,7 +4689,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"originatorDeviceSetIndex" : {
"type" : "integer",
@@ -4562,7 +4835,9 @@ margin-bottom: 20px;
},
"inputType" : {
"type" : "integer",
- "description" : "see ChannelAnalyzerSettings::InputType"
+ "description" : "Signal fed to the analyser\n * 0 - the channel signal\n * 1 - the PLL output\n * 2 - the autocorrelation of the signal\n",
+ "minimum" : 0,
+ "maximum" : 2
},
"rgbColor" : {
"type" : "integer",
@@ -4678,7 +4953,9 @@ margin-bottom: 20px;
},
"frequencyScaleDisplayType" : {
"type" : "integer",
- "description" : "ChannelMarker::frequencyScaleDisplay_t"
+ "description" : "What is written against the channel on the frequency scale\n * 0 - the frequency\n * 1 - the channel title\n * 2 - the send address\n * 3 - the receive address\n * 4 - nothing\n",
+ "minimum" : 0,
+ "maximum" : 4
}
},
"description" : "ChannelMarker settings"
@@ -4721,7 +4998,9 @@ margin-bottom: 20px;
},
"frequencyMode" : {
"type" : "integer",
- "description" : "(0 for Offset, 1 for Absolute)"
+ "description" : "(0 for Offset, 1 for Absolute)",
+ "minimum" : 0,
+ "maximum" : 1
},
"frequency" : {
"type" : "integer",
@@ -4799,7 +5078,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"ADSBDemodReport" : {
"description" : "ADS-B demod report data for Channel.",
@@ -4829,6 +5110,10 @@ margin-bottom: 20px;
"description" : "BFM demod report data for Channel.",
"$ref" : "#/definitions/BFMDemodReport"
},
+ "DABDemodReport" : {
+ "description" : "DAB demod report data for Channel.",
+ "$ref" : "#/definitions/DABDemodReport"
+ },
"ChannelPowerReport" : {
"description" : "Channel power report data for Channel.",
"$ref" : "#/definitions/ChannelPowerReport"
@@ -5038,7 +5323,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"originatorDeviceSetIndex" : {
"type" : "integer",
@@ -5360,7 +5647,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 bytes sync word (0..65535)"
+ "description" : "2 bytes sync word (0..65535)",
+ "minimum" : 0,
+ "maximum" : 65535
},
"hasCRC" : {
"type" : "integer",
@@ -5644,7 +5933,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 byte (0..65535) synchronization syncWord"
+ "description" : "2 byte (0..65535) synchronization syncWord",
+ "minimum" : 0,
+ "maximum" : 65535
},
"channelMute" : {
"type" : "integer",
@@ -5828,11 +6119,11 @@ margin-bottom: 20px;
},
"key" : {
"type" : "integer",
- "description" : "Qt::Key"
+ "description" : "Keyboard key that triggers the command. Key code as a Qt key value, for example 32 (0x20) for space and 65 (0x41) for A. Letter keys use the upper case code. 0 for no key.\n"
},
"keyModifiers" : {
"type" : "integer",
- "description" : "Qt::KeyboardModifiers"
+ "description" : "Modifiers for the trigger key. Modifier keys held with the key, as a sum of flags: 33554432 (0x02000000) shift, 67108864 (0x04000000) control, 134217728 (0x08000000) alt, 268435456 (0x10000000) meta. 0 for no modifier.\n"
},
"associateKey" : {
"type" : "integer",
@@ -5936,6 +6227,111 @@ margin-bottom: 20px;
}
},
"description" : "Configuration presets"
+};
+ defs.DABDemodReport = {
+ "properties" : {
+ "channelPowerDB" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Average power in the demodulator channel in dB."
+ },
+ "channelSampleRate" : {
+ "type" : "integer",
+ "description" : "Effective complex channel sample rate in samples per second. DAB requires 2048000."
+ },
+ "audioSampleRate" : {
+ "type" : "integer",
+ "description" : "Audio output sample rate in samples per second."
+ },
+ "sync" : {
+ "type" : "integer",
+ "description" : "DAB synchronization state (1 synchronized, 0 not synchronized).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "snr" : {
+ "type" : "integer",
+ "description" : "DAB decoder signal-to-noise ratio in dB. A value of 0 dB or less after synchronization and audio become active is not a healthy result and can indicate receiver overload. With an RTL-SDR, reduce tuner gain through its supported values, wait briefly after each change, and re-read this report. Select the gain that gives the best positive SNR rather than assuming that higher gain is better.\n"
+ },
+ "frequencyOffset" : {
+ "type" : "integer",
+ "description" : "Frequency offset estimated by the DAB decoder in Hz."
+ },
+ "ensembleName" : {
+ "type" : "string",
+ "description" : "Label of the currently decoded ensemble."
+ },
+ "ensembleId" : {
+ "type" : "integer",
+ "description" : "Identifier of the currently decoded ensemble."
+ },
+ "programs" : {
+ "type" : "array",
+ "description" : "Programme services discovered in the currently tuned ensemble.",
+ "items" : {
+ "$ref" : "#/DABProgram"
+ }
+ },
+ "selectedProgram" : {
+ "type" : "string",
+ "description" : "Exact service label currently requested by the program setting."
+ },
+ "audioActive" : {
+ "type" : "integer",
+ "description" : "Whether programme audio metadata has been received and audio decoding is active.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "bitrate" : {
+ "type" : "integer",
+ "description" : "Selected programme audio bitrate in kbit/s."
+ },
+ "audio" : {
+ "type" : "string",
+ "description" : "Selected programme audio codec and channel-mode description."
+ },
+ "language" : {
+ "type" : "string",
+ "description" : "Selected programme language."
+ },
+ "programType" : {
+ "type" : "string",
+ "description" : "Selected programme type, such as News or Pop Music."
+ },
+ "frameQuality" : {
+ "type" : "integer",
+ "description" : "Audio frame decode quality as a percentage.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
+ "reedSolomonQuality" : {
+ "type" : "integer",
+ "description" : "Reed-Solomon decode quality as a percentage.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
+ "aacQuality" : {
+ "type" : "integer",
+ "description" : "AAC decode quality as a percentage.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
+ "fibQuality" : {
+ "type" : "integer",
+ "description" : "Fast Information Block decode quality as a percentage.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
+ "tii" : {
+ "type" : "integer",
+ "description" : "Decoded Transmitter Identification Information value."
+ },
+ "data" : {
+ "type" : "string",
+ "description" : "Latest dynamic text/data associated with the selected programme."
+ }
+ },
+ "description" : "Live DAB demodulator, ensemble and selected-programme status. Synchronization, discovered programmes and active audio do not by themselves prove clean reception; check SNR after selecting a programme and after every receiver gain change.\n"
};
defs.DABDemodSettings = {
"properties" : {
@@ -6014,6 +6410,19 @@ margin-bottom: 20px;
}
},
"description" : "DABDemod"
+};
+ defs.DABProgram = {
+ "properties" : {
+ "name" : {
+ "type" : "string",
+ "description" : "Exact transmitted service label. Use this value for the program setting."
+ },
+ "id" : {
+ "type" : "integer",
+ "description" : "DAB service identifier."
+ }
+ },
+ "description" : "A programme service discovered in the currently tuned DAB ensemble."
};
defs.DATVDemodReport = {
"properties" : {
@@ -6030,7 +6439,9 @@ margin-bottom: 20px;
},
"audioDecodeOK" : {
"type" : "integer",
- "description" : "Audio decode (1 for OK, 0 for KO)"
+ "description" : "Audio decode (1 for OK, 0 for KO)",
+ "minimum" : 0,
+ "maximum" : 1
},
"videoActive" : {
"type" : "integer",
@@ -6040,7 +6451,9 @@ margin-bottom: 20px;
},
"videoDecodeOK" : {
"type" : "integer",
- "description" : "Video decode (1 for OK, 0 for KO)"
+ "description" : "Video decode (1 for OK, 0 for KO)",
+ "minimum" : 0,
+ "maximum" : 1
},
"udpRunning" : {
"type" : "integer",
@@ -6060,7 +6473,9 @@ margin-bottom: 20px;
},
"setByModcod" : {
"type" : "integer",
- "description" : "Modulation and code rate set by DVB-S2 MODCOD (1 for yes, 0 for no)"
+ "description" : "Modulation and code rate set by DVB-S2 MODCOD (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"mer" : {
"type" : "number",
@@ -6162,7 +6577,9 @@ margin-bottom: 20px;
"rollOff" : {
"type" : "number",
"format" : "float",
- "description" : "RRC filter roll-off factor (0..1)"
+ "description" : "RRC filter roll-off factor (0..1)",
+ "minimum" : 0,
+ "maximum" : 1
},
"viterbi" : {
"type" : "integer",
@@ -6315,7 +6732,9 @@ margin-bottom: 20px;
},
"imageOverlayTimestamp" : {
"type" : "integer",
- "description" : "Overlay timestamp on still image (1 for yes, 0 for no)"
+ "description" : "Overlay timestamp on still image (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"imageServiceProvider" : {
"type" : "string",
@@ -6408,15 +6827,21 @@ margin-bottom: 20px;
"properties" : {
"phi" : {
"type" : "integer",
- "description" : "Raw phase difference in degrees from 0 to 180"
+ "description" : "Raw phase difference in degrees from 0 to 180",
+ "minimum" : 0,
+ "maximum" : 180
},
"posAz" : {
"type" : "integer",
- "description" : "Calculated port side (positive) arrival angle in degrees from 0 to 180"
+ "description" : "Calculated port side (positive) arrival angle in degrees from 0 to 180",
+ "minimum" : 0,
+ "maximum" : 180
},
"negAz" : {
"type" : "integer",
- "description" : "Calculated starboard side (negative) arrival angle in degrees from 0 to 180"
+ "description" : "Calculated starboard side (negative) arrival angle in degrees from 0 to 180",
+ "minimum" : 0,
+ "maximum" : 180
},
"blindAngle" : {
"type" : "integer",
@@ -6461,11 +6886,15 @@ margin-bottom: 20px;
},
"antennaAz" : {
"type" : "integer",
- "description" : "Antennas azimuth from antenna 1 to antenna 2 in degrees from 0 to 359"
+ "description" : "Antennas azimuth from antenna 1 to antenna 2 in degrees from 0 to 359",
+ "minimum" : 0,
+ "maximum" : 359
},
"basebandDistance" : {
"type" : "integer",
- "description" : "Antennas baseline distance in millimeters from 1 to 99999"
+ "description" : "Antennas baseline distance in millimeters from 1 to 99999",
+ "minimum" : 1,
+ "maximum" : 99999
},
"squelchdB" : {
"type" : "integer",
@@ -6787,11 +7216,15 @@ margin-bottom: 20px;
},
"traceStroke" : {
"type" : "integer",
- "description" : "0 to 255"
+ "description" : "0 to 255",
+ "minimum" : 0,
+ "maximum" : 255
},
"traceDecay" : {
"type" : "integer",
- "description" : "0 to 255"
+ "description" : "0 to 255",
+ "minimum" : 0,
+ "maximum" : 255
},
"streamIndex" : {
"type" : "integer",
@@ -7050,7 +7483,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"originatorIndex" : {
"type" : "integer",
@@ -7135,7 +7570,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"airspyReport" : {
"description" : "Airspy report data for Device.",
@@ -7322,7 +7759,9 @@ margin-bottom: 20px;
},
"direction" : {
"type" : "integer",
- "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)"
+ "description" : "0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)",
+ "minimum" : 0,
+ "maximum" : 2
},
"originatorIndex" : {
"type" : "integer",
@@ -8289,6 +8728,18 @@ margin-bottom: 20px;
"type" : "string",
"description" : "Feature type code"
},
+ "AISReport" : {
+ "description" : "Ais report data for Feature.",
+ "$ref" : "#/definitions/AISReport"
+ },
+ "APRSReport" : {
+ "description" : "Aprs report data for Feature.",
+ "$ref" : "#/definitions/APRSReport"
+ },
+ "RadiosondeReport" : {
+ "description" : "Radiosonde report data for Feature.",
+ "$ref" : "#/definitions/RadiosondeReport"
+ },
"AFCReport" : {
"description" : "Afc report data for Feature.",
"$ref" : "#/definitions/AFCReport"
@@ -9262,31 +9713,31 @@ margin-bottom: 20px;
"frequency" : {
"type" : "integer",
"format" : "int64",
- "description" : "Frequency in Hz."
+ "description" : "Frequency to scan, in Hz.\n"
},
"enabled" : {
"type" : "integer",
- "description" : "Enabled for Freq scanner frequency."
+ "description" : "Whether this frequency takes part in the scan (1 to scan it, 0 to skip it).\n"
},
"notes" : {
"type" : "string",
- "description" : "Notes for Freq scanner frequency."
+ "description" : "Free text note about this frequency, such as the station or service name.\n"
},
"channel" : {
"type" : "string",
- "description" : "Channel identifier or configuration."
+ "description" : "Overrides the scanner-wide channel for this frequency only, as a device set and channel index such as \"R1:0\". Empty to use the scanner's own channel setting.\n"
},
"channelBandwidth" : {
"type" : "string",
- "description" : "Channel bandwidth in Hz."
+ "description" : "Overrides the scanner-wide channel bandwidth in Hz for this frequency only. Empty to use the scanner's own setting.\n"
},
"threshold" : {
"type" : "string",
- "description" : "Threshold for Freq scanner frequency."
+ "description" : "Overrides the scanner-wide power threshold in dB for this frequency only. Empty to use the scanner's own setting.\n"
},
"squelch" : {
"type" : "string",
- "description" : "Squelch threshold in dB."
+ "description" : "Squelch threshold in dB to apply to the tuned channel when this frequency becomes active. Empty to leave the channel's own squelch alone.\n"
}
}
};
@@ -9314,20 +9765,20 @@ margin-bottom: 20px;
"properties" : {
"channelBandwidth" : {
"type" : "integer",
- "description" : "channel RF bandwidth in Hz"
+ "description" : "Bandwidth in Hz of each scanned channel.\n"
},
"channelShift" : {
"type" : "integer",
- "description" : "controlled channel frequency shift in Hz"
+ "description" : "Frequency shift in Hz applied to the tuned channel from the scanned frequency, for modes such as SSB or CW where the signal sits on one side of centre.\n"
},
"channelFrequencyOffset" : {
"type" : "integer",
- "description" : "channel center frequency shift from baseband center in Hz"
+ "description" : "Minimum frequency shift in Hz of the tuned channel from the centre of reception, used to keep it clear of a DC spike.\n"
},
"threshold" : {
"type" : "number",
"format" : "float",
- "description" : "Threshold setting for Freq scanner."
+ "description" : "Power threshold in dB above which a scanned frequency counts as active.\n"
},
"frequencies" : {
"type" : "array",
@@ -9338,34 +9789,34 @@ margin-bottom: 20px;
},
"channel" : {
"type" : "string",
- "description" : "Channel identifier or configuration."
+ "description" : "Channel that is tuned to the active frequency, as a device set and channel index, for example \"R1:0\" for channel 0 of receive device set 1.\n"
},
"scanTime" : {
"type" : "number",
"format" : "float",
- "description" : "Scan time setting for Freq scanner."
+ "description" : "Time in seconds that each power measurement is averaged over.\n"
},
"retransmitTime" : {
"type" : "number",
"format" : "float",
- "description" : "Retransmit time setting for Freq scanner."
+ "description" : "Time in seconds to wait after the power on the active frequency falls below the threshold before scanning restarts. In multiplex mode this is instead the time spent listening to each frequency.\n"
},
"tuneTime" : {
"type" : "number",
"format" : "float",
- "description" : "Tune time setting for Freq scanner."
+ "description" : "Time in milliseconds to wait after retuning the device before measuring, to allow for PLL settling and device to host transfer latency.\n"
},
"priority" : {
"type" : "integer",
- "description" : "Priority setting for Freq scanner."
+ "description" : "Which frequency becomes active when several are above the threshold\n * 0 - the one with the highest power\n * 1 - the one earliest in the frequency list\n"
},
"measurement" : {
"type" : "integer",
- "description" : "Measurement setting for Freq scanner."
+ "description" : "How channel power is measured from the FFT bins\n * 0 - peak, the highest bin\n * 1 - total, the sum of every bin\n"
},
"mode" : {
"type" : "integer",
- "description" : "Mode setting for Freq scanner."
+ "description" : "Run mode\n * 0 - single, scan every frequency once and stop\n * 1 - continuous, rescan when the active frequency goes quiet\n * 2 - scan only, measure repeatedly without ever tuning the channel\n * 3 - multiplex, step through the frequencies listening to each in turn\n"
},
"rgbColor" : {
"type" : "integer",
@@ -9454,7 +9905,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 6
},
"squelch" : {
"type" : "number",
@@ -9480,7 +9933,9 @@ margin-bottom: 20px;
},
"tracking" : {
"type" : "integer",
- "description" : "Tracking 1 for enabled 0 for disabled"
+ "description" : "Tracking 1 for enabled 0 for disabled",
+ "minimum" : 0,
+ "maximum" : 1
},
"trackerType" : {
"type" : "integer",
@@ -9492,7 +9947,9 @@ margin-bottom: 20px;
},
"rrc" : {
"type" : "integer",
- "description" : "RRC filter (1 for on, 0 for off)"
+ "description" : "RRC filter (1 for on, 0 for off)",
+ "minimum" : 0,
+ "maximum" : 1
},
"rrcRolloff" : {
"type" : "integer",
@@ -9599,7 +10056,9 @@ margin-bottom: 20px;
"properties" : {
"displayMode" : {
"type" : "integer",
- "description" : "see GLScopeSettings::DisplayMode"
+ "description" : "Arrangement of the two traces on the scope\n * 0 - X and Y side by side horizontally\n * 1 - X and Y stacked vertically\n * 2 - X only\n * 3 - Y only\n * 4 - polar, Y against X\n",
+ "minimum" : 0,
+ "maximum" : 4
},
"traceIntensity" : {
"type" : "integer",
@@ -9678,6 +10137,176 @@ margin-bottom: 20px;
"minimum" : 0,
"maximum" : 1
},
+ "display3DSpectrogram" : {
+ "type" : "integer",
+ "description" : "Display the 3D spectrogram instead of the 2D waterfall (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "spectrogramStyle" : {
+ "type" : "integer",
+ "description" : "Rendering style for the 3D spectrogram.\n * 0 - Points\n * 1 - Lines\n * 2 - Solid\n * 3 - Outline\n * 4 - Shaded (requires OpenGL 3.3 or later)\n",
+ "minimum" : 0,
+ "maximum" : 4
+ },
+ "truncateFreqScale" : {
+ "type" : "integer",
+ "description" : "Truncate the frequency scale to the displayed span (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "colorMap" : {
+ "type" : "string",
+ "description" : "Colour-map name used for waterfall and 3D spectrogram rendering."
+ },
+ "spectrumStyle" : {
+ "type" : "integer",
+ "description" : "Current spectrum trace style: 0 line, 1 filled, 2 gradient.",
+ "minimum" : 0,
+ "maximum" : 2
+ },
+ "measurement" : {
+ "type" : "integer",
+ "description" : "Measurement mode: 0 none, 1 peaks, 2 channel power, 3 adjacent-channel power, 4 occupied bandwidth, 5 3 dB bandwidth, 6 SNR, 7 mask.",
+ "minimum" : 0,
+ "maximum" : 7
+ },
+ "measurementCenterFrequencyOffset" : {
+ "type" : "integer",
+ "description" : "Measurement centre-frequency offset in Hz."
+ },
+ "measurementBandwidth" : {
+ "type" : "integer",
+ "description" : "Measurement bandwidth in Hz.",
+ "minimum" : 0
+ },
+ "measurementChSpacing" : {
+ "type" : "integer",
+ "description" : "Adjacent-channel measurement channel spacing in Hz.",
+ "minimum" : 0
+ },
+ "measurementAdjChBandwidth" : {
+ "type" : "integer",
+ "description" : "Adjacent-channel measurement bandwidth in Hz.",
+ "minimum" : 0
+ },
+ "measurementHarmonics" : {
+ "type" : "integer",
+ "description" : "Number of harmonics to measure.",
+ "minimum" : 0
+ },
+ "measurementPeaks" : {
+ "type" : "integer",
+ "description" : "Number of peaks to report.",
+ "minimum" : 0
+ },
+ "measurementHighlight" : {
+ "type" : "integer",
+ "description" : "Highlight the selected measurement (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "measurementsPosition" : {
+ "type" : "integer",
+ "description" : "Measurement panel position: 0 above, 1 below, 2 left, 3 right.",
+ "minimum" : 0,
+ "maximum" : 3
+ },
+ "measurementPrecision" : {
+ "type" : "integer",
+ "description" : "Decimal precision for measurement values.",
+ "minimum" : 0
+ },
+ "findHistogramPeaks" : {
+ "type" : "integer",
+ "description" : "Find peaks in the spectrum histogram (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "showControls" : {
+ "type" : "integer",
+ "description" : "Spectrum control visibility: 0 minimum, 1 standard, 2 all.",
+ "minimum" : 0,
+ "maximum" : 2
+ },
+ "frequencyZoomFactor" : {
+ "type" : "number",
+ "description" : "Horizontal frequency zoom factor.",
+ "minimum" : 1
+ },
+ "frequencyZoomPos" : {
+ "type" : "number",
+ "description" : "Horizontal frequency-zoom position as a fraction of the span.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "waterfallTimeUnits" : {
+ "type" : "integer",
+ "description" : "Waterfall time axis: 0 offset, 1 local time, 2 UTC.",
+ "minimum" : 0,
+ "maximum" : 2
+ },
+ "waterfallTimeFormat" : {
+ "type" : "string",
+ "description" : "Qt date/time format used for the waterfall time axis."
+ },
+ "scrollBar" : {
+ "type" : "integer",
+ "description" : "Enable waterfall/3D spectrogram scrolling (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "scrollLength" : {
+ "type" : "integer",
+ "description" : "Maximum waterfall/3D spectrogram history length.",
+ "minimum" : 1
+ },
+ "mathMode" : {
+ "type" : "integer",
+ "description" : "Spectrum math mode: 0 none, 1-4 moving-average modes, 5-10 saved-memory comparison modes.",
+ "minimum" : 0,
+ "maximum" : 10
+ },
+ "mathAvgCount" : {
+ "type" : "integer",
+ "description" : "Number of FFT frames used by spectrum math averaging.",
+ "minimum" : 1
+ },
+ "measurementMemMasks" : {
+ "type" : "integer",
+ "description" : "Bitmask selecting saved spectrum memories used as measurement masks.",
+ "minimum" : 0,
+ "maximum" : 3
+ },
+ "displayRBW" : {
+ "type" : "integer",
+ "description" : "Display resolution bandwidth (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayCursorStats" : {
+ "type" : "integer",
+ "description" : "Display cursor statistics (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayPeakStats" : {
+ "type" : "integer",
+ "description" : "Display peak statistics (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "spectrumMemory" : {
+ "type" : "array",
+ "description" : "Display settings for the two saved spectrum memories.",
+ "items" : {
+ "$ref" : "#/definitions/SpectrumMemorySettings"
+ }
+ },
+ "spectrumColor" : {
+ "type" : "integer",
+ "description" : "Current spectrum trace colour encoded as an RGB integer."
+ },
"invertedWaterfall" : {
"type" : "integer",
"description" : "boolean",
@@ -9735,7 +10364,9 @@ margin-bottom: 20px;
},
"averagingMode" : {
"type" : "integer",
- "description" : "See GLSpectrumGUI::AveragingMode"
+ "description" : "How successive FFTs are averaged\n * 0 - no averaging\n * 1 - moving average\n * 2 - fixed average over each block\n * 3 - maximum held over each block\n * 4 - minimum held over each block\n",
+ "minimum" : 0,
+ "maximum" : 4
},
"averagingValue" : {
"type" : "integer",
@@ -9805,6 +10436,12 @@ margin-bottom: 20px;
"$ref" : "#/definitions/SpectrumWaterfallMarker"
}
},
+ "annotationMarkersMode" : {
+ "type" : "integer",
+ "description" : "How annotationMarkers in the same request is applied. Replacing is what a PATCH of an array means and is what the other marker lists do, but it discards annotations already there, such as a loaded band plan. Append adds to them instead, so a caller adding one annotation need not read the list, modify it and write it back.\n * 0 - Replace the annotations with those given (the default)\n * 1 - Append those given to the annotations already there\n",
+ "minimum" : 0,
+ "maximum" : 1
+ },
"annotationMarkers" : {
"type" : "array",
"description" : "List of annotation markers.",
@@ -9912,7 +10549,9 @@ margin-bottom: 20px;
},
"track" : {
"type" : "integer",
- "description" : "Track a target where azimuth and elevation are determined by another plugin (1 for yes, 0 for no)"
+ "description" : "Track a target where azimuth and elevation are determined by another plugin (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"source" : {
"type" : "string",
@@ -10051,7 +10690,9 @@ margin-bottom: 20px;
},
"fcPos" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"devSampleRate" : {
"type" : "integer",
@@ -10148,7 +10789,9 @@ margin-bottom: 20px;
},
"fcPos" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"devSampleRate" : {
"type" : "integer",
@@ -10584,7 +11227,9 @@ margin-bottom: 20px;
},
"mode" : {
"type" : "integer",
- "description" : "(0 for LOC, 1 for G/S)"
+ "description" : "(0 for LOC, 1 for G/S)",
+ "minimum" : 0,
+ "maximum" : 1
},
"frequencyIndex" : {
"type" : "integer",
@@ -10789,7 +11434,9 @@ margin-bottom: 20px;
},
"udpFormat" : {
"type" : "integer",
- "description" : "0 for binary, 1 for NMEA"
+ "description" : "0 for binary, 1 for NMEA",
+ "minimum" : 0,
+ "maximum" : 1
},
"logFilename" : {
"type" : "string",
@@ -10989,7 +11636,9 @@ margin-bottom: 20px;
"properties" : {
"correlationType" : {
"type" : "integer",
- "description" : "see InterferometerSettings::CorrelationType"
+ "description" : "Operation applied to the two input streams\n * 0 - stream 0 only\n * 1 - stream 1 only\n * 2 - add the streams\n * 3 - multiply the streams\n * 4 - inverse FFT of the cross spectrum\n * 5 - inverse FFT of the conjugate cross spectrum\n * 6 - FFT of the cross spectrum\n * 7 - second form of the inverse FFT correlation\n",
+ "minimum" : 0,
+ "maximum" : 7
},
"rgbColor" : {
"type" : "integer",
@@ -11113,7 +11762,9 @@ margin-bottom: 20px;
"properties" : {
"status" : {
"type" : "integer",
- "description" : "0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected"
+ "description" : "0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected",
+ "minimum" : 0,
+ "maximum" : 4
},
"latitude" : {
"type" : "number",
@@ -11319,11 +11970,15 @@ margin-bottom: 20px;
},
"rxHAMChannel" : {
"type" : "integer",
- "description" : "Rx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n"
+ "description" : "Rx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n",
+ "minimum" : 0,
+ "maximum" : 8
},
"rxCellularChannel" : {
"type" : "integer",
- "description" : "Rx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n"
+ "description" : "Rx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n",
+ "minimum" : 0,
+ "maximum" : 4
},
"rxPort" : {
"type" : "integer",
@@ -11353,11 +12008,15 @@ margin-bottom: 20px;
},
"txHAMChannel" : {
"type" : "integer",
- "description" : "Tx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n"
+ "description" : "Tx HAM channel selection (LimeRFEController::HAMChannel)\n * 0 - 30 MHz and lower\n * 1 - 50 - 70 MHz\n * 2 - 144 - 146 MHz\n * 3 - 220 - 225 MHz\n * 4 - 430 - 440 MHz\n * 5 - 902 - 928 MHz\n * 6 - 1240 - 1325 MHz\n * 7 - 2300 - 2450 MHz\n * 8 - 3300 - 3500 MHz\n",
+ "minimum" : 0,
+ "maximum" : 8
},
"txCellularChannel" : {
"type" : "integer",
- "description" : "Tx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n"
+ "description" : "Tx cellular channel selection (LimeRFEController::CellularChannel)\n * 0 - Band 1: 1.92 - 1.98 GHz\n * 1 - Band 2: 1.84 - 1.92 GHz\n * 2 - Band 3: 1.71 - 1.79 GHz\n * 3 - Band 7: 2.48 - 2.58 GHz\n * 4 - Band 38: 2.56 - 2.63 GHz\n",
+ "minimum" : 0,
+ "maximum" : 4
},
"txPort" : {
"type" : "integer",
@@ -12558,11 +13217,15 @@ margin-bottom: 20px;
},
"traceStroke" : {
"type" : "integer",
- "description" : "0 to 255"
+ "description" : "0 to 255",
+ "minimum" : 0,
+ "maximum" : 255
},
"traceDecay" : {
"type" : "integer",
- "description" : "0 to 255"
+ "description" : "0 to 255",
+ "minimum" : 0,
+ "maximum" : 255
},
"audioDeviceName" : {
"type" : "string",
@@ -12828,7 +13491,9 @@ margin-bottom: 20px;
},
"port" : {
"type" : "integer",
- "description" : "TCP port the MCP server listens on"
+ "description" : "TCP port the MCP server listens on",
+ "minimum" : 1024,
+ "maximum" : 65535
},
"token" : {
"type" : "string",
@@ -13486,12 +14151,203 @@ margin-bottom: 20px;
"properties" : {
"displayNames" : {
"type" : "integer",
- "description" : "Display object names on the map (1 for yes, 0 for no)"
+ "description" : "Display object names on the map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "map2DEnabled" : {
+ "type" : "integer",
+ "description" : "Display the 2D map pane (1 for yes, 0 for no). Disable this while keeping map3DEnabled enabled to show only the 3D map.",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "map3DEnabled" : {
+ "type" : "integer",
+ "description" : "Display the 3D map pane (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "mapProvider" : {
+ "type" : "string",
+ "description" : "2D map provider identifier."
+ },
+ "mapType" : {
+ "type" : "string",
+ "description" : "Selected 2D map type, for example Street Map or Satellite Map."
+ },
+ "osmURL" : {
+ "type" : "string",
+ "description" : "Custom OpenStreetMap tile-server URL."
+ },
+ "mapBoxStyles" : {
+ "type" : "string",
+ "description" : "Mapbox style identifier used by the selected 2D provider."
+ },
+ "displaySelectedGroundTracks" : {
+ "type" : "integer",
+ "description" : "Display ground tracks for selected items (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayAllGroundTracks" : {
+ "type" : "integer",
+ "description" : "Display ground tracks for all items (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
},
"terrain" : {
"type" : "string",
"description" : "Terrain used for 3D map (E.g: 'Ellipsoid' or 'Cesium World Terrain')"
},
+ "buildings" : {
+ "type" : "string",
+ "description" : "3D buildings layer, for example None or Cesium OSM Buildings."
+ },
+ "sunLightEnabled" : {
+ "type" : "integer",
+ "description" : "Light the globe from the Sun's direction (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "lightIntensity" : {
+ "type" : "number",
+ "description" : "Camera light intensity used by the 3D map.",
+ "minimum" : 0
+ },
+ "eciCamera" : {
+ "type" : "integer",
+ "description" : "Use an ECI rather than ECEF camera frame (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "fxaa" : {
+ "type" : "integer",
+ "description" : "Enable fast approximate anti-aliasing (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "msaa" : {
+ "type" : "integer",
+ "description" : "Multisample anti-aliasing level.",
+ "minimum" : 1,
+ "maximum" : 8
+ },
+ "terrainLighting" : {
+ "type" : "integer",
+ "description" : "Enable terrain lighting (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "water" : {
+ "type" : "integer",
+ "description" : "Enable water effects (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "hdr" : {
+ "type" : "integer",
+ "description" : "Enable high dynamic range rendering (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "fog" : {
+ "type" : "integer",
+ "description" : "Enable atmospheric fog (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "fps" : {
+ "type" : "integer",
+ "description" : "Display the 3D map frame rate (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayMUF" : {
+ "type" : "integer",
+ "description" : "Display maximum-usable-frequency contours (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayfoF2" : {
+ "type" : "integer",
+ "description" : "Display F2 critical-frequency contours (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayRain" : {
+ "type" : "integer",
+ "description" : "Display weather-radar rain and snow overlay (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayClouds" : {
+ "type" : "integer",
+ "description" : "Display satellite infrared cloud overlay (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displaySeaMarks" : {
+ "type" : "integer",
+ "description" : "Display sea marks (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayRailways" : {
+ "type" : "integer",
+ "description" : "Display railways (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayNASAGlobalImagery" : {
+ "type" : "integer",
+ "description" : "Display NASA GIBS imagery (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "nasaGlobalImageryIdentifier" : {
+ "type" : "string",
+ "description" : "NASA GIBS imagery-layer identifier."
+ },
+ "nasaGlobalImageryOpacity" : {
+ "type" : "integer",
+ "description" : "NASA GIBS imagery opacity as a percentage.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
+ "displayAurora" : {
+ "type" : "integer",
+ "description" : "Display aurora-probability overlay (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayMagDec" : {
+ "type" : "integer",
+ "description" : "Display magnetic-declination contours (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayMaidenheadGrid" : {
+ "type" : "integer",
+ "description" : "Display Maidenhead grid (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "displayPFD" : {
+ "type" : "integer",
+ "description" : "Display the aircraft primary-flight display (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "viewFirstPerson" : {
+ "type" : "integer",
+ "description" : "Use first-person 3D map view (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "defaultImagery" : {
+ "type" : "string",
+ "description" : "Default imagery layer for the 3D map."
+ },
"title" : {
"type" : "string",
"description" : "User-visible title."
@@ -13559,7 +14415,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 bytes sync word (0..65535)"
+ "description" : "2 bytes sync word (0..65535)",
+ "minimum" : 0,
+ "maximum" : 65535
},
"nbParityBits" : {
"type" : "integer",
@@ -13838,7 +14696,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 byte (0..65535) synchronization syncWord"
+ "description" : "2 byte (0..65535) synchronization syncWord",
+ "minimum" : 0,
+ "maximum" : 65535
},
"channelMute" : {
"type" : "integer",
@@ -13955,7 +14815,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 bytes sync word (0..65535)"
+ "description" : "2 bytes sync word (0..65535)",
+ "minimum" : 0,
+ "maximum" : 65535
},
"nbParityBits" : {
"type" : "integer",
@@ -14223,7 +15085,9 @@ margin-bottom: 20px;
},
"syncWord" : {
"type" : "integer",
- "description" : "2 byte (0..65535) synchronization syncWord"
+ "description" : "2 byte (0..65535) synchronization syncWord",
+ "minimum" : 0,
+ "maximum" : 65535
},
"channelMute" : {
"type" : "integer",
@@ -14439,7 +15303,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 3
},
"LOppmTenths" : {
"type" : "integer",
@@ -16067,7 +16933,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 2
},
"adcDither" : {
"type" : "integer",
@@ -16178,7 +17046,9 @@ margin-bottom: 20px;
},
"lpfFIRlog2Decim" : {
"type" : "integer",
- "description" : "digital lowpass FIR filter log2 of decimation factor (0..2)"
+ "description" : "digital lowpass FIR filter log2 of decimation factor (0..2)",
+ "minimum" : 0,
+ "maximum" : 2
},
"lpfFIRGain" : {
"type" : "integer",
@@ -16186,7 +17056,9 @@ margin-bottom: 20px;
},
"fcPos" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"dcBlock" : {
"type" : "integer",
@@ -16366,7 +17238,9 @@ margin-bottom: 20px;
},
"fcPosRx" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"rxTransverterMode" : {
"type" : "integer",
@@ -16397,7 +17271,9 @@ margin-bottom: 20px;
},
"lpfRxFIRlog2Decim" : {
"type" : "integer",
- "description" : "digital lowpass FIR filter log2 of decimation factor (0..2)"
+ "description" : "digital lowpass FIR filter log2 of decimation factor (0..2)",
+ "minimum" : 0,
+ "maximum" : 2
},
"lpfRxFIRGain" : {
"type" : "integer",
@@ -16438,7 +17314,9 @@ margin-bottom: 20px;
},
"fcPosTx" : {
"type" : "integer",
- "description" : "0=Infra 1=Supra 2=Center"
+ "description" : "0=Infra 1=Supra 2=Center",
+ "minimum" : 0,
+ "maximum" : 2
},
"txTransverterMode" : {
"type" : "integer",
@@ -16463,7 +17341,9 @@ margin-bottom: 20px;
},
"lpfTxFIRlog2Interp" : {
"type" : "integer",
- "description" : "digital lowpass FIR filter log2 of interpolation factor (0..2)"
+ "description" : "digital lowpass FIR filter log2 of interpolation factor (0..2)",
+ "minimum" : 0,
+ "maximum" : 2
},
"lpfTxFIRGain" : {
"type" : "integer",
@@ -16561,7 +17441,9 @@ margin-bottom: 20px;
},
"lpfFIRlog2Interp" : {
"type" : "integer",
- "description" : "digital lowpass FIR filter log2 of interpolation factor (0..2)"
+ "description" : "digital lowpass FIR filter log2 of interpolation factor (0..2)",
+ "minimum" : 0,
+ "maximum" : 2
},
"lpfFIRGain" : {
"type" : "integer",
@@ -16674,7 +17556,9 @@ margin-bottom: 20px;
"properties" : {
"presetType" : {
"type" : "integer",
- "description" : "See Preset::PresetType"
+ "description" : "Which kind of device set the preset applies to\n * 0 - receiver\n * 1 - transmitter\n * 2 - MIMO\n",
+ "minimum" : 0,
+ "maximum" : 2
},
"group" : {
"type" : "string",
@@ -17330,11 +18214,15 @@ margin-bottom: 20px;
},
"runMode" : {
"type" : "integer",
- "description" : "(0 for single, 1 for continuous, 2 for sweep)"
+ "description" : "(0 for single, 1 for continuous, 2 for sweep)",
+ "minimum" : 0,
+ "maximum" : 2
},
"sweepStartAtTime" : {
"type" : "integer",
- "description" : "(0 for now, 1 for at sweepStartDateTime)"
+ "description" : "(0 for now, 1 for at sweepStartDateTime)",
+ "minimum" : 0,
+ "maximum" : 1
},
"sweepStartDateTime" : {
"type" : "string",
@@ -17342,7 +18230,9 @@ margin-bottom: 20px;
},
"sweepType" : {
"type" : "integer",
- "description" : "(0 for Az/El, 1 for l/b, 2 for offset)"
+ "description" : "(0 for Az/El, 1 for l/b, 2 for offset)",
+ "minimum" : 0,
+ "maximum" : 2
},
"sweep1Start" : {
"type" : "number",
@@ -17462,7 +18352,9 @@ margin-bottom: 20px;
},
"frequencyMode" : {
"type" : "integer",
- "description" : "(0 for Offset, 1 for Absolute)"
+ "description" : "(0 for Offset, 1 for Absolute)",
+ "minimum" : 0,
+ "maximum" : 1
},
"frequency" : {
"type" : "integer",
@@ -17541,6 +18433,98 @@ margin-bottom: 20px;
}
},
"description" : "RadioClock"
+};
+ defs.Radiosonde = {
+ "properties" : {
+ "serial" : {
+ "type" : "string",
+ "description" : "Serial number, which identifies the sonde across a flight."
+ },
+ "type" : {
+ "type" : "string",
+ "description" : "Sonde model, such as RS41."
+ },
+ "latitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Latitude in decimal degrees, north positive.",
+ "minimum" : -90,
+ "maximum" : 90
+ },
+ "longitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Longitude in decimal degrees, east positive.",
+ "minimum" : -180,
+ "maximum" : 180
+ },
+ "altitude" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Altitude in metres above mean sea level."
+ },
+ "altitudeMax" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Greatest altitude seen this flight in metres, which indicates the burst altitude."
+ },
+ "speed" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Ground speed in km/h."
+ },
+ "verticalRate" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Ascent rate in m/s. Negative after burst."
+ },
+ "heading" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Direction of travel in degrees true."
+ },
+ "status" : {
+ "type" : "string",
+ "description" : "Status as reported by the sonde."
+ },
+ "pressure" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Atmospheric pressure in hPa."
+ },
+ "temperature" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Air temperature in degrees Celsius."
+ },
+ "humidity" : {
+ "type" : "number",
+ "format" : "float",
+ "description" : "Relative humidity as a percentage."
+ },
+ "frequency" : {
+ "type" : "integer",
+ "format" : "int64",
+ "description" : "Transmit frequency in Hz."
+ },
+ "burstKillStatus" : {
+ "type" : "string",
+ "description" : "Whether the burst-kill timer is armed."
+ },
+ "burstKillTimer" : {
+ "type" : "string",
+ "description" : "Time remaining on the burst-kill timer."
+ },
+ "lastUpdate" : {
+ "type" : "string",
+ "description" : "When any field was last updated, ISO 8601."
+ },
+ "messages" : {
+ "type" : "integer",
+ "description" : "Frames received from this radiosonde."
+ }
+ },
+ "description" : "Radiosonde heard by the Radiosonde feature"
};
defs.RadiosondeDemodReport = {
"properties" : {
@@ -17664,6 +18648,26 @@ margin-bottom: 20px;
}
},
"description" : "RadiosondeDemod"
+};
+ defs.RadiosondeReport = {
+ "properties" : {
+ "reportDateTime" : {
+ "type" : "string",
+ "description" : "When this snapshot was taken, ISO 8601."
+ },
+ "radiosondeCount" : {
+ "type" : "integer",
+ "description" : "Number of radiosondes currently held."
+ },
+ "radiosondes" : {
+ "type" : "array",
+ "description" : "The radiosondes heard.",
+ "items" : {
+ "$ref" : "#/definitions/Radiosonde"
+ }
+ }
+ },
+ "description" : "Radiosondes heard by the Radiosonde feature, which collects the decoded frames of every radiosonde demodulator in the instance. A field is present only once a frame carrying it has been received.\n"
};
defs.RadiosondeSettings = {
"properties" : {
@@ -18245,7 +19249,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 6
},
"gain" : {
"type" : "integer",
@@ -18551,7 +19557,9 @@ margin-bottom: 20px;
},
"lowSampleRate" : {
"type" : "integer",
- "description" : "Use the RTL-SDR low sample-rate range (1 enabled, 0 disabled)."
+ "description" : "Use the RTL-SDR low sample-rate range (1 enabled, 0 disabled).",
+ "minimum" : 0,
+ "maximum" : 1
},
"centerFrequency" : {
"type" : "integer",
@@ -18560,7 +19568,7 @@ margin-bottom: 20px;
},
"gain" : {
"type" : "integer",
- "description" : "Gain setting; units and available values depend on the device or plugin."
+ "description" : "Tuner gain in tenths of a dB, so 496 means 49.6 dB. Only the discrete values the tuner supports can be used; they are listed in the gains field of RtlSdrReport, which must be read from the device report before setting this. Ignored unless agc is disabled.\n"
},
"loPpmCorrection" : {
"type" : "integer",
@@ -18724,7 +19732,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 6
},
"fcPos" : {
"type" : "integer",
@@ -18839,7 +19849,9 @@ margin-bottom: 20px;
},
"log2Decim" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim."
+ "description" : "Base-2 exponent of the software decimation factor; the output sample rate is divided by 2^log2Decim.",
+ "minimum" : 0,
+ "maximum" : 6
},
"fcPos" : {
"type" : "integer",
@@ -18959,8 +19971,8 @@ margin-bottom: 20px;
"description" : "Autoload setting for Sid."
},
"filename" : {
- "type" : "integer",
- "description" : "Filename setting for Sid."
+ "type" : "string",
+ "description" : "File that measurements are written to and read back from when autosave or autoload is enabled.\n"
},
"autosavePeriod" : {
"type" : "integer",
@@ -19132,7 +20144,9 @@ margin-bottom: 20px;
"dnrAlpha" : {
"type" : "number",
"format" : "float",
- "description" : "Smoothing constant (alpha) of the exponential smoothing filter. Must be between 0 and 1."
+ "description" : "Smoothing constant (alpha) of the exponential smoothing filter. Must be between 0 and 1.",
+ "minimum" : 0,
+ "maximum" : 1
},
"rgbColor" : {
"type" : "integer",
@@ -19435,15 +20449,21 @@ margin-bottom: 20px;
},
"startOnAOS" : {
"type" : "integer",
- "description" : "Start acquisition on AOS (1 for yes, 0 for no)"
+ "description" : "Start acquisition on AOS (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"stopOnLOS" : {
"type" : "integer",
- "description" : "Stop acquisition on LOS (1 for yes, 0 for no)"
+ "description" : "Stop acquisition on LOS (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"startStopFileSinks" : {
"type" : "integer",
- "description" : "Start/stop file sinks on AOS/LOS (1 for yes, 0 for no)"
+ "description" : "Start/stop file sinks on AOS/LOS (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"frequency" : {
"type" : "integer",
@@ -19701,11 +20721,15 @@ margin-bottom: 20px;
},
"drawOnMap" : {
"type" : "integer",
- "description" : "Draw satellites on the Map (1 for yes, 0 for no)"
+ "description" : "Draw satellites on the Map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"autoTarget" : {
"type" : "integer",
- "description" : "Automatically select target on AOS (1 for yes, 0 for no)"
+ "description" : "Automatically select target on AOS (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"aosSpeech" : {
"type" : "string",
@@ -20324,23 +21348,33 @@ margin-bottom: 20px;
"properties" : {
"displayNames" : {
"type" : "integer",
- "description" : "Display names on the sky map (1 for yes, 0 for no)"
+ "description" : "Display names on the sky map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"displayConstellations" : {
"type" : "integer",
- "description" : "Display constellations on the sky map (1 for yes, 0 for no)"
+ "description" : "Display constellations on the sky map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"displayReticle" : {
"type" : "integer",
- "description" : "Display reticle on the sky map (1 for yes, 0 for no)"
+ "description" : "Display reticle on the sky map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"displayGrid" : {
"type" : "integer",
- "description" : "Display grid on the sky map (1 for yes, 0 for no)"
+ "description" : "Display grid on the sky map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"displayAntennaFoV" : {
"type" : "integer",
- "description" : "Display antenna field-of-view on the sky map (1 for yes, 0 for no)"
+ "description" : "Display antenna field-of-view on the sky map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"map" : {
"type" : "string",
@@ -20927,9 +21961,13 @@ margin-bottom: 20px;
},
"show" : {
"type" : "integer",
- "description" : "SpectrumAnnotationMarker::ShowState - Marker display state\n * 0 - Hidden\n * 1 - Only top marker visible\n * 2 - Fully visible with text and full sized limits\n",
+ "description" : "SpectrumAnnotationMarker::ShowState - Marker display state\n * 0 - Hidden\n * 1 - Only top marker visible\n * 2 - Fully visible with text and full sized limits\n * 3 - Text only\n",
"minimum" : 0,
- "maximum" : 2
+ "maximum" : 3
+ },
+ "text" : {
+ "type" : "string",
+ "description" : "Text displayed against the marker."
}
},
"description" : "Spectrum annotation marker settings"
@@ -20984,6 +22022,25 @@ margin-bottom: 20px;
}
},
"description" : "Spectrum histogram marker settings"
+};
+ defs.SpectrumMemorySettings = {
+ "properties" : {
+ "display" : {
+ "type" : "integer",
+ "description" : "Display this saved spectrum memory (1 for yes, 0 for no).",
+ "minimum" : 0,
+ "maximum" : 1
+ },
+ "color" : {
+ "type" : "integer",
+ "description" : "Display colour encoded as an RGB integer."
+ },
+ "label" : {
+ "type" : "string",
+ "description" : "User-visible label for this saved spectrum memory."
+ }
+ },
+ "description" : "Display settings for one saved spectrum memory. The captured spectrum samples are not transferred through settings APIs."
};
defs.SpectrumServer = {
"properties" : {
@@ -21267,15 +22324,21 @@ margin-bottom: 20px;
},
"drawSunOnMap" : {
"type" : "integer",
- "description" : "Draw the overhead position of the Sun on the Map (1 for yes, 0 for no)"
+ "description" : "Draw the overhead position of the Sun on the Map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"drawMoonOnMap" : {
"type" : "integer",
- "description" : "Draw the overhead position of the Moon on the Map (1 for yes, 0 for no)"
+ "description" : "Draw the overhead position of the Moon on the Map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"drawStarOnMap" : {
"type" : "integer",
- "description" : "Draw the overhead position of the target Star on the Map (1 for yes, 0 for no)"
+ "description" : "Draw the overhead position of the target Star on the Map (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"title" : {
"type" : "string",
@@ -21545,7 +22608,9 @@ margin-bottom: 20px;
},
"log2Interp" : {
"type" : "integer",
- "description" : "Base-2 exponent of the software interpolation factor; the output sample rate is multiplied by 2^log2Interp."
+ "description" : "Base-2 exponent of the software interpolation factor; the output sample rate is multiplied by 2^log2Interp.",
+ "minimum" : 0,
+ "maximum" : 6
},
"fcPosTx" : {
"type" : "integer",
@@ -21707,6 +22772,17 @@ margin-bottom: 20px;
"format" : "float",
"description" : "Phase imbalance setting for Test source."
},
+ "period" : {
+ "type" : "integer",
+ "description" : "Period of the P1 and P2 patterns in samples.",
+ "minimum" : 1
+ },
+ "dutyCycle" : {
+ "type" : "integer",
+ "description" : "Percentage of the period the P2 pattern is high.",
+ "minimum" : 0,
+ "maximum" : 100
+ },
"useReverseAPI" : {
"type" : "integer",
"description" : "Synchronize with reverse API (1 for yes, 0 for no)",
@@ -21738,7 +22814,9 @@ margin-bottom: 20px;
},
"projectionType" : {
"type" : "integer",
- "description" : "Complex to real projection type. See Projector::ProjectionType"
+ "description" : "Projection applied to turn the complex signal into a real trace\n * 0 - real part\n * 1 - imaginary part\n * 2 - magnitude, linear\n * 3 - squared magnitude (power), linear\n * 4 - time derivative of the squared magnitude\n * 5 - squared magnitude in dB\n * 6 - phase\n * 7 - direction of arrival from phase, positive branch\n * 8 - direction of arrival from phase, negative branch\n * 9 - phase derivative, instantaneous frequency\n * 10 - BPSK phase comparator\n * 11 - QPSK phase comparator\n * 12 - 8-PSK phase comparator\n * 13 - 16-PSK phase comparator\n",
+ "minimum" : 0,
+ "maximum" : 13
},
"inputIndex" : {
"type" : "integer",
@@ -21813,7 +22891,9 @@ margin-bottom: 20px;
},
"projectionType" : {
"type" : "integer",
- "description" : "Complex to real projection type. See Projector::ProjectionType"
+ "description" : "Projection applied to turn the complex signal into a real trace\n * 0 - real part\n * 1 - imaginary part\n * 2 - magnitude, linear\n * 3 - squared magnitude (power), linear\n * 4 - time derivative of the squared magnitude\n * 5 - squared magnitude in dB\n * 6 - phase\n * 7 - direction of arrival from phase, positive branch\n * 8 - direction of arrival from phase, negative branch\n * 9 - phase derivative, instantaneous frequency\n * 10 - BPSK phase comparator\n * 11 - QPSK phase comparator\n * 12 - 8-PSK phase comparator\n * 13 - 16-PSK phase comparator\n",
+ "minimum" : 0,
+ "maximum" : 13
},
"inputIndex" : {
"type" : "integer",
@@ -22295,7 +23375,9 @@ margin-bottom: 20px;
},
"gainMode" : {
"type" : "integer",
- "description" : "0 for auto, 1 for manual"
+ "description" : "0 for auto, 1 for manual",
+ "minimum" : 0,
+ "maximum" : 1
},
"clockSource" : {
"type" : "string",
@@ -23546,7 +24628,9 @@ margin-bottom: 20px;
},
"log2SoftDecim" : {
"type" : "integer",
- "description" : "log2 of software decimation factor from 0 to 6"
+ "description" : "log2 of software decimation factor from 0 to 6",
+ "minimum" : 0,
+ "maximum" : 6
},
"rxCenterFrequency" : {
"type" : "integer",
@@ -23567,7 +24651,9 @@ margin-bottom: 20px;
},
"ncoEnableRx" : {
"type" : "integer",
- "description" : "Enable TSP NCO Rx on both channels and mixing (1 for yes, 0 for no)"
+ "description" : "Enable TSP NCO Rx on both channels and mixing (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"ncoFrequencyRx" : {
"type" : "integer",
@@ -23655,7 +24741,9 @@ margin-bottom: 20px;
},
"log2SoftInterp" : {
"type" : "integer",
- "description" : "log2 of software interpolation factor from 0 to 6"
+ "description" : "log2 of software interpolation factor from 0 to 6",
+ "minimum" : 0,
+ "maximum" : 6
},
"txCenterFrequency" : {
"type" : "integer",
@@ -23664,7 +24752,9 @@ margin-bottom: 20px;
},
"ncoEnableTx" : {
"type" : "integer",
- "description" : "Enable TSP NCO Tx on both channels and mixing (1 for yes, 0 for no)"
+ "description" : "Enable TSP NCO Tx on both channels and mixing (1 for yes, 0 for no)",
+ "minimum" : 0,
+ "maximum" : 1
},
"ncoFrequencyTx" : {
"type" : "integer",
@@ -65244,7 +66334,7 @@ except ApiException as e:
- Generated 2026-09-06T09:56:57.532+02:00
+ Generated 2026-09-11T09:18:28.785+02:00
diff --git a/swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.cpp
index 49f152ca1..b4bd342e6 100644
--- a/swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.cpp
@@ -36,8 +36,6 @@ SWGADSBDemodSettings::SWGADSBDemodSettings() {
m_correlation_threshold_isSet = false;
samples_per_bit = 0;
m_samples_per_bit_isSet = false;
- correlate_full_preamble = 0;
- m_correlate_full_preamble_isSet = false;
demod_mode_s = 0;
m_demod_mode_s_isSet = false;
interpolator_phase_steps = 0;
@@ -120,8 +118,6 @@ SWGADSBDemodSettings::init() {
m_correlation_threshold_isSet = false;
samples_per_bit = 0;
m_samples_per_bit_isSet = false;
- correlate_full_preamble = 0;
- m_correlate_full_preamble_isSet = false;
demod_mode_s = 0;
m_demod_mode_s_isSet = false;
interpolator_phase_steps = 0;
@@ -202,7 +198,6 @@ SWGADSBDemodSettings::cleanup() {
-
if(export_client_host != nullptr) {
delete export_client_host;
}
@@ -279,8 +274,6 @@ SWGADSBDemodSettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&samples_per_bit, pJson["samplesPerBit"], "qint32", "");
- ::SWGSDRangel::setValue(&correlate_full_preamble, pJson["correlateFullPreamble"], "qint32", "");
-
::SWGSDRangel::setValue(&demod_mode_s, pJson["demodModeS"], "qint32", "");
::SWGSDRangel::setValue(&interpolator_phase_steps, pJson["interpolatorPhaseSteps"], "qint32", "");
@@ -375,9 +368,6 @@ SWGADSBDemodSettings::asJsonObject() {
if(m_samples_per_bit_isSet){
obj->insert("samplesPerBit", QJsonValue(samples_per_bit));
}
- if(m_correlate_full_preamble_isSet){
- obj->insert("correlateFullPreamble", QJsonValue(correlate_full_preamble));
- }
if(m_demod_mode_s_isSet){
obj->insert("demodModeS", QJsonValue(demod_mode_s));
}
@@ -521,16 +511,6 @@ SWGADSBDemodSettings::setSamplesPerBit(qint32 samples_per_bit) {
this->m_samples_per_bit_isSet = true;
}
-qint32
-SWGADSBDemodSettings::getCorrelateFullPreamble() {
- return correlate_full_preamble;
-}
-void
-SWGADSBDemodSettings::setCorrelateFullPreamble(qint32 correlate_full_preamble) {
- this->correlate_full_preamble = correlate_full_preamble;
- this->m_correlate_full_preamble_isSet = true;
-}
-
qint32
SWGADSBDemodSettings::getDemodModeS() {
return demod_mode_s;
@@ -878,9 +858,6 @@ SWGADSBDemodSettings::isSet(){
if(m_samples_per_bit_isSet){
isObjectUpdated = true; break;
}
- if(m_correlate_full_preamble_isSet){
- isObjectUpdated = true; break;
- }
if(m_demod_mode_s_isSet){
isObjectUpdated = true; break;
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.h b/swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.h
index de41fc178..c664c3821 100644
--- a/swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.h
+++ b/swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.h
@@ -56,9 +56,6 @@ public:
qint32 getSamplesPerBit();
void setSamplesPerBit(qint32 samples_per_bit);
- qint32 getCorrelateFullPreamble();
- void setCorrelateFullPreamble(qint32 correlate_full_preamble);
-
qint32 getDemodModeS();
void setDemodModeS(qint32 demod_mode_s);
@@ -174,9 +171,6 @@ private:
qint32 samples_per_bit;
bool m_samples_per_bit_isSet;
- qint32 correlate_full_preamble;
- bool m_correlate_full_preamble_isSet;
-
qint32 demod_mode_s;
bool m_demod_mode_s_isSet;
diff --git a/swagger/sdrangel/code/qt5/client/SWGAISReport.cpp b/swagger/sdrangel/code/qt5/client/SWGAISReport.cpp
new file mode 100644
index 000000000..bab83df93
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGAISReport.cpp
@@ -0,0 +1,162 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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 "SWGAISReport.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGAISReport::SWGAISReport(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGAISReport::SWGAISReport() {
+ report_date_time = nullptr;
+ m_report_date_time_isSet = false;
+ vessel_count = 0;
+ m_vessel_count_isSet = false;
+ vessels = nullptr;
+ m_vessels_isSet = false;
+}
+
+SWGAISReport::~SWGAISReport() {
+ this->cleanup();
+}
+
+void
+SWGAISReport::init() {
+ report_date_time = new QString("");
+ m_report_date_time_isSet = false;
+ vessel_count = 0;
+ m_vessel_count_isSet = false;
+ vessels = new QList();
+ m_vessels_isSet = false;
+}
+
+void
+SWGAISReport::cleanup() {
+ if(report_date_time != nullptr) {
+ delete report_date_time;
+ }
+
+ if(vessels != nullptr) {
+ auto arr = vessels;
+ for(auto o: *arr) {
+ delete o;
+ }
+ delete vessels;
+ }
+}
+
+SWGAISReport*
+SWGAISReport::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGAISReport::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&report_date_time, pJson["reportDateTime"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&vessel_count, pJson["vesselCount"], "qint32", "");
+
+
+ ::SWGSDRangel::setValue(&vessels, pJson["vessels"], "QList", "SWGAISVessel");
+}
+
+QString
+SWGAISReport::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGAISReport::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(report_date_time != nullptr && *report_date_time != QString("")){
+ toJsonValue(QString("reportDateTime"), report_date_time, obj, QString("QString"));
+ }
+ if(m_vessel_count_isSet){
+ obj->insert("vesselCount", QJsonValue(vessel_count));
+ }
+ if(vessels && vessels->size() > 0){
+ toJsonArray((QList*)vessels, obj, "vessels", "SWGAISVessel");
+ }
+
+ return obj;
+}
+
+QString*
+SWGAISReport::getReportDateTime() {
+ return report_date_time;
+}
+void
+SWGAISReport::setReportDateTime(QString* report_date_time) {
+ this->report_date_time = report_date_time;
+ this->m_report_date_time_isSet = true;
+}
+
+qint32
+SWGAISReport::getVesselCount() {
+ return vessel_count;
+}
+void
+SWGAISReport::setVesselCount(qint32 vessel_count) {
+ this->vessel_count = vessel_count;
+ this->m_vessel_count_isSet = true;
+}
+
+QList*
+SWGAISReport::getVessels() {
+ return vessels;
+}
+void
+SWGAISReport::setVessels(QList* vessels) {
+ this->vessels = vessels;
+ this->m_vessels_isSet = true;
+}
+
+
+bool
+SWGAISReport::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(report_date_time && *report_date_time != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_vessel_count_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(vessels && (vessels->size() > 0)){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGAISReport.h b/swagger/sdrangel/code/qt5/client/SWGAISReport.h
new file mode 100644
index 000000000..219600d87
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGAISReport.h
@@ -0,0 +1,73 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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.
+ */
+
+/*
+ * SWGAISReport.h
+ *
+ * Vessels heard by the AIS feature, which collects the decoded messages of every AIS demodulator in the instance. A field is present only once a message carrying it has been received, so an absent position means unknown rather than zero.
+ */
+
+#ifndef SWGAISReport_H_
+#define SWGAISReport_H_
+
+#include
+
+
+#include "SWGAISVessel.h"
+#include
+#include
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGAISReport: public SWGObject {
+public:
+ SWGAISReport();
+ SWGAISReport(QString* json);
+ virtual ~SWGAISReport();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGAISReport* fromJson(QString &jsonString) override;
+
+ QString* getReportDateTime();
+ void setReportDateTime(QString* report_date_time);
+
+ qint32 getVesselCount();
+ void setVesselCount(qint32 vessel_count);
+
+ QList* getVessels();
+ void setVessels(QList* vessels);
+
+
+ virtual bool isSet() override;
+
+private:
+ QString* report_date_time;
+ bool m_report_date_time_isSet;
+
+ qint32 vessel_count;
+ bool m_vessel_count_isSet;
+
+ QList* vessels;
+ bool m_vessels_isSet;
+
+};
+
+}
+
+#endif /* SWGAISReport_H_ */
diff --git a/swagger/sdrangel/code/qt5/client/SWGAISVessel.cpp b/swagger/sdrangel/code/qt5/client/SWGAISVessel.cpp
new file mode 100644
index 000000000..c8806abeb
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGAISVessel.cpp
@@ -0,0 +1,521 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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 "SWGAISVessel.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGAISVessel::SWGAISVessel(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGAISVessel::SWGAISVessel() {
+ mmsi = nullptr;
+ m_mmsi_isSet = false;
+ name = nullptr;
+ m_name_isSet = false;
+ callsign = nullptr;
+ m_callsign_isSet = false;
+ imo = nullptr;
+ m_imo_isSet = false;
+ country = nullptr;
+ m_country_isSet = false;
+ type = nullptr;
+ m_type_isSet = false;
+ ship_type = nullptr;
+ m_ship_type_isSet = false;
+ latitude = 0.0f;
+ m_latitude_isSet = false;
+ longitude = 0.0f;
+ m_longitude_isSet = false;
+ course = 0.0f;
+ m_course_isSet = false;
+ speed = 0.0f;
+ m_speed_isSet = false;
+ heading = 0;
+ m_heading_isSet = false;
+ status = nullptr;
+ m_status_isSet = false;
+ length = 0;
+ m_length_isSet = false;
+ destination = nullptr;
+ m_destination_isSet = false;
+ position_update = nullptr;
+ m_position_update_isSet = false;
+ last_update = nullptr;
+ m_last_update_isSet = false;
+ messages = 0;
+ m_messages_isSet = false;
+}
+
+SWGAISVessel::~SWGAISVessel() {
+ this->cleanup();
+}
+
+void
+SWGAISVessel::init() {
+ mmsi = new QString("");
+ m_mmsi_isSet = false;
+ name = new QString("");
+ m_name_isSet = false;
+ callsign = new QString("");
+ m_callsign_isSet = false;
+ imo = new QString("");
+ m_imo_isSet = false;
+ country = new QString("");
+ m_country_isSet = false;
+ type = new QString("");
+ m_type_isSet = false;
+ ship_type = new QString("");
+ m_ship_type_isSet = false;
+ latitude = 0.0f;
+ m_latitude_isSet = false;
+ longitude = 0.0f;
+ m_longitude_isSet = false;
+ course = 0.0f;
+ m_course_isSet = false;
+ speed = 0.0f;
+ m_speed_isSet = false;
+ heading = 0;
+ m_heading_isSet = false;
+ status = new QString("");
+ m_status_isSet = false;
+ length = 0;
+ m_length_isSet = false;
+ destination = new QString("");
+ m_destination_isSet = false;
+ position_update = new QString("");
+ m_position_update_isSet = false;
+ last_update = new QString("");
+ m_last_update_isSet = false;
+ messages = 0;
+ m_messages_isSet = false;
+}
+
+void
+SWGAISVessel::cleanup() {
+ if(mmsi != nullptr) {
+ delete mmsi;
+ }
+ if(name != nullptr) {
+ delete name;
+ }
+ if(callsign != nullptr) {
+ delete callsign;
+ }
+ if(imo != nullptr) {
+ delete imo;
+ }
+ if(country != nullptr) {
+ delete country;
+ }
+ if(type != nullptr) {
+ delete type;
+ }
+ if(ship_type != nullptr) {
+ delete ship_type;
+ }
+
+
+
+
+
+ if(status != nullptr) {
+ delete status;
+ }
+
+ if(destination != nullptr) {
+ delete destination;
+ }
+ if(position_update != nullptr) {
+ delete position_update;
+ }
+ if(last_update != nullptr) {
+ delete last_update;
+ }
+
+}
+
+SWGAISVessel*
+SWGAISVessel::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGAISVessel::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&mmsi, pJson["mmsi"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&name, pJson["name"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&callsign, pJson["callsign"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&imo, pJson["imo"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&country, pJson["country"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&type, pJson["type"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&ship_type, pJson["shipType"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&latitude, pJson["latitude"], "float", "");
+
+ ::SWGSDRangel::setValue(&longitude, pJson["longitude"], "float", "");
+
+ ::SWGSDRangel::setValue(&course, pJson["course"], "float", "");
+
+ ::SWGSDRangel::setValue(&speed, pJson["speed"], "float", "");
+
+ ::SWGSDRangel::setValue(&heading, pJson["heading"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&status, pJson["status"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&length, pJson["length"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&destination, pJson["destination"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&position_update, pJson["positionUpdate"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&last_update, pJson["lastUpdate"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&messages, pJson["messages"], "qint32", "");
+
+}
+
+QString
+SWGAISVessel::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGAISVessel::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(mmsi != nullptr && *mmsi != QString("")){
+ toJsonValue(QString("mmsi"), mmsi, obj, QString("QString"));
+ }
+ if(name != nullptr && *name != QString("")){
+ toJsonValue(QString("name"), name, obj, QString("QString"));
+ }
+ if(callsign != nullptr && *callsign != QString("")){
+ toJsonValue(QString("callsign"), callsign, obj, QString("QString"));
+ }
+ if(imo != nullptr && *imo != QString("")){
+ toJsonValue(QString("imo"), imo, obj, QString("QString"));
+ }
+ if(country != nullptr && *country != QString("")){
+ toJsonValue(QString("country"), country, obj, QString("QString"));
+ }
+ if(type != nullptr && *type != QString("")){
+ toJsonValue(QString("type"), type, obj, QString("QString"));
+ }
+ if(ship_type != nullptr && *ship_type != QString("")){
+ toJsonValue(QString("shipType"), ship_type, obj, QString("QString"));
+ }
+ if(m_latitude_isSet){
+ obj->insert("latitude", QJsonValue(latitude));
+ }
+ if(m_longitude_isSet){
+ obj->insert("longitude", QJsonValue(longitude));
+ }
+ if(m_course_isSet){
+ obj->insert("course", QJsonValue(course));
+ }
+ if(m_speed_isSet){
+ obj->insert("speed", QJsonValue(speed));
+ }
+ if(m_heading_isSet){
+ obj->insert("heading", QJsonValue(heading));
+ }
+ if(status != nullptr && *status != QString("")){
+ toJsonValue(QString("status"), status, obj, QString("QString"));
+ }
+ if(m_length_isSet){
+ obj->insert("length", QJsonValue(length));
+ }
+ if(destination != nullptr && *destination != QString("")){
+ toJsonValue(QString("destination"), destination, obj, QString("QString"));
+ }
+ if(position_update != nullptr && *position_update != QString("")){
+ toJsonValue(QString("positionUpdate"), position_update, obj, QString("QString"));
+ }
+ if(last_update != nullptr && *last_update != QString("")){
+ toJsonValue(QString("lastUpdate"), last_update, obj, QString("QString"));
+ }
+ if(m_messages_isSet){
+ obj->insert("messages", QJsonValue(messages));
+ }
+
+ return obj;
+}
+
+QString*
+SWGAISVessel::getMmsi() {
+ return mmsi;
+}
+void
+SWGAISVessel::setMmsi(QString* mmsi) {
+ this->mmsi = mmsi;
+ this->m_mmsi_isSet = true;
+}
+
+QString*
+SWGAISVessel::getName() {
+ return name;
+}
+void
+SWGAISVessel::setName(QString* name) {
+ this->name = name;
+ this->m_name_isSet = true;
+}
+
+QString*
+SWGAISVessel::getCallsign() {
+ return callsign;
+}
+void
+SWGAISVessel::setCallsign(QString* callsign) {
+ this->callsign = callsign;
+ this->m_callsign_isSet = true;
+}
+
+QString*
+SWGAISVessel::getImo() {
+ return imo;
+}
+void
+SWGAISVessel::setImo(QString* imo) {
+ this->imo = imo;
+ this->m_imo_isSet = true;
+}
+
+QString*
+SWGAISVessel::getCountry() {
+ return country;
+}
+void
+SWGAISVessel::setCountry(QString* country) {
+ this->country = country;
+ this->m_country_isSet = true;
+}
+
+QString*
+SWGAISVessel::getType() {
+ return type;
+}
+void
+SWGAISVessel::setType(QString* type) {
+ this->type = type;
+ this->m_type_isSet = true;
+}
+
+QString*
+SWGAISVessel::getShipType() {
+ return ship_type;
+}
+void
+SWGAISVessel::setShipType(QString* ship_type) {
+ this->ship_type = ship_type;
+ this->m_ship_type_isSet = true;
+}
+
+float
+SWGAISVessel::getLatitude() {
+ return latitude;
+}
+void
+SWGAISVessel::setLatitude(float latitude) {
+ this->latitude = latitude;
+ this->m_latitude_isSet = true;
+}
+
+float
+SWGAISVessel::getLongitude() {
+ return longitude;
+}
+void
+SWGAISVessel::setLongitude(float longitude) {
+ this->longitude = longitude;
+ this->m_longitude_isSet = true;
+}
+
+float
+SWGAISVessel::getCourse() {
+ return course;
+}
+void
+SWGAISVessel::setCourse(float course) {
+ this->course = course;
+ this->m_course_isSet = true;
+}
+
+float
+SWGAISVessel::getSpeed() {
+ return speed;
+}
+void
+SWGAISVessel::setSpeed(float speed) {
+ this->speed = speed;
+ this->m_speed_isSet = true;
+}
+
+qint32
+SWGAISVessel::getHeading() {
+ return heading;
+}
+void
+SWGAISVessel::setHeading(qint32 heading) {
+ this->heading = heading;
+ this->m_heading_isSet = true;
+}
+
+QString*
+SWGAISVessel::getStatus() {
+ return status;
+}
+void
+SWGAISVessel::setStatus(QString* status) {
+ this->status = status;
+ this->m_status_isSet = true;
+}
+
+qint32
+SWGAISVessel::getLength() {
+ return length;
+}
+void
+SWGAISVessel::setLength(qint32 length) {
+ this->length = length;
+ this->m_length_isSet = true;
+}
+
+QString*
+SWGAISVessel::getDestination() {
+ return destination;
+}
+void
+SWGAISVessel::setDestination(QString* destination) {
+ this->destination = destination;
+ this->m_destination_isSet = true;
+}
+
+QString*
+SWGAISVessel::getPositionUpdate() {
+ return position_update;
+}
+void
+SWGAISVessel::setPositionUpdate(QString* position_update) {
+ this->position_update = position_update;
+ this->m_position_update_isSet = true;
+}
+
+QString*
+SWGAISVessel::getLastUpdate() {
+ return last_update;
+}
+void
+SWGAISVessel::setLastUpdate(QString* last_update) {
+ this->last_update = last_update;
+ this->m_last_update_isSet = true;
+}
+
+qint32
+SWGAISVessel::getMessages() {
+ return messages;
+}
+void
+SWGAISVessel::setMessages(qint32 messages) {
+ this->messages = messages;
+ this->m_messages_isSet = true;
+}
+
+
+bool
+SWGAISVessel::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(mmsi && *mmsi != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(name && *name != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(callsign && *callsign != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(imo && *imo != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(country && *country != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(type && *type != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(ship_type && *ship_type != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_latitude_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_longitude_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_course_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_speed_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_heading_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(status && *status != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_length_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(destination && *destination != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(position_update && *position_update != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(last_update && *last_update != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_messages_isSet){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGAISVessel.h b/swagger/sdrangel/code/qt5/client/SWGAISVessel.h
new file mode 100644
index 000000000..3d2bc74f2
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGAISVessel.h
@@ -0,0 +1,161 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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.
+ */
+
+/*
+ * SWGAISVessel.h
+ *
+ * Vessel heard by the AIS feature
+ */
+
+#ifndef SWGAISVessel_H_
+#define SWGAISVessel_H_
+
+#include
+
+
+#include
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGAISVessel: public SWGObject {
+public:
+ SWGAISVessel();
+ SWGAISVessel(QString* json);
+ virtual ~SWGAISVessel();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGAISVessel* fromJson(QString &jsonString) override;
+
+ QString* getMmsi();
+ void setMmsi(QString* mmsi);
+
+ QString* getName();
+ void setName(QString* name);
+
+ QString* getCallsign();
+ void setCallsign(QString* callsign);
+
+ QString* getImo();
+ void setImo(QString* imo);
+
+ QString* getCountry();
+ void setCountry(QString* country);
+
+ QString* getType();
+ void setType(QString* type);
+
+ QString* getShipType();
+ void setShipType(QString* ship_type);
+
+ float getLatitude();
+ void setLatitude(float latitude);
+
+ float getLongitude();
+ void setLongitude(float longitude);
+
+ float getCourse();
+ void setCourse(float course);
+
+ float getSpeed();
+ void setSpeed(float speed);
+
+ qint32 getHeading();
+ void setHeading(qint32 heading);
+
+ QString* getStatus();
+ void setStatus(QString* status);
+
+ qint32 getLength();
+ void setLength(qint32 length);
+
+ QString* getDestination();
+ void setDestination(QString* destination);
+
+ QString* getPositionUpdate();
+ void setPositionUpdate(QString* position_update);
+
+ QString* getLastUpdate();
+ void setLastUpdate(QString* last_update);
+
+ qint32 getMessages();
+ void setMessages(qint32 messages);
+
+
+ virtual bool isSet() override;
+
+private:
+ QString* mmsi;
+ bool m_mmsi_isSet;
+
+ QString* name;
+ bool m_name_isSet;
+
+ QString* callsign;
+ bool m_callsign_isSet;
+
+ QString* imo;
+ bool m_imo_isSet;
+
+ QString* country;
+ bool m_country_isSet;
+
+ QString* type;
+ bool m_type_isSet;
+
+ QString* ship_type;
+ bool m_ship_type_isSet;
+
+ float latitude;
+ bool m_latitude_isSet;
+
+ float longitude;
+ bool m_longitude_isSet;
+
+ float course;
+ bool m_course_isSet;
+
+ float speed;
+ bool m_speed_isSet;
+
+ qint32 heading;
+ bool m_heading_isSet;
+
+ QString* status;
+ bool m_status_isSet;
+
+ qint32 length;
+ bool m_length_isSet;
+
+ QString* destination;
+ bool m_destination_isSet;
+
+ QString* position_update;
+ bool m_position_update_isSet;
+
+ QString* last_update;
+ bool m_last_update_isSet;
+
+ qint32 messages;
+ bool m_messages_isSet;
+
+};
+
+}
+
+#endif /* SWGAISVessel_H_ */
diff --git a/swagger/sdrangel/code/qt5/client/SWGAPRSReport.cpp b/swagger/sdrangel/code/qt5/client/SWGAPRSReport.cpp
new file mode 100644
index 000000000..1c855b2bf
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGAPRSReport.cpp
@@ -0,0 +1,208 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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 "SWGAPRSReport.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGAPRSReport::SWGAPRSReport(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGAPRSReport::SWGAPRSReport() {
+ running_state = 0;
+ m_running_state_isSet = false;
+ report_date_time = nullptr;
+ m_report_date_time_isSet = false;
+ station_count = 0;
+ m_station_count_isSet = false;
+ packet_count = 0;
+ m_packet_count_isSet = false;
+ stations = nullptr;
+ m_stations_isSet = false;
+}
+
+SWGAPRSReport::~SWGAPRSReport() {
+ this->cleanup();
+}
+
+void
+SWGAPRSReport::init() {
+ running_state = 0;
+ m_running_state_isSet = false;
+ report_date_time = new QString("");
+ m_report_date_time_isSet = false;
+ station_count = 0;
+ m_station_count_isSet = false;
+ packet_count = 0;
+ m_packet_count_isSet = false;
+ stations = new QList();
+ m_stations_isSet = false;
+}
+
+void
+SWGAPRSReport::cleanup() {
+
+ if(report_date_time != nullptr) {
+ delete report_date_time;
+ }
+
+
+ if(stations != nullptr) {
+ auto arr = stations;
+ for(auto o: *arr) {
+ delete o;
+ }
+ delete stations;
+ }
+}
+
+SWGAPRSReport*
+SWGAPRSReport::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGAPRSReport::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&running_state, pJson["runningState"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&report_date_time, pJson["reportDateTime"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&station_count, pJson["stationCount"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&packet_count, pJson["packetCount"], "qint32", "");
+
+
+ ::SWGSDRangel::setValue(&stations, pJson["stations"], "QList", "SWGAPRSStation");
+}
+
+QString
+SWGAPRSReport::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGAPRSReport::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(m_running_state_isSet){
+ obj->insert("runningState", QJsonValue(running_state));
+ }
+ if(report_date_time != nullptr && *report_date_time != QString("")){
+ toJsonValue(QString("reportDateTime"), report_date_time, obj, QString("QString"));
+ }
+ if(m_station_count_isSet){
+ obj->insert("stationCount", QJsonValue(station_count));
+ }
+ if(m_packet_count_isSet){
+ obj->insert("packetCount", QJsonValue(packet_count));
+ }
+ if(stations && stations->size() > 0){
+ toJsonArray((QList*)stations, obj, "stations", "SWGAPRSStation");
+ }
+
+ return obj;
+}
+
+qint32
+SWGAPRSReport::getRunningState() {
+ return running_state;
+}
+void
+SWGAPRSReport::setRunningState(qint32 running_state) {
+ this->running_state = running_state;
+ this->m_running_state_isSet = true;
+}
+
+QString*
+SWGAPRSReport::getReportDateTime() {
+ return report_date_time;
+}
+void
+SWGAPRSReport::setReportDateTime(QString* report_date_time) {
+ this->report_date_time = report_date_time;
+ this->m_report_date_time_isSet = true;
+}
+
+qint32
+SWGAPRSReport::getStationCount() {
+ return station_count;
+}
+void
+SWGAPRSReport::setStationCount(qint32 station_count) {
+ this->station_count = station_count;
+ this->m_station_count_isSet = true;
+}
+
+qint32
+SWGAPRSReport::getPacketCount() {
+ return packet_count;
+}
+void
+SWGAPRSReport::setPacketCount(qint32 packet_count) {
+ this->packet_count = packet_count;
+ this->m_packet_count_isSet = true;
+}
+
+QList*
+SWGAPRSReport::getStations() {
+ return stations;
+}
+void
+SWGAPRSReport::setStations(QList* stations) {
+ this->stations = stations;
+ this->m_stations_isSet = true;
+}
+
+
+bool
+SWGAPRSReport::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(m_running_state_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(report_date_time && *report_date_time != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_station_count_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_packet_count_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(stations && (stations->size() > 0)){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGAPRSReport.h b/swagger/sdrangel/code/qt5/client/SWGAPRSReport.h
new file mode 100644
index 000000000..1c6b0d251
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGAPRSReport.h
@@ -0,0 +1,85 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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.
+ */
+
+/*
+ * SWGAPRSReport.h
+ *
+ * Stations and objects heard by the APRS feature, which collects the AX.25 packets of every packet demodulator in the instance. A field is present only once a packet carrying it has been received.
+ */
+
+#ifndef SWGAPRSReport_H_
+#define SWGAPRSReport_H_
+
+#include
+
+
+#include "SWGAPRSStation.h"
+#include
+#include
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGAPRSReport: public SWGObject {
+public:
+ SWGAPRSReport();
+ SWGAPRSReport(QString* json);
+ virtual ~SWGAPRSReport();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGAPRSReport* fromJson(QString &jsonString) override;
+
+ qint32 getRunningState();
+ void setRunningState(qint32 running_state);
+
+ QString* getReportDateTime();
+ void setReportDateTime(QString* report_date_time);
+
+ qint32 getStationCount();
+ void setStationCount(qint32 station_count);
+
+ qint32 getPacketCount();
+ void setPacketCount(qint32 packet_count);
+
+ QList* getStations();
+ void setStations(QList* stations);
+
+
+ virtual bool isSet() override;
+
+private:
+ qint32 running_state;
+ bool m_running_state_isSet;
+
+ QString* report_date_time;
+ bool m_report_date_time_isSet;
+
+ qint32 station_count;
+ bool m_station_count_isSet;
+
+ qint32 packet_count;
+ bool m_packet_count_isSet;
+
+ QList* stations;
+ bool m_stations_isSet;
+
+};
+
+}
+
+#endif /* SWGAPRSReport_H_ */
diff --git a/swagger/sdrangel/code/qt5/client/SWGAPRSSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGAPRSSettings.cpp
index fc63ac5fb..7d7d9c4f7 100644
--- a/swagger/sdrangel/code/qt5/client/SWGAPRSSettings.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGAPRSSettings.cpp
@@ -308,40 +308,40 @@ SWGAPRSSettings::asJsonObject() {
toJsonValue(QString("rollupState"), rollup_state, obj, QString("SWGRollupState"));
}
if(packets_table_column_indexes && packets_table_column_indexes->size() > 0){
- toJsonArray((QList*)packets_table_column_indexes, obj, "packetsTableColumnIndexes", "qint32");
+ toJsonArray((QList*)packets_table_column_indexes, obj, "packetsTableColumnIndexes", "");
}
if(packets_table_column_sizes && packets_table_column_sizes->size() > 0){
- toJsonArray((QList*)packets_table_column_sizes, obj, "packetsTableColumnSizes", "qint32");
+ toJsonArray((QList*)packets_table_column_sizes, obj, "packetsTableColumnSizes", "");
}
if(weather_table_column_indexes && weather_table_column_indexes->size() > 0){
- toJsonArray((QList*)weather_table_column_indexes, obj, "weatherTableColumnIndexes", "qint32");
+ toJsonArray((QList*)weather_table_column_indexes, obj, "weatherTableColumnIndexes", "");
}
if(weather_table_column_sizes && weather_table_column_sizes->size() > 0){
- toJsonArray((QList*)weather_table_column_sizes, obj, "weatherTableColumnSizes", "qint32");
+ toJsonArray((QList*)weather_table_column_sizes, obj, "weatherTableColumnSizes", "");
}
if(status_table_column_indexes && status_table_column_indexes->size() > 0){
- toJsonArray((QList*)status_table_column_indexes, obj, "statusTableColumnIndexes", "qint32");
+ toJsonArray((QList*)status_table_column_indexes, obj, "statusTableColumnIndexes", "");
}
if(status_table_column_sizes && status_table_column_sizes->size() > 0){
- toJsonArray((QList*)status_table_column_sizes, obj, "statusTableColumnSizes", "qint32");
+ toJsonArray((QList*)status_table_column_sizes, obj, "statusTableColumnSizes", "");
}
if(messages_table_column_indexes && messages_table_column_indexes->size() > 0){
- toJsonArray((QList*)messages_table_column_indexes, obj, "messagesTableColumnIndexes", "qint32");
+ toJsonArray((QList*)messages_table_column_indexes, obj, "messagesTableColumnIndexes", "");
}
if(messages_table_column_sizes && messages_table_column_sizes->size() > 0){
- toJsonArray((QList*)messages_table_column_sizes, obj, "messagesTableColumnSizes", "qint32");
+ toJsonArray((QList*)messages_table_column_sizes, obj, "messagesTableColumnSizes", "");
}
if(telemetry_table_column_indexes && telemetry_table_column_indexes->size() > 0){
- toJsonArray((QList*)telemetry_table_column_indexes, obj, "telemetryTableColumnIndexes", "qint32");
+ toJsonArray((QList*)telemetry_table_column_indexes, obj, "telemetryTableColumnIndexes", "");
}
if(telemetry_table_column_sizes && telemetry_table_column_sizes->size() > 0){
- toJsonArray((QList*)telemetry_table_column_sizes, obj, "telemetryTableColumnSizes", "qint32");
+ toJsonArray((QList*)telemetry_table_column_sizes, obj, "telemetryTableColumnSizes", "");
}
if(motion_table_column_indexes && motion_table_column_indexes->size() > 0){
- toJsonArray((QList*)motion_table_column_indexes, obj, "motionTableColumnIndexes", "qint32");
+ toJsonArray((QList*)motion_table_column_indexes, obj, "motionTableColumnIndexes", "");
}
if(motion_table_column_sizes && motion_table_column_sizes->size() > 0){
- toJsonArray((QList*)motion_table_column_sizes, obj, "motionTableColumnSizes", "qint32");
+ toJsonArray((QList*)motion_table_column_sizes, obj, "motionTableColumnSizes", "");
}
return obj;
diff --git a/swagger/sdrangel/code/qt5/client/SWGAPRSStation.cpp b/swagger/sdrangel/code/qt5/client/SWGAPRSStation.cpp
new file mode 100644
index 000000000..b1dbe1ae4
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGAPRSStation.cpp
@@ -0,0 +1,584 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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 "SWGAPRSStation.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGAPRSStation::SWGAPRSStation(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGAPRSStation::SWGAPRSStation() {
+ callsign = nullptr;
+ m_callsign_isSet = false;
+ is_object = 0;
+ m_is_object_isSet = false;
+ reporting_station = nullptr;
+ m_reporting_station_isSet = false;
+ symbol = nullptr;
+ m_symbol_isSet = false;
+ latitude = 0.0f;
+ m_latitude_isSet = false;
+ longitude = 0.0f;
+ m_longitude_isSet = false;
+ altitude = 0.0f;
+ m_altitude_isSet = false;
+ course = 0.0f;
+ m_course_isSet = false;
+ speed = 0.0f;
+ m_speed_isSet = false;
+ status = nullptr;
+ m_status_isSet = false;
+ comment = nullptr;
+ m_comment_isSet = false;
+ power_watts = 0.0f;
+ m_power_watts_isSet = false;
+ antenna_height = 0.0f;
+ m_antenna_height_isSet = false;
+ antenna_gain = 0.0f;
+ m_antenna_gain_isSet = false;
+ antenna_directivity = nullptr;
+ m_antenna_directivity_isSet = false;
+ radio_range = 0.0f;
+ m_radio_range_isSet = false;
+ has_weather = 0;
+ m_has_weather_isSet = false;
+ has_telemetry = 0;
+ m_has_telemetry_isSet = false;
+ telemetry_project_name = nullptr;
+ m_telemetry_project_name_isSet = false;
+ packets = 0;
+ m_packets_isSet = false;
+ last_packet_date_time = nullptr;
+ m_last_packet_date_time_isSet = false;
+}
+
+SWGAPRSStation::~SWGAPRSStation() {
+ this->cleanup();
+}
+
+void
+SWGAPRSStation::init() {
+ callsign = new QString("");
+ m_callsign_isSet = false;
+ is_object = 0;
+ m_is_object_isSet = false;
+ reporting_station = new QString("");
+ m_reporting_station_isSet = false;
+ symbol = new QString("");
+ m_symbol_isSet = false;
+ latitude = 0.0f;
+ m_latitude_isSet = false;
+ longitude = 0.0f;
+ m_longitude_isSet = false;
+ altitude = 0.0f;
+ m_altitude_isSet = false;
+ course = 0.0f;
+ m_course_isSet = false;
+ speed = 0.0f;
+ m_speed_isSet = false;
+ status = new QString("");
+ m_status_isSet = false;
+ comment = new QString("");
+ m_comment_isSet = false;
+ power_watts = 0.0f;
+ m_power_watts_isSet = false;
+ antenna_height = 0.0f;
+ m_antenna_height_isSet = false;
+ antenna_gain = 0.0f;
+ m_antenna_gain_isSet = false;
+ antenna_directivity = new QString("");
+ m_antenna_directivity_isSet = false;
+ radio_range = 0.0f;
+ m_radio_range_isSet = false;
+ has_weather = 0;
+ m_has_weather_isSet = false;
+ has_telemetry = 0;
+ m_has_telemetry_isSet = false;
+ telemetry_project_name = new QString("");
+ m_telemetry_project_name_isSet = false;
+ packets = 0;
+ m_packets_isSet = false;
+ last_packet_date_time = new QString("");
+ m_last_packet_date_time_isSet = false;
+}
+
+void
+SWGAPRSStation::cleanup() {
+ if(callsign != nullptr) {
+ delete callsign;
+ }
+
+ if(reporting_station != nullptr) {
+ delete reporting_station;
+ }
+ if(symbol != nullptr) {
+ delete symbol;
+ }
+
+
+
+
+
+ if(status != nullptr) {
+ delete status;
+ }
+ if(comment != nullptr) {
+ delete comment;
+ }
+
+
+
+ if(antenna_directivity != nullptr) {
+ delete antenna_directivity;
+ }
+
+
+
+ if(telemetry_project_name != nullptr) {
+ delete telemetry_project_name;
+ }
+
+ if(last_packet_date_time != nullptr) {
+ delete last_packet_date_time;
+ }
+}
+
+SWGAPRSStation*
+SWGAPRSStation::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGAPRSStation::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&callsign, pJson["callsign"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&is_object, pJson["isObject"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&reporting_station, pJson["reportingStation"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&symbol, pJson["symbol"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&latitude, pJson["latitude"], "float", "");
+
+ ::SWGSDRangel::setValue(&longitude, pJson["longitude"], "float", "");
+
+ ::SWGSDRangel::setValue(&altitude, pJson["altitude"], "float", "");
+
+ ::SWGSDRangel::setValue(&course, pJson["course"], "float", "");
+
+ ::SWGSDRangel::setValue(&speed, pJson["speed"], "float", "");
+
+ ::SWGSDRangel::setValue(&status, pJson["status"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&comment, pJson["comment"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&power_watts, pJson["powerWatts"], "float", "");
+
+ ::SWGSDRangel::setValue(&antenna_height, pJson["antennaHeight"], "float", "");
+
+ ::SWGSDRangel::setValue(&antenna_gain, pJson["antennaGain"], "float", "");
+
+ ::SWGSDRangel::setValue(&antenna_directivity, pJson["antennaDirectivity"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&radio_range, pJson["radioRange"], "float", "");
+
+ ::SWGSDRangel::setValue(&has_weather, pJson["hasWeather"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&has_telemetry, pJson["hasTelemetry"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&telemetry_project_name, pJson["telemetryProjectName"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&packets, pJson["packets"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&last_packet_date_time, pJson["lastPacketDateTime"], "QString", "QString");
+
+}
+
+QString
+SWGAPRSStation::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGAPRSStation::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(callsign != nullptr && *callsign != QString("")){
+ toJsonValue(QString("callsign"), callsign, obj, QString("QString"));
+ }
+ if(m_is_object_isSet){
+ obj->insert("isObject", QJsonValue(is_object));
+ }
+ if(reporting_station != nullptr && *reporting_station != QString("")){
+ toJsonValue(QString("reportingStation"), reporting_station, obj, QString("QString"));
+ }
+ if(symbol != nullptr && *symbol != QString("")){
+ toJsonValue(QString("symbol"), symbol, obj, QString("QString"));
+ }
+ if(m_latitude_isSet){
+ obj->insert("latitude", QJsonValue(latitude));
+ }
+ if(m_longitude_isSet){
+ obj->insert("longitude", QJsonValue(longitude));
+ }
+ if(m_altitude_isSet){
+ obj->insert("altitude", QJsonValue(altitude));
+ }
+ if(m_course_isSet){
+ obj->insert("course", QJsonValue(course));
+ }
+ if(m_speed_isSet){
+ obj->insert("speed", QJsonValue(speed));
+ }
+ if(status != nullptr && *status != QString("")){
+ toJsonValue(QString("status"), status, obj, QString("QString"));
+ }
+ if(comment != nullptr && *comment != QString("")){
+ toJsonValue(QString("comment"), comment, obj, QString("QString"));
+ }
+ if(m_power_watts_isSet){
+ obj->insert("powerWatts", QJsonValue(power_watts));
+ }
+ if(m_antenna_height_isSet){
+ obj->insert("antennaHeight", QJsonValue(antenna_height));
+ }
+ if(m_antenna_gain_isSet){
+ obj->insert("antennaGain", QJsonValue(antenna_gain));
+ }
+ if(antenna_directivity != nullptr && *antenna_directivity != QString("")){
+ toJsonValue(QString("antennaDirectivity"), antenna_directivity, obj, QString("QString"));
+ }
+ if(m_radio_range_isSet){
+ obj->insert("radioRange", QJsonValue(radio_range));
+ }
+ if(m_has_weather_isSet){
+ obj->insert("hasWeather", QJsonValue(has_weather));
+ }
+ if(m_has_telemetry_isSet){
+ obj->insert("hasTelemetry", QJsonValue(has_telemetry));
+ }
+ if(telemetry_project_name != nullptr && *telemetry_project_name != QString("")){
+ toJsonValue(QString("telemetryProjectName"), telemetry_project_name, obj, QString("QString"));
+ }
+ if(m_packets_isSet){
+ obj->insert("packets", QJsonValue(packets));
+ }
+ if(last_packet_date_time != nullptr && *last_packet_date_time != QString("")){
+ toJsonValue(QString("lastPacketDateTime"), last_packet_date_time, obj, QString("QString"));
+ }
+
+ return obj;
+}
+
+QString*
+SWGAPRSStation::getCallsign() {
+ return callsign;
+}
+void
+SWGAPRSStation::setCallsign(QString* callsign) {
+ this->callsign = callsign;
+ this->m_callsign_isSet = true;
+}
+
+qint32
+SWGAPRSStation::getIsObject() {
+ return is_object;
+}
+void
+SWGAPRSStation::setIsObject(qint32 is_object) {
+ this->is_object = is_object;
+ this->m_is_object_isSet = true;
+}
+
+QString*
+SWGAPRSStation::getReportingStation() {
+ return reporting_station;
+}
+void
+SWGAPRSStation::setReportingStation(QString* reporting_station) {
+ this->reporting_station = reporting_station;
+ this->m_reporting_station_isSet = true;
+}
+
+QString*
+SWGAPRSStation::getSymbol() {
+ return symbol;
+}
+void
+SWGAPRSStation::setSymbol(QString* symbol) {
+ this->symbol = symbol;
+ this->m_symbol_isSet = true;
+}
+
+float
+SWGAPRSStation::getLatitude() {
+ return latitude;
+}
+void
+SWGAPRSStation::setLatitude(float latitude) {
+ this->latitude = latitude;
+ this->m_latitude_isSet = true;
+}
+
+float
+SWGAPRSStation::getLongitude() {
+ return longitude;
+}
+void
+SWGAPRSStation::setLongitude(float longitude) {
+ this->longitude = longitude;
+ this->m_longitude_isSet = true;
+}
+
+float
+SWGAPRSStation::getAltitude() {
+ return altitude;
+}
+void
+SWGAPRSStation::setAltitude(float altitude) {
+ this->altitude = altitude;
+ this->m_altitude_isSet = true;
+}
+
+float
+SWGAPRSStation::getCourse() {
+ return course;
+}
+void
+SWGAPRSStation::setCourse(float course) {
+ this->course = course;
+ this->m_course_isSet = true;
+}
+
+float
+SWGAPRSStation::getSpeed() {
+ return speed;
+}
+void
+SWGAPRSStation::setSpeed(float speed) {
+ this->speed = speed;
+ this->m_speed_isSet = true;
+}
+
+QString*
+SWGAPRSStation::getStatus() {
+ return status;
+}
+void
+SWGAPRSStation::setStatus(QString* status) {
+ this->status = status;
+ this->m_status_isSet = true;
+}
+
+QString*
+SWGAPRSStation::getComment() {
+ return comment;
+}
+void
+SWGAPRSStation::setComment(QString* comment) {
+ this->comment = comment;
+ this->m_comment_isSet = true;
+}
+
+float
+SWGAPRSStation::getPowerWatts() {
+ return power_watts;
+}
+void
+SWGAPRSStation::setPowerWatts(float power_watts) {
+ this->power_watts = power_watts;
+ this->m_power_watts_isSet = true;
+}
+
+float
+SWGAPRSStation::getAntennaHeight() {
+ return antenna_height;
+}
+void
+SWGAPRSStation::setAntennaHeight(float antenna_height) {
+ this->antenna_height = antenna_height;
+ this->m_antenna_height_isSet = true;
+}
+
+float
+SWGAPRSStation::getAntennaGain() {
+ return antenna_gain;
+}
+void
+SWGAPRSStation::setAntennaGain(float antenna_gain) {
+ this->antenna_gain = antenna_gain;
+ this->m_antenna_gain_isSet = true;
+}
+
+QString*
+SWGAPRSStation::getAntennaDirectivity() {
+ return antenna_directivity;
+}
+void
+SWGAPRSStation::setAntennaDirectivity(QString* antenna_directivity) {
+ this->antenna_directivity = antenna_directivity;
+ this->m_antenna_directivity_isSet = true;
+}
+
+float
+SWGAPRSStation::getRadioRange() {
+ return radio_range;
+}
+void
+SWGAPRSStation::setRadioRange(float radio_range) {
+ this->radio_range = radio_range;
+ this->m_radio_range_isSet = true;
+}
+
+qint32
+SWGAPRSStation::getHasWeather() {
+ return has_weather;
+}
+void
+SWGAPRSStation::setHasWeather(qint32 has_weather) {
+ this->has_weather = has_weather;
+ this->m_has_weather_isSet = true;
+}
+
+qint32
+SWGAPRSStation::getHasTelemetry() {
+ return has_telemetry;
+}
+void
+SWGAPRSStation::setHasTelemetry(qint32 has_telemetry) {
+ this->has_telemetry = has_telemetry;
+ this->m_has_telemetry_isSet = true;
+}
+
+QString*
+SWGAPRSStation::getTelemetryProjectName() {
+ return telemetry_project_name;
+}
+void
+SWGAPRSStation::setTelemetryProjectName(QString* telemetry_project_name) {
+ this->telemetry_project_name = telemetry_project_name;
+ this->m_telemetry_project_name_isSet = true;
+}
+
+qint32
+SWGAPRSStation::getPackets() {
+ return packets;
+}
+void
+SWGAPRSStation::setPackets(qint32 packets) {
+ this->packets = packets;
+ this->m_packets_isSet = true;
+}
+
+QString*
+SWGAPRSStation::getLastPacketDateTime() {
+ return last_packet_date_time;
+}
+void
+SWGAPRSStation::setLastPacketDateTime(QString* last_packet_date_time) {
+ this->last_packet_date_time = last_packet_date_time;
+ this->m_last_packet_date_time_isSet = true;
+}
+
+
+bool
+SWGAPRSStation::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(callsign && *callsign != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_is_object_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(reporting_station && *reporting_station != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(symbol && *symbol != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_latitude_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_longitude_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_altitude_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_course_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_speed_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(status && *status != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(comment && *comment != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_power_watts_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_antenna_height_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_antenna_gain_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(antenna_directivity && *antenna_directivity != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_radio_range_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_has_weather_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_has_telemetry_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(telemetry_project_name && *telemetry_project_name != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_packets_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(last_packet_date_time && *last_packet_date_time != QString("")){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGAPRSStation.h b/swagger/sdrangel/code/qt5/client/SWGAPRSStation.h
new file mode 100644
index 000000000..b03f01b20
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGAPRSStation.h
@@ -0,0 +1,179 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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.
+ */
+
+/*
+ * SWGAPRSStation.h
+ *
+ * Station or object heard by the APRS feature
+ */
+
+#ifndef SWGAPRSStation_H_
+#define SWGAPRSStation_H_
+
+#include
+
+
+#include
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGAPRSStation: public SWGObject {
+public:
+ SWGAPRSStation();
+ SWGAPRSStation(QString* json);
+ virtual ~SWGAPRSStation();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGAPRSStation* fromJson(QString &jsonString) override;
+
+ QString* getCallsign();
+ void setCallsign(QString* callsign);
+
+ qint32 getIsObject();
+ void setIsObject(qint32 is_object);
+
+ QString* getReportingStation();
+ void setReportingStation(QString* reporting_station);
+
+ QString* getSymbol();
+ void setSymbol(QString* symbol);
+
+ float getLatitude();
+ void setLatitude(float latitude);
+
+ float getLongitude();
+ void setLongitude(float longitude);
+
+ float getAltitude();
+ void setAltitude(float altitude);
+
+ float getCourse();
+ void setCourse(float course);
+
+ float getSpeed();
+ void setSpeed(float speed);
+
+ QString* getStatus();
+ void setStatus(QString* status);
+
+ QString* getComment();
+ void setComment(QString* comment);
+
+ float getPowerWatts();
+ void setPowerWatts(float power_watts);
+
+ float getAntennaHeight();
+ void setAntennaHeight(float antenna_height);
+
+ float getAntennaGain();
+ void setAntennaGain(float antenna_gain);
+
+ QString* getAntennaDirectivity();
+ void setAntennaDirectivity(QString* antenna_directivity);
+
+ float getRadioRange();
+ void setRadioRange(float radio_range);
+
+ qint32 getHasWeather();
+ void setHasWeather(qint32 has_weather);
+
+ qint32 getHasTelemetry();
+ void setHasTelemetry(qint32 has_telemetry);
+
+ QString* getTelemetryProjectName();
+ void setTelemetryProjectName(QString* telemetry_project_name);
+
+ qint32 getPackets();
+ void setPackets(qint32 packets);
+
+ QString* getLastPacketDateTime();
+ void setLastPacketDateTime(QString* last_packet_date_time);
+
+
+ virtual bool isSet() override;
+
+private:
+ QString* callsign;
+ bool m_callsign_isSet;
+
+ qint32 is_object;
+ bool m_is_object_isSet;
+
+ QString* reporting_station;
+ bool m_reporting_station_isSet;
+
+ QString* symbol;
+ bool m_symbol_isSet;
+
+ float latitude;
+ bool m_latitude_isSet;
+
+ float longitude;
+ bool m_longitude_isSet;
+
+ float altitude;
+ bool m_altitude_isSet;
+
+ float course;
+ bool m_course_isSet;
+
+ float speed;
+ bool m_speed_isSet;
+
+ QString* status;
+ bool m_status_isSet;
+
+ QString* comment;
+ bool m_comment_isSet;
+
+ float power_watts;
+ bool m_power_watts_isSet;
+
+ float antenna_height;
+ bool m_antenna_height_isSet;
+
+ float antenna_gain;
+ bool m_antenna_gain_isSet;
+
+ QString* antenna_directivity;
+ bool m_antenna_directivity_isSet;
+
+ float radio_range;
+ bool m_radio_range_isSet;
+
+ qint32 has_weather;
+ bool m_has_weather_isSet;
+
+ qint32 has_telemetry;
+ bool m_has_telemetry_isSet;
+
+ QString* telemetry_project_name;
+ bool m_telemetry_project_name_isSet;
+
+ qint32 packets;
+ bool m_packets_isSet;
+
+ QString* last_packet_date_time;
+ bool m_last_packet_date_time_isSet;
+
+};
+
+}
+
+#endif /* SWGAPRSStation_H_ */
diff --git a/swagger/sdrangel/code/qt5/client/SWGChannelReport.cpp b/swagger/sdrangel/code/qt5/client/SWGChannelReport.cpp
index 4c5a85da5..4284ef13d 100644
--- a/swagger/sdrangel/code/qt5/client/SWGChannelReport.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGChannelReport.cpp
@@ -46,6 +46,8 @@ SWGChannelReport::SWGChannelReport() {
m_atv_mod_report_isSet = false;
bfm_demod_report = nullptr;
m_bfm_demod_report_isSet = false;
+ dab_demod_report = nullptr;
+ m_dab_demod_report_isSet = false;
channel_power_report = nullptr;
m_channel_power_report_isSet = false;
chirp_chat_demod_report = nullptr;
@@ -170,6 +172,8 @@ SWGChannelReport::init() {
m_atv_mod_report_isSet = false;
bfm_demod_report = new SWGBFMDemodReport();
m_bfm_demod_report_isSet = false;
+ dab_demod_report = new SWGDABDemodReport();
+ m_dab_demod_report_isSet = false;
channel_power_report = new SWGChannelPowerReport();
m_channel_power_report_isSet = false;
chirp_chat_demod_report = new SWGChirpChatDemodReport();
@@ -297,6 +301,9 @@ SWGChannelReport::cleanup() {
if(bfm_demod_report != nullptr) {
delete bfm_demod_report;
}
+ if(dab_demod_report != nullptr) {
+ delete dab_demod_report;
+ }
if(channel_power_report != nullptr) {
delete channel_power_report;
}
@@ -475,6 +482,8 @@ SWGChannelReport::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&bfm_demod_report, pJson["BFMDemodReport"], "SWGBFMDemodReport", "SWGBFMDemodReport");
+ ::SWGSDRangel::setValue(&dab_demod_report, pJson["DABDemodReport"], "SWGDABDemodReport", "SWGDABDemodReport");
+
::SWGSDRangel::setValue(&channel_power_report, pJson["ChannelPowerReport"], "SWGChannelPowerReport", "SWGChannelPowerReport");
::SWGSDRangel::setValue(&chirp_chat_demod_report, pJson["ChirpChatDemodReport"], "SWGChirpChatDemodReport", "SWGChirpChatDemodReport");
@@ -616,6 +625,9 @@ SWGChannelReport::asJsonObject() {
if((bfm_demod_report != nullptr) && (bfm_demod_report->isSet())){
toJsonValue(QString("BFMDemodReport"), bfm_demod_report, obj, QString("SWGBFMDemodReport"));
}
+ if((dab_demod_report != nullptr) && (dab_demod_report->isSet())){
+ toJsonValue(QString("DABDemodReport"), dab_demod_report, obj, QString("SWGDABDemodReport"));
+ }
if((channel_power_report != nullptr) && (channel_power_report->isSet())){
toJsonValue(QString("ChannelPowerReport"), channel_power_report, obj, QString("SWGChannelPowerReport"));
}
@@ -857,6 +869,16 @@ SWGChannelReport::setBfmDemodReport(SWGBFMDemodReport* bfm_demod_report) {
this->m_bfm_demod_report_isSet = true;
}
+SWGDABDemodReport*
+SWGChannelReport::getDabDemodReport() {
+ return dab_demod_report;
+}
+void
+SWGChannelReport::setDabDemodReport(SWGDABDemodReport* dab_demod_report) {
+ this->dab_demod_report = dab_demod_report;
+ this->m_dab_demod_report_isSet = true;
+}
+
SWGChannelPowerReport*
SWGChannelReport::getChannelPowerReport() {
return channel_power_report;
@@ -1379,6 +1401,9 @@ SWGChannelReport::isSet(){
if(bfm_demod_report && bfm_demod_report->isSet()){
isObjectUpdated = true; break;
}
+ if(dab_demod_report && dab_demod_report->isSet()){
+ isObjectUpdated = true; break;
+ }
if(channel_power_report && channel_power_report->isSet()){
isObjectUpdated = true; break;
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGChannelReport.h b/swagger/sdrangel/code/qt5/client/SWGChannelReport.h
index b24a50bca..59596bd74 100644
--- a/swagger/sdrangel/code/qt5/client/SWGChannelReport.h
+++ b/swagger/sdrangel/code/qt5/client/SWGChannelReport.h
@@ -32,6 +32,7 @@
#include "SWGChannelPowerReport.h"
#include "SWGChirpChatDemodReport.h"
#include "SWGChirpChatModReport.h"
+#include "SWGDABDemodReport.h"
#include "SWGDATVDemodReport.h"
#include "SWGDATVModReport.h"
#include "SWGDOA2Report.h"
@@ -125,6 +126,9 @@ public:
SWGBFMDemodReport* getBfmDemodReport();
void setBfmDemodReport(SWGBFMDemodReport* bfm_demod_report);
+ SWGDABDemodReport* getDabDemodReport();
+ void setDabDemodReport(SWGDABDemodReport* dab_demod_report);
+
SWGChannelPowerReport* getChannelPowerReport();
void setChannelPowerReport(SWGChannelPowerReport* channel_power_report);
@@ -303,6 +307,9 @@ private:
SWGBFMDemodReport* bfm_demod_report;
bool m_bfm_demod_report_isSet;
+ SWGDABDemodReport* dab_demod_report;
+ bool m_dab_demod_report_isSet;
+
SWGChannelPowerReport* channel_power_report;
bool m_channel_power_report_isSet;
diff --git a/swagger/sdrangel/code/qt5/client/SWGDABDemodReport.cpp b/swagger/sdrangel/code/qt5/client/SWGDABDemodReport.cpp
new file mode 100644
index 000000000..d5f77577a
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGDABDemodReport.cpp
@@ -0,0 +1,586 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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 "SWGDABDemodReport.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGDABDemodReport::SWGDABDemodReport(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGDABDemodReport::SWGDABDemodReport() {
+ channel_power_db = 0.0f;
+ m_channel_power_db_isSet = false;
+ channel_sample_rate = 0;
+ m_channel_sample_rate_isSet = false;
+ audio_sample_rate = 0;
+ m_audio_sample_rate_isSet = false;
+ sync = 0;
+ m_sync_isSet = false;
+ snr = 0;
+ m_snr_isSet = false;
+ frequency_offset = 0;
+ m_frequency_offset_isSet = false;
+ ensemble_name = nullptr;
+ m_ensemble_name_isSet = false;
+ ensemble_id = 0;
+ m_ensemble_id_isSet = false;
+ programs = nullptr;
+ m_programs_isSet = false;
+ selected_program = nullptr;
+ m_selected_program_isSet = false;
+ audio_active = 0;
+ m_audio_active_isSet = false;
+ bitrate = 0;
+ m_bitrate_isSet = false;
+ audio = nullptr;
+ m_audio_isSet = false;
+ language = nullptr;
+ m_language_isSet = false;
+ program_type = nullptr;
+ m_program_type_isSet = false;
+ frame_quality = 0;
+ m_frame_quality_isSet = false;
+ reed_solomon_quality = 0;
+ m_reed_solomon_quality_isSet = false;
+ aac_quality = 0;
+ m_aac_quality_isSet = false;
+ fib_quality = 0;
+ m_fib_quality_isSet = false;
+ tii = 0;
+ m_tii_isSet = false;
+ data = nullptr;
+ m_data_isSet = false;
+}
+
+SWGDABDemodReport::~SWGDABDemodReport() {
+ this->cleanup();
+}
+
+void
+SWGDABDemodReport::init() {
+ channel_power_db = 0.0f;
+ m_channel_power_db_isSet = false;
+ channel_sample_rate = 0;
+ m_channel_sample_rate_isSet = false;
+ audio_sample_rate = 0;
+ m_audio_sample_rate_isSet = false;
+ sync = 0;
+ m_sync_isSet = false;
+ snr = 0;
+ m_snr_isSet = false;
+ frequency_offset = 0;
+ m_frequency_offset_isSet = false;
+ ensemble_name = new QString("");
+ m_ensemble_name_isSet = false;
+ ensemble_id = 0;
+ m_ensemble_id_isSet = false;
+ programs = new QList();
+ m_programs_isSet = false;
+ selected_program = new QString("");
+ m_selected_program_isSet = false;
+ audio_active = 0;
+ m_audio_active_isSet = false;
+ bitrate = 0;
+ m_bitrate_isSet = false;
+ audio = new QString("");
+ m_audio_isSet = false;
+ language = new QString("");
+ m_language_isSet = false;
+ program_type = new QString("");
+ m_program_type_isSet = false;
+ frame_quality = 0;
+ m_frame_quality_isSet = false;
+ reed_solomon_quality = 0;
+ m_reed_solomon_quality_isSet = false;
+ aac_quality = 0;
+ m_aac_quality_isSet = false;
+ fib_quality = 0;
+ m_fib_quality_isSet = false;
+ tii = 0;
+ m_tii_isSet = false;
+ data = new QString("");
+ m_data_isSet = false;
+}
+
+void
+SWGDABDemodReport::cleanup() {
+
+
+
+
+
+
+ if(ensemble_name != nullptr) {
+ delete ensemble_name;
+ }
+
+ if(programs != nullptr) {
+ auto arr = programs;
+ for(auto o: *arr) {
+ delete o;
+ }
+ delete programs;
+ }
+ if(selected_program != nullptr) {
+ delete selected_program;
+ }
+
+
+ if(audio != nullptr) {
+ delete audio;
+ }
+ if(language != nullptr) {
+ delete language;
+ }
+ if(program_type != nullptr) {
+ delete program_type;
+ }
+
+
+
+
+
+ if(data != nullptr) {
+ delete data;
+ }
+}
+
+SWGDABDemodReport*
+SWGDABDemodReport::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGDABDemodReport::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&channel_power_db, pJson["channelPowerDB"], "float", "");
+
+ ::SWGSDRangel::setValue(&channel_sample_rate, pJson["channelSampleRate"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&audio_sample_rate, pJson["audioSampleRate"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&sync, pJson["sync"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&snr, pJson["snr"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&frequency_offset, pJson["frequencyOffset"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&ensemble_name, pJson["ensembleName"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&ensemble_id, pJson["ensembleId"], "qint32", "");
+
+
+ ::SWGSDRangel::setValue(&programs, pJson["programs"], "QList", "SWG#/DABProgram");
+ ::SWGSDRangel::setValue(&selected_program, pJson["selectedProgram"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&audio_active, pJson["audioActive"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&bitrate, pJson["bitrate"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&audio, pJson["audio"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&language, pJson["language"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&program_type, pJson["programType"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&frame_quality, pJson["frameQuality"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&reed_solomon_quality, pJson["reedSolomonQuality"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&aac_quality, pJson["aacQuality"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&fib_quality, pJson["fibQuality"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&tii, pJson["tii"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&data, pJson["data"], "QString", "QString");
+
+}
+
+QString
+SWGDABDemodReport::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGDABDemodReport::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(m_channel_power_db_isSet){
+ obj->insert("channelPowerDB", QJsonValue(channel_power_db));
+ }
+ if(m_channel_sample_rate_isSet){
+ obj->insert("channelSampleRate", QJsonValue(channel_sample_rate));
+ }
+ if(m_audio_sample_rate_isSet){
+ obj->insert("audioSampleRate", QJsonValue(audio_sample_rate));
+ }
+ if(m_sync_isSet){
+ obj->insert("sync", QJsonValue(sync));
+ }
+ if(m_snr_isSet){
+ obj->insert("snr", QJsonValue(snr));
+ }
+ if(m_frequency_offset_isSet){
+ obj->insert("frequencyOffset", QJsonValue(frequency_offset));
+ }
+ if(ensemble_name != nullptr && *ensemble_name != QString("")){
+ toJsonValue(QString("ensembleName"), ensemble_name, obj, QString("QString"));
+ }
+ if(m_ensemble_id_isSet){
+ obj->insert("ensembleId", QJsonValue(ensemble_id));
+ }
+ if(programs && programs->size() > 0){
+ toJsonArray((QList*)programs, obj, "programs", "SWG#/DABProgram");
+ }
+ if(selected_program != nullptr && *selected_program != QString("")){
+ toJsonValue(QString("selectedProgram"), selected_program, obj, QString("QString"));
+ }
+ if(m_audio_active_isSet){
+ obj->insert("audioActive", QJsonValue(audio_active));
+ }
+ if(m_bitrate_isSet){
+ obj->insert("bitrate", QJsonValue(bitrate));
+ }
+ if(audio != nullptr && *audio != QString("")){
+ toJsonValue(QString("audio"), audio, obj, QString("QString"));
+ }
+ if(language != nullptr && *language != QString("")){
+ toJsonValue(QString("language"), language, obj, QString("QString"));
+ }
+ if(program_type != nullptr && *program_type != QString("")){
+ toJsonValue(QString("programType"), program_type, obj, QString("QString"));
+ }
+ if(m_frame_quality_isSet){
+ obj->insert("frameQuality", QJsonValue(frame_quality));
+ }
+ if(m_reed_solomon_quality_isSet){
+ obj->insert("reedSolomonQuality", QJsonValue(reed_solomon_quality));
+ }
+ if(m_aac_quality_isSet){
+ obj->insert("aacQuality", QJsonValue(aac_quality));
+ }
+ if(m_fib_quality_isSet){
+ obj->insert("fibQuality", QJsonValue(fib_quality));
+ }
+ if(m_tii_isSet){
+ obj->insert("tii", QJsonValue(tii));
+ }
+ if(data != nullptr && *data != QString("")){
+ toJsonValue(QString("data"), data, obj, QString("QString"));
+ }
+
+ return obj;
+}
+
+float
+SWGDABDemodReport::getChannelPowerDb() {
+ return channel_power_db;
+}
+void
+SWGDABDemodReport::setChannelPowerDb(float channel_power_db) {
+ this->channel_power_db = channel_power_db;
+ this->m_channel_power_db_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getChannelSampleRate() {
+ return channel_sample_rate;
+}
+void
+SWGDABDemodReport::setChannelSampleRate(qint32 channel_sample_rate) {
+ this->channel_sample_rate = channel_sample_rate;
+ this->m_channel_sample_rate_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getAudioSampleRate() {
+ return audio_sample_rate;
+}
+void
+SWGDABDemodReport::setAudioSampleRate(qint32 audio_sample_rate) {
+ this->audio_sample_rate = audio_sample_rate;
+ this->m_audio_sample_rate_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getSync() {
+ return sync;
+}
+void
+SWGDABDemodReport::setSync(qint32 sync) {
+ this->sync = sync;
+ this->m_sync_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getSnr() {
+ return snr;
+}
+void
+SWGDABDemodReport::setSnr(qint32 snr) {
+ this->snr = snr;
+ this->m_snr_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getFrequencyOffset() {
+ return frequency_offset;
+}
+void
+SWGDABDemodReport::setFrequencyOffset(qint32 frequency_offset) {
+ this->frequency_offset = frequency_offset;
+ this->m_frequency_offset_isSet = true;
+}
+
+QString*
+SWGDABDemodReport::getEnsembleName() {
+ return ensemble_name;
+}
+void
+SWGDABDemodReport::setEnsembleName(QString* ensemble_name) {
+ this->ensemble_name = ensemble_name;
+ this->m_ensemble_name_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getEnsembleId() {
+ return ensemble_id;
+}
+void
+SWGDABDemodReport::setEnsembleId(qint32 ensemble_id) {
+ this->ensemble_id = ensemble_id;
+ this->m_ensemble_id_isSet = true;
+}
+
+QList*
+SWGDABDemodReport::getPrograms() {
+ return programs;
+}
+void
+SWGDABDemodReport::setPrograms(QList* programs) {
+ this->programs = programs;
+ this->m_programs_isSet = true;
+}
+
+QString*
+SWGDABDemodReport::getSelectedProgram() {
+ return selected_program;
+}
+void
+SWGDABDemodReport::setSelectedProgram(QString* selected_program) {
+ this->selected_program = selected_program;
+ this->m_selected_program_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getAudioActive() {
+ return audio_active;
+}
+void
+SWGDABDemodReport::setAudioActive(qint32 audio_active) {
+ this->audio_active = audio_active;
+ this->m_audio_active_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getBitrate() {
+ return bitrate;
+}
+void
+SWGDABDemodReport::setBitrate(qint32 bitrate) {
+ this->bitrate = bitrate;
+ this->m_bitrate_isSet = true;
+}
+
+QString*
+SWGDABDemodReport::getAudio() {
+ return audio;
+}
+void
+SWGDABDemodReport::setAudio(QString* audio) {
+ this->audio = audio;
+ this->m_audio_isSet = true;
+}
+
+QString*
+SWGDABDemodReport::getLanguage() {
+ return language;
+}
+void
+SWGDABDemodReport::setLanguage(QString* language) {
+ this->language = language;
+ this->m_language_isSet = true;
+}
+
+QString*
+SWGDABDemodReport::getProgramType() {
+ return program_type;
+}
+void
+SWGDABDemodReport::setProgramType(QString* program_type) {
+ this->program_type = program_type;
+ this->m_program_type_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getFrameQuality() {
+ return frame_quality;
+}
+void
+SWGDABDemodReport::setFrameQuality(qint32 frame_quality) {
+ this->frame_quality = frame_quality;
+ this->m_frame_quality_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getReedSolomonQuality() {
+ return reed_solomon_quality;
+}
+void
+SWGDABDemodReport::setReedSolomonQuality(qint32 reed_solomon_quality) {
+ this->reed_solomon_quality = reed_solomon_quality;
+ this->m_reed_solomon_quality_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getAacQuality() {
+ return aac_quality;
+}
+void
+SWGDABDemodReport::setAacQuality(qint32 aac_quality) {
+ this->aac_quality = aac_quality;
+ this->m_aac_quality_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getFibQuality() {
+ return fib_quality;
+}
+void
+SWGDABDemodReport::setFibQuality(qint32 fib_quality) {
+ this->fib_quality = fib_quality;
+ this->m_fib_quality_isSet = true;
+}
+
+qint32
+SWGDABDemodReport::getTii() {
+ return tii;
+}
+void
+SWGDABDemodReport::setTii(qint32 tii) {
+ this->tii = tii;
+ this->m_tii_isSet = true;
+}
+
+QString*
+SWGDABDemodReport::getData() {
+ return data;
+}
+void
+SWGDABDemodReport::setData(QString* data) {
+ this->data = data;
+ this->m_data_isSet = true;
+}
+
+
+bool
+SWGDABDemodReport::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(m_channel_power_db_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_channel_sample_rate_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_audio_sample_rate_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_sync_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_snr_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_frequency_offset_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(ensemble_name && *ensemble_name != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_ensemble_id_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(programs && (programs->size() > 0)){
+ isObjectUpdated = true; break;
+ }
+ if(selected_program && *selected_program != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_audio_active_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_bitrate_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(audio && *audio != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(language && *language != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(program_type && *program_type != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_frame_quality_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_reed_solomon_quality_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_aac_quality_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_fib_quality_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_tii_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(data && *data != QString("")){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGDABDemodReport.h b/swagger/sdrangel/code/qt5/client/SWGDABDemodReport.h
new file mode 100644
index 000000000..e6a0eebcf
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGDABDemodReport.h
@@ -0,0 +1,181 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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.
+ */
+
+/*
+ * SWGDABDemodReport.h
+ *
+ * Live DAB demodulator, ensemble and selected-programme status. Synchronization, discovered programmes and active audio do not by themselves prove clean reception; check SNR after selecting a programme and after every receiver gain change.
+ */
+
+#ifndef SWGDABDemodReport_H_
+#define SWGDABDemodReport_H_
+
+#include
+
+
+#include "SWG#/DABProgram.h"
+#include
+#include
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGDABDemodReport: public SWGObject {
+public:
+ SWGDABDemodReport();
+ SWGDABDemodReport(QString* json);
+ virtual ~SWGDABDemodReport();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGDABDemodReport* fromJson(QString &jsonString) override;
+
+ float getChannelPowerDb();
+ void setChannelPowerDb(float channel_power_db);
+
+ qint32 getChannelSampleRate();
+ void setChannelSampleRate(qint32 channel_sample_rate);
+
+ qint32 getAudioSampleRate();
+ void setAudioSampleRate(qint32 audio_sample_rate);
+
+ qint32 getSync();
+ void setSync(qint32 sync);
+
+ qint32 getSnr();
+ void setSnr(qint32 snr);
+
+ qint32 getFrequencyOffset();
+ void setFrequencyOffset(qint32 frequency_offset);
+
+ QString* getEnsembleName();
+ void setEnsembleName(QString* ensemble_name);
+
+ qint32 getEnsembleId();
+ void setEnsembleId(qint32 ensemble_id);
+
+ QList* getPrograms();
+ void setPrograms(QList* programs);
+
+ QString* getSelectedProgram();
+ void setSelectedProgram(QString* selected_program);
+
+ qint32 getAudioActive();
+ void setAudioActive(qint32 audio_active);
+
+ qint32 getBitrate();
+ void setBitrate(qint32 bitrate);
+
+ QString* getAudio();
+ void setAudio(QString* audio);
+
+ QString* getLanguage();
+ void setLanguage(QString* language);
+
+ QString* getProgramType();
+ void setProgramType(QString* program_type);
+
+ qint32 getFrameQuality();
+ void setFrameQuality(qint32 frame_quality);
+
+ qint32 getReedSolomonQuality();
+ void setReedSolomonQuality(qint32 reed_solomon_quality);
+
+ qint32 getAacQuality();
+ void setAacQuality(qint32 aac_quality);
+
+ qint32 getFibQuality();
+ void setFibQuality(qint32 fib_quality);
+
+ qint32 getTii();
+ void setTii(qint32 tii);
+
+ QString* getData();
+ void setData(QString* data);
+
+
+ virtual bool isSet() override;
+
+private:
+ float channel_power_db;
+ bool m_channel_power_db_isSet;
+
+ qint32 channel_sample_rate;
+ bool m_channel_sample_rate_isSet;
+
+ qint32 audio_sample_rate;
+ bool m_audio_sample_rate_isSet;
+
+ qint32 sync;
+ bool m_sync_isSet;
+
+ qint32 snr;
+ bool m_snr_isSet;
+
+ qint32 frequency_offset;
+ bool m_frequency_offset_isSet;
+
+ QString* ensemble_name;
+ bool m_ensemble_name_isSet;
+
+ qint32 ensemble_id;
+ bool m_ensemble_id_isSet;
+
+ QList* programs;
+ bool m_programs_isSet;
+
+ QString* selected_program;
+ bool m_selected_program_isSet;
+
+ qint32 audio_active;
+ bool m_audio_active_isSet;
+
+ qint32 bitrate;
+ bool m_bitrate_isSet;
+
+ QString* audio;
+ bool m_audio_isSet;
+
+ QString* language;
+ bool m_language_isSet;
+
+ QString* program_type;
+ bool m_program_type_isSet;
+
+ qint32 frame_quality;
+ bool m_frame_quality_isSet;
+
+ qint32 reed_solomon_quality;
+ bool m_reed_solomon_quality_isSet;
+
+ qint32 aac_quality;
+ bool m_aac_quality_isSet;
+
+ qint32 fib_quality;
+ bool m_fib_quality_isSet;
+
+ qint32 tii;
+ bool m_tii_isSet;
+
+ QString* data;
+ bool m_data_isSet;
+
+};
+
+}
+
+#endif /* SWGDABDemodReport_H_ */
diff --git a/swagger/sdrangel/code/qt5/client/SWGDABProgram.cpp b/swagger/sdrangel/code/qt5/client/SWGDABProgram.cpp
new file mode 100644
index 000000000..cb73d08fc
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGDABProgram.cpp
@@ -0,0 +1,133 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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 "SWGDABProgram.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGDABProgram::SWGDABProgram(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGDABProgram::SWGDABProgram() {
+ name = nullptr;
+ m_name_isSet = false;
+ id = 0;
+ m_id_isSet = false;
+}
+
+SWGDABProgram::~SWGDABProgram() {
+ this->cleanup();
+}
+
+void
+SWGDABProgram::init() {
+ name = new QString("");
+ m_name_isSet = false;
+ id = 0;
+ m_id_isSet = false;
+}
+
+void
+SWGDABProgram::cleanup() {
+ if(name != nullptr) {
+ delete name;
+ }
+
+}
+
+SWGDABProgram*
+SWGDABProgram::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGDABProgram::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&name, pJson["name"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&id, pJson["id"], "qint32", "");
+
+}
+
+QString
+SWGDABProgram::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGDABProgram::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(name != nullptr && *name != QString("")){
+ toJsonValue(QString("name"), name, obj, QString("QString"));
+ }
+ if(m_id_isSet){
+ obj->insert("id", QJsonValue(id));
+ }
+
+ return obj;
+}
+
+QString*
+SWGDABProgram::getName() {
+ return name;
+}
+void
+SWGDABProgram::setName(QString* name) {
+ this->name = name;
+ this->m_name_isSet = true;
+}
+
+qint32
+SWGDABProgram::getId() {
+ return id;
+}
+void
+SWGDABProgram::setId(qint32 id) {
+ this->id = id;
+ this->m_id_isSet = true;
+}
+
+
+bool
+SWGDABProgram::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(name && *name != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_id_isSet){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGDABProgram.h b/swagger/sdrangel/code/qt5/client/SWGDABProgram.h
new file mode 100644
index 000000000..0e26e60aa
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGDABProgram.h
@@ -0,0 +1,65 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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.
+ */
+
+/*
+ * SWGDABProgram.h
+ *
+ * A programme service discovered in the currently tuned DAB ensemble.
+ */
+
+#ifndef SWGDABProgram_H_
+#define SWGDABProgram_H_
+
+#include
+
+
+#include
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGDABProgram: public SWGObject {
+public:
+ SWGDABProgram();
+ SWGDABProgram(QString* json);
+ virtual ~SWGDABProgram();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGDABProgram* fromJson(QString &jsonString) override;
+
+ QString* getName();
+ void setName(QString* name);
+
+ qint32 getId();
+ void setId(qint32 id);
+
+
+ virtual bool isSet() override;
+
+private:
+ QString* name;
+ bool m_name_isSet;
+
+ qint32 id;
+ bool m_id_isSet;
+
+};
+
+}
+
+#endif /* SWGDABProgram_H_ */
diff --git a/swagger/sdrangel/code/qt5/client/SWGFeatureReport.cpp b/swagger/sdrangel/code/qt5/client/SWGFeatureReport.cpp
index f1b986d28..eaa3ac1e7 100644
--- a/swagger/sdrangel/code/qt5/client/SWGFeatureReport.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGFeatureReport.cpp
@@ -30,6 +30,12 @@ SWGFeatureReport::SWGFeatureReport(QString* json) {
SWGFeatureReport::SWGFeatureReport() {
feature_type = nullptr;
m_feature_type_isSet = false;
+ ais_report = nullptr;
+ m_ais_report_isSet = false;
+ aprs_report = nullptr;
+ m_aprs_report_isSet = false;
+ radiosonde_report = nullptr;
+ m_radiosonde_report_isSet = false;
afc_report = nullptr;
m_afc_report_isSet = false;
ambe_report = nullptr;
@@ -68,6 +74,12 @@ void
SWGFeatureReport::init() {
feature_type = new QString("");
m_feature_type_isSet = false;
+ ais_report = new SWGAISReport();
+ m_ais_report_isSet = false;
+ aprs_report = new SWGAPRSReport();
+ m_aprs_report_isSet = false;
+ radiosonde_report = new SWGRadiosondeReport();
+ m_radiosonde_report_isSet = false;
afc_report = new SWGAFCReport();
m_afc_report_isSet = false;
ambe_report = new SWGAMBEReport();
@@ -103,6 +115,15 @@ SWGFeatureReport::cleanup() {
if(feature_type != nullptr) {
delete feature_type;
}
+ if(ais_report != nullptr) {
+ delete ais_report;
+ }
+ if(aprs_report != nullptr) {
+ delete aprs_report;
+ }
+ if(radiosonde_report != nullptr) {
+ delete radiosonde_report;
+ }
if(afc_report != nullptr) {
delete afc_report;
}
@@ -160,6 +181,12 @@ void
SWGFeatureReport::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&feature_type, pJson["featureType"], "QString", "QString");
+ ::SWGSDRangel::setValue(&ais_report, pJson["AISReport"], "SWGAISReport", "SWGAISReport");
+
+ ::SWGSDRangel::setValue(&aprs_report, pJson["APRSReport"], "SWGAPRSReport", "SWGAPRSReport");
+
+ ::SWGSDRangel::setValue(&radiosonde_report, pJson["RadiosondeReport"], "SWGRadiosondeReport", "SWGRadiosondeReport");
+
::SWGSDRangel::setValue(&afc_report, pJson["AFCReport"], "SWGAFCReport", "SWGAFCReport");
::SWGSDRangel::setValue(&ambe_report, pJson["AMBEReport"], "SWGAMBEReport", "SWGAMBEReport");
@@ -207,6 +234,15 @@ SWGFeatureReport::asJsonObject() {
if(feature_type != nullptr && *feature_type != QString("")){
toJsonValue(QString("featureType"), feature_type, obj, QString("QString"));
}
+ if((ais_report != nullptr) && (ais_report->isSet())){
+ toJsonValue(QString("AISReport"), ais_report, obj, QString("SWGAISReport"));
+ }
+ if((aprs_report != nullptr) && (aprs_report->isSet())){
+ toJsonValue(QString("APRSReport"), aprs_report, obj, QString("SWGAPRSReport"));
+ }
+ if((radiosonde_report != nullptr) && (radiosonde_report->isSet())){
+ toJsonValue(QString("RadiosondeReport"), radiosonde_report, obj, QString("SWGRadiosondeReport"));
+ }
if((afc_report != nullptr) && (afc_report->isSet())){
toJsonValue(QString("AFCReport"), afc_report, obj, QString("SWGAFCReport"));
}
@@ -263,6 +299,36 @@ SWGFeatureReport::setFeatureType(QString* feature_type) {
this->m_feature_type_isSet = true;
}
+SWGAISReport*
+SWGFeatureReport::getAisReport() {
+ return ais_report;
+}
+void
+SWGFeatureReport::setAisReport(SWGAISReport* ais_report) {
+ this->ais_report = ais_report;
+ this->m_ais_report_isSet = true;
+}
+
+SWGAPRSReport*
+SWGFeatureReport::getAprsReport() {
+ return aprs_report;
+}
+void
+SWGFeatureReport::setAprsReport(SWGAPRSReport* aprs_report) {
+ this->aprs_report = aprs_report;
+ this->m_aprs_report_isSet = true;
+}
+
+SWGRadiosondeReport*
+SWGFeatureReport::getRadiosondeReport() {
+ return radiosonde_report;
+}
+void
+SWGFeatureReport::setRadiosondeReport(SWGRadiosondeReport* radiosonde_report) {
+ this->radiosonde_report = radiosonde_report;
+ this->m_radiosonde_report_isSet = true;
+}
+
SWGAFCReport*
SWGFeatureReport::getAfcReport() {
return afc_report;
@@ -411,6 +477,15 @@ SWGFeatureReport::isSet(){
if(feature_type && *feature_type != QString("")){
isObjectUpdated = true; break;
}
+ if(ais_report && ais_report->isSet()){
+ isObjectUpdated = true; break;
+ }
+ if(aprs_report && aprs_report->isSet()){
+ isObjectUpdated = true; break;
+ }
+ if(radiosonde_report && radiosonde_report->isSet()){
+ isObjectUpdated = true; break;
+ }
if(afc_report && afc_report->isSet()){
isObjectUpdated = true; break;
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGFeatureReport.h b/swagger/sdrangel/code/qt5/client/SWGFeatureReport.h
index ea455ddfc..9a19cf301 100644
--- a/swagger/sdrangel/code/qt5/client/SWGFeatureReport.h
+++ b/swagger/sdrangel/code/qt5/client/SWGFeatureReport.h
@@ -23,13 +23,16 @@
#include "SWGAFCReport.h"
+#include "SWGAISReport.h"
#include "SWGAMBEReport.h"
+#include "SWGAPRSReport.h"
#include "SWGFreqDisplayReport.h"
#include "SWGGS232ControllerReport.h"
#include "SWGLimeRFEReport.h"
#include "SWGMCPServerReport.h"
#include "SWGMapReport.h"
#include "SWGPERTesterReport.h"
+#include "SWGRadiosondeReport.h"
#include "SWGRigCtlServerReport.h"
#include "SWGSatelliteTrackerReport.h"
#include "SWGSimplePTTReport.h"
@@ -59,6 +62,15 @@ public:
QString* getFeatureType();
void setFeatureType(QString* feature_type);
+ SWGAISReport* getAisReport();
+ void setAisReport(SWGAISReport* ais_report);
+
+ SWGAPRSReport* getAprsReport();
+ void setAprsReport(SWGAPRSReport* aprs_report);
+
+ SWGRadiosondeReport* getRadiosondeReport();
+ void setRadiosondeReport(SWGRadiosondeReport* radiosonde_report);
+
SWGAFCReport* getAfcReport();
void setAfcReport(SWGAFCReport* afc_report);
@@ -108,6 +120,15 @@ private:
QString* feature_type;
bool m_feature_type_isSet;
+ SWGAISReport* ais_report;
+ bool m_ais_report_isSet;
+
+ SWGAPRSReport* aprs_report;
+ bool m_aprs_report_isSet;
+
+ SWGRadiosondeReport* radiosonde_report;
+ bool m_radiosonde_report_isSet;
+
SWGAFCReport* afc_report;
bool m_afc_report_isSet;
diff --git a/swagger/sdrangel/code/qt5/client/SWGGLSpectrum.cpp b/swagger/sdrangel/code/qt5/client/SWGGLSpectrum.cpp
index 61eaf5c0e..91829d573 100644
--- a/swagger/sdrangel/code/qt5/client/SWGGLSpectrum.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGGLSpectrum.cpp
@@ -42,6 +42,68 @@ SWGGLSpectrum::SWGGLSpectrum() {
m_fps_period_ms_isSet = false;
display_waterfall = 0;
m_display_waterfall_isSet = false;
+ display3_d_spectrogram = 0;
+ m_display3_d_spectrogram_isSet = false;
+ spectrogram_style = 0;
+ m_spectrogram_style_isSet = false;
+ truncate_freq_scale = 0;
+ m_truncate_freq_scale_isSet = false;
+ color_map = nullptr;
+ m_color_map_isSet = false;
+ spectrum_style = 0;
+ m_spectrum_style_isSet = false;
+ measurement = 0;
+ m_measurement_isSet = false;
+ measurement_center_frequency_offset = 0;
+ m_measurement_center_frequency_offset_isSet = false;
+ measurement_bandwidth = 0;
+ m_measurement_bandwidth_isSet = false;
+ measurement_ch_spacing = 0;
+ m_measurement_ch_spacing_isSet = false;
+ measurement_adj_ch_bandwidth = 0;
+ m_measurement_adj_ch_bandwidth_isSet = false;
+ measurement_harmonics = 0;
+ m_measurement_harmonics_isSet = false;
+ measurement_peaks = 0;
+ m_measurement_peaks_isSet = false;
+ measurement_highlight = 0;
+ m_measurement_highlight_isSet = false;
+ measurements_position = 0;
+ m_measurements_position_isSet = false;
+ measurement_precision = 0;
+ m_measurement_precision_isSet = false;
+ find_histogram_peaks = 0;
+ m_find_histogram_peaks_isSet = false;
+ show_controls = 0;
+ m_show_controls_isSet = false;
+ frequency_zoom_factor = nullptr;
+ m_frequency_zoom_factor_isSet = false;
+ frequency_zoom_pos = nullptr;
+ m_frequency_zoom_pos_isSet = false;
+ waterfall_time_units = 0;
+ m_waterfall_time_units_isSet = false;
+ waterfall_time_format = nullptr;
+ m_waterfall_time_format_isSet = false;
+ scroll_bar = 0;
+ m_scroll_bar_isSet = false;
+ scroll_length = 0;
+ m_scroll_length_isSet = false;
+ math_mode = 0;
+ m_math_mode_isSet = false;
+ math_avg_count = 0;
+ m_math_avg_count_isSet = false;
+ measurement_mem_masks = 0;
+ m_measurement_mem_masks_isSet = false;
+ display_rbw = 0;
+ m_display_rbw_isSet = false;
+ display_cursor_stats = 0;
+ m_display_cursor_stats_isSet = false;
+ display_peak_stats = 0;
+ m_display_peak_stats_isSet = false;
+ spectrum_memory = nullptr;
+ m_spectrum_memory_isSet = false;
+ spectrum_color = 0;
+ m_spectrum_color_isSet = false;
inverted_waterfall = 0;
m_inverted_waterfall_isSet = false;
display_max_hold = 0;
@@ -90,6 +152,8 @@ SWGGLSpectrum::SWGGLSpectrum() {
m_histogram_markers_isSet = false;
waterfall_markers = nullptr;
m_waterfall_markers_isSet = false;
+ annotation_markers_mode = 0;
+ m_annotation_markers_mode_isSet = false;
annotation_markers = nullptr;
m_annotation_markers_isSet = false;
calibration_points = nullptr;
@@ -116,6 +180,68 @@ SWGGLSpectrum::init() {
m_fps_period_ms_isSet = false;
display_waterfall = 0;
m_display_waterfall_isSet = false;
+ display3_d_spectrogram = 0;
+ m_display3_d_spectrogram_isSet = false;
+ spectrogram_style = 0;
+ m_spectrogram_style_isSet = false;
+ truncate_freq_scale = 0;
+ m_truncate_freq_scale_isSet = false;
+ color_map = new QString("");
+ m_color_map_isSet = false;
+ spectrum_style = 0;
+ m_spectrum_style_isSet = false;
+ measurement = 0;
+ m_measurement_isSet = false;
+ measurement_center_frequency_offset = 0;
+ m_measurement_center_frequency_offset_isSet = false;
+ measurement_bandwidth = 0;
+ m_measurement_bandwidth_isSet = false;
+ measurement_ch_spacing = 0;
+ m_measurement_ch_spacing_isSet = false;
+ measurement_adj_ch_bandwidth = 0;
+ m_measurement_adj_ch_bandwidth_isSet = false;
+ measurement_harmonics = 0;
+ m_measurement_harmonics_isSet = false;
+ measurement_peaks = 0;
+ m_measurement_peaks_isSet = false;
+ measurement_highlight = 0;
+ m_measurement_highlight_isSet = false;
+ measurements_position = 0;
+ m_measurements_position_isSet = false;
+ measurement_precision = 0;
+ m_measurement_precision_isSet = false;
+ find_histogram_peaks = 0;
+ m_find_histogram_peaks_isSet = false;
+ show_controls = 0;
+ m_show_controls_isSet = false;
+ frequency_zoom_factor = 0.0;
+ m_frequency_zoom_factor_isSet = false;
+ frequency_zoom_pos = 0.0;
+ m_frequency_zoom_pos_isSet = false;
+ waterfall_time_units = 0;
+ m_waterfall_time_units_isSet = false;
+ waterfall_time_format = new QString("");
+ m_waterfall_time_format_isSet = false;
+ scroll_bar = 0;
+ m_scroll_bar_isSet = false;
+ scroll_length = 0;
+ m_scroll_length_isSet = false;
+ math_mode = 0;
+ m_math_mode_isSet = false;
+ math_avg_count = 0;
+ m_math_avg_count_isSet = false;
+ measurement_mem_masks = 0;
+ m_measurement_mem_masks_isSet = false;
+ display_rbw = 0;
+ m_display_rbw_isSet = false;
+ display_cursor_stats = 0;
+ m_display_cursor_stats_isSet = false;
+ display_peak_stats = 0;
+ m_display_peak_stats_isSet = false;
+ spectrum_memory = new QList();
+ m_spectrum_memory_isSet = false;
+ spectrum_color = 0;
+ m_spectrum_color_isSet = false;
inverted_waterfall = 0;
m_inverted_waterfall_isSet = false;
display_max_hold = 0;
@@ -164,6 +290,8 @@ SWGGLSpectrum::init() {
m_histogram_markers_isSet = false;
waterfall_markers = new QList();
m_waterfall_markers_isSet = false;
+ annotation_markers_mode = 0;
+ m_annotation_markers_mode_isSet = false;
annotation_markers = new QList();
m_annotation_markers_isSet = false;
calibration_points = new QList();
@@ -182,6 +310,51 @@ SWGGLSpectrum::cleanup() {
+ if(color_map != nullptr) {
+ delete color_map;
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+ if(frequency_zoom_factor != nullptr) {
+ delete frequency_zoom_factor;
+ }
+ if(frequency_zoom_pos != nullptr) {
+ delete frequency_zoom_pos;
+ }
+
+ if(waterfall_time_format != nullptr) {
+ delete waterfall_time_format;
+ }
+
+
+
+
+
+
+
+
+ if(spectrum_memory != nullptr) {
+ auto arr = spectrum_memory;
+ for(auto o: *arr) {
+ delete o;
+ }
+ delete spectrum_memory;
+ }
+
+
+
+
@@ -217,6 +390,7 @@ SWGGLSpectrum::cleanup() {
}
delete waterfall_markers;
}
+
if(annotation_markers != nullptr) {
auto arr = annotation_markers;
for(auto o: *arr) {
@@ -258,6 +432,68 @@ SWGGLSpectrum::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&display_waterfall, pJson["displayWaterfall"], "qint32", "");
+ ::SWGSDRangel::setValue(&display3_d_spectrogram, pJson["display3DSpectrogram"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&spectrogram_style, pJson["spectrogramStyle"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&truncate_freq_scale, pJson["truncateFreqScale"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&color_map, pJson["colorMap"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&spectrum_style, pJson["spectrumStyle"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&measurement, pJson["measurement"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&measurement_center_frequency_offset, pJson["measurementCenterFrequencyOffset"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&measurement_bandwidth, pJson["measurementBandwidth"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&measurement_ch_spacing, pJson["measurementChSpacing"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&measurement_adj_ch_bandwidth, pJson["measurementAdjChBandwidth"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&measurement_harmonics, pJson["measurementHarmonics"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&measurement_peaks, pJson["measurementPeaks"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&measurement_highlight, pJson["measurementHighlight"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&measurements_position, pJson["measurementsPosition"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&measurement_precision, pJson["measurementPrecision"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&find_histogram_peaks, pJson["findHistogramPeaks"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&show_controls, pJson["showControls"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&frequency_zoom_factor, pJson["frequencyZoomFactor"], "SWGNumber", "SWGNumber");
+
+ ::SWGSDRangel::setValue(&frequency_zoom_pos, pJson["frequencyZoomPos"], "SWGNumber", "SWGNumber");
+
+ ::SWGSDRangel::setValue(&waterfall_time_units, pJson["waterfallTimeUnits"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&waterfall_time_format, pJson["waterfallTimeFormat"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&scroll_bar, pJson["scrollBar"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&scroll_length, pJson["scrollLength"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&math_mode, pJson["mathMode"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&math_avg_count, pJson["mathAvgCount"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&measurement_mem_masks, pJson["measurementMemMasks"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_rbw, pJson["displayRBW"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_cursor_stats, pJson["displayCursorStats"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_peak_stats, pJson["displayPeakStats"], "qint32", "");
+
+
+ ::SWGSDRangel::setValue(&spectrum_memory, pJson["spectrumMemory"], "QList", "SWGSpectrumMemorySettings");
+ ::SWGSDRangel::setValue(&spectrum_color, pJson["spectrumColor"], "qint32", "");
+
::SWGSDRangel::setValue(&inverted_waterfall, pJson["invertedWaterfall"], "qint32", "");
::SWGSDRangel::setValue(&display_max_hold, pJson["displayMaxHold"], "qint32", "");
@@ -306,6 +542,8 @@ SWGGLSpectrum::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&histogram_markers, pJson["histogramMarkers"], "QList", "SWGSpectrumHistogramMarker");
::SWGSDRangel::setValue(&waterfall_markers, pJson["waterfallMarkers"], "QList", "SWGSpectrumWaterfallMarker");
+ ::SWGSDRangel::setValue(&annotation_markers_mode, pJson["annotationMarkersMode"], "qint32", "");
+
::SWGSDRangel::setValue(&annotation_markers, pJson["annotationMarkers"], "QList", "SWGSpectrumAnnotationMarker");
@@ -347,6 +585,99 @@ SWGGLSpectrum::asJsonObject() {
if(m_display_waterfall_isSet){
obj->insert("displayWaterfall", QJsonValue(display_waterfall));
}
+ if(m_display3_d_spectrogram_isSet){
+ obj->insert("display3DSpectrogram", QJsonValue(display3_d_spectrogram));
+ }
+ if(m_spectrogram_style_isSet){
+ obj->insert("spectrogramStyle", QJsonValue(spectrogram_style));
+ }
+ if(m_truncate_freq_scale_isSet){
+ obj->insert("truncateFreqScale", QJsonValue(truncate_freq_scale));
+ }
+ if(color_map != nullptr && *color_map != QString("")){
+ toJsonValue(QString("colorMap"), color_map, obj, QString("QString"));
+ }
+ if(m_spectrum_style_isSet){
+ obj->insert("spectrumStyle", QJsonValue(spectrum_style));
+ }
+ if(m_measurement_isSet){
+ obj->insert("measurement", QJsonValue(measurement));
+ }
+ if(m_measurement_center_frequency_offset_isSet){
+ obj->insert("measurementCenterFrequencyOffset", QJsonValue(measurement_center_frequency_offset));
+ }
+ if(m_measurement_bandwidth_isSet){
+ obj->insert("measurementBandwidth", QJsonValue(measurement_bandwidth));
+ }
+ if(m_measurement_ch_spacing_isSet){
+ obj->insert("measurementChSpacing", QJsonValue(measurement_ch_spacing));
+ }
+ if(m_measurement_adj_ch_bandwidth_isSet){
+ obj->insert("measurementAdjChBandwidth", QJsonValue(measurement_adj_ch_bandwidth));
+ }
+ if(m_measurement_harmonics_isSet){
+ obj->insert("measurementHarmonics", QJsonValue(measurement_harmonics));
+ }
+ if(m_measurement_peaks_isSet){
+ obj->insert("measurementPeaks", QJsonValue(measurement_peaks));
+ }
+ if(m_measurement_highlight_isSet){
+ obj->insert("measurementHighlight", QJsonValue(measurement_highlight));
+ }
+ if(m_measurements_position_isSet){
+ obj->insert("measurementsPosition", QJsonValue(measurements_position));
+ }
+ if(m_measurement_precision_isSet){
+ obj->insert("measurementPrecision", QJsonValue(measurement_precision));
+ }
+ if(m_find_histogram_peaks_isSet){
+ obj->insert("findHistogramPeaks", QJsonValue(find_histogram_peaks));
+ }
+ if(m_show_controls_isSet){
+ obj->insert("showControls", QJsonValue(show_controls));
+ }
+ if((frequency_zoom_factor != nullptr) && (frequency_zoom_factor->isSet())){
+ toJsonValue(QString("frequencyZoomFactor"), frequency_zoom_factor, obj, QString("SWGNumber"));
+ }
+ if((frequency_zoom_pos != nullptr) && (frequency_zoom_pos->isSet())){
+ toJsonValue(QString("frequencyZoomPos"), frequency_zoom_pos, obj, QString("SWGNumber"));
+ }
+ if(m_waterfall_time_units_isSet){
+ obj->insert("waterfallTimeUnits", QJsonValue(waterfall_time_units));
+ }
+ if(waterfall_time_format != nullptr && *waterfall_time_format != QString("")){
+ toJsonValue(QString("waterfallTimeFormat"), waterfall_time_format, obj, QString("QString"));
+ }
+ if(m_scroll_bar_isSet){
+ obj->insert("scrollBar", QJsonValue(scroll_bar));
+ }
+ if(m_scroll_length_isSet){
+ obj->insert("scrollLength", QJsonValue(scroll_length));
+ }
+ if(m_math_mode_isSet){
+ obj->insert("mathMode", QJsonValue(math_mode));
+ }
+ if(m_math_avg_count_isSet){
+ obj->insert("mathAvgCount", QJsonValue(math_avg_count));
+ }
+ if(m_measurement_mem_masks_isSet){
+ obj->insert("measurementMemMasks", QJsonValue(measurement_mem_masks));
+ }
+ if(m_display_rbw_isSet){
+ obj->insert("displayRBW", QJsonValue(display_rbw));
+ }
+ if(m_display_cursor_stats_isSet){
+ obj->insert("displayCursorStats", QJsonValue(display_cursor_stats));
+ }
+ if(m_display_peak_stats_isSet){
+ obj->insert("displayPeakStats", QJsonValue(display_peak_stats));
+ }
+ if(spectrum_memory && spectrum_memory->size() > 0){
+ toJsonArray((QList*)spectrum_memory, obj, "spectrumMemory", "SWGSpectrumMemorySettings");
+ }
+ if(m_spectrum_color_isSet){
+ obj->insert("spectrumColor", QJsonValue(spectrum_color));
+ }
if(m_inverted_waterfall_isSet){
obj->insert("invertedWaterfall", QJsonValue(inverted_waterfall));
}
@@ -419,6 +750,9 @@ SWGGLSpectrum::asJsonObject() {
if(waterfall_markers && waterfall_markers->size() > 0){
toJsonArray((QList*)waterfall_markers, obj, "waterfallMarkers", "SWGSpectrumWaterfallMarker");
}
+ if(m_annotation_markers_mode_isSet){
+ obj->insert("annotationMarkersMode", QJsonValue(annotation_markers_mode));
+ }
if(annotation_markers && annotation_markers->size() > 0){
toJsonArray((QList*)annotation_markers, obj, "annotationMarkers", "SWGSpectrumAnnotationMarker");
}
@@ -499,6 +833,316 @@ SWGGLSpectrum::setDisplayWaterfall(qint32 display_waterfall) {
this->m_display_waterfall_isSet = true;
}
+qint32
+SWGGLSpectrum::getDisplay3DSpectrogram() {
+ return display3_d_spectrogram;
+}
+void
+SWGGLSpectrum::setDisplay3DSpectrogram(qint32 display3_d_spectrogram) {
+ this->display3_d_spectrogram = display3_d_spectrogram;
+ this->m_display3_d_spectrogram_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getSpectrogramStyle() {
+ return spectrogram_style;
+}
+void
+SWGGLSpectrum::setSpectrogramStyle(qint32 spectrogram_style) {
+ this->spectrogram_style = spectrogram_style;
+ this->m_spectrogram_style_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getTruncateFreqScale() {
+ return truncate_freq_scale;
+}
+void
+SWGGLSpectrum::setTruncateFreqScale(qint32 truncate_freq_scale) {
+ this->truncate_freq_scale = truncate_freq_scale;
+ this->m_truncate_freq_scale_isSet = true;
+}
+
+QString*
+SWGGLSpectrum::getColorMap() {
+ return color_map;
+}
+void
+SWGGLSpectrum::setColorMap(QString* color_map) {
+ this->color_map = color_map;
+ this->m_color_map_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getSpectrumStyle() {
+ return spectrum_style;
+}
+void
+SWGGLSpectrum::setSpectrumStyle(qint32 spectrum_style) {
+ this->spectrum_style = spectrum_style;
+ this->m_spectrum_style_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMeasurement() {
+ return measurement;
+}
+void
+SWGGLSpectrum::setMeasurement(qint32 measurement) {
+ this->measurement = measurement;
+ this->m_measurement_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMeasurementCenterFrequencyOffset() {
+ return measurement_center_frequency_offset;
+}
+void
+SWGGLSpectrum::setMeasurementCenterFrequencyOffset(qint32 measurement_center_frequency_offset) {
+ this->measurement_center_frequency_offset = measurement_center_frequency_offset;
+ this->m_measurement_center_frequency_offset_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMeasurementBandwidth() {
+ return measurement_bandwidth;
+}
+void
+SWGGLSpectrum::setMeasurementBandwidth(qint32 measurement_bandwidth) {
+ this->measurement_bandwidth = measurement_bandwidth;
+ this->m_measurement_bandwidth_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMeasurementChSpacing() {
+ return measurement_ch_spacing;
+}
+void
+SWGGLSpectrum::setMeasurementChSpacing(qint32 measurement_ch_spacing) {
+ this->measurement_ch_spacing = measurement_ch_spacing;
+ this->m_measurement_ch_spacing_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMeasurementAdjChBandwidth() {
+ return measurement_adj_ch_bandwidth;
+}
+void
+SWGGLSpectrum::setMeasurementAdjChBandwidth(qint32 measurement_adj_ch_bandwidth) {
+ this->measurement_adj_ch_bandwidth = measurement_adj_ch_bandwidth;
+ this->m_measurement_adj_ch_bandwidth_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMeasurementHarmonics() {
+ return measurement_harmonics;
+}
+void
+SWGGLSpectrum::setMeasurementHarmonics(qint32 measurement_harmonics) {
+ this->measurement_harmonics = measurement_harmonics;
+ this->m_measurement_harmonics_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMeasurementPeaks() {
+ return measurement_peaks;
+}
+void
+SWGGLSpectrum::setMeasurementPeaks(qint32 measurement_peaks) {
+ this->measurement_peaks = measurement_peaks;
+ this->m_measurement_peaks_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMeasurementHighlight() {
+ return measurement_highlight;
+}
+void
+SWGGLSpectrum::setMeasurementHighlight(qint32 measurement_highlight) {
+ this->measurement_highlight = measurement_highlight;
+ this->m_measurement_highlight_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMeasurementsPosition() {
+ return measurements_position;
+}
+void
+SWGGLSpectrum::setMeasurementsPosition(qint32 measurements_position) {
+ this->measurements_position = measurements_position;
+ this->m_measurements_position_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMeasurementPrecision() {
+ return measurement_precision;
+}
+void
+SWGGLSpectrum::setMeasurementPrecision(qint32 measurement_precision) {
+ this->measurement_precision = measurement_precision;
+ this->m_measurement_precision_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getFindHistogramPeaks() {
+ return find_histogram_peaks;
+}
+void
+SWGGLSpectrum::setFindHistogramPeaks(qint32 find_histogram_peaks) {
+ this->find_histogram_peaks = find_histogram_peaks;
+ this->m_find_histogram_peaks_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getShowControls() {
+ return show_controls;
+}
+void
+SWGGLSpectrum::setShowControls(qint32 show_controls) {
+ this->show_controls = show_controls;
+ this->m_show_controls_isSet = true;
+}
+
+SWGNumber*
+SWGGLSpectrum::getFrequencyZoomFactor() {
+ return frequency_zoom_factor;
+}
+void
+SWGGLSpectrum::setFrequencyZoomFactor(SWGNumber* frequency_zoom_factor) {
+ this->frequency_zoom_factor = frequency_zoom_factor;
+ this->m_frequency_zoom_factor_isSet = true;
+}
+
+SWGNumber*
+SWGGLSpectrum::getFrequencyZoomPos() {
+ return frequency_zoom_pos;
+}
+void
+SWGGLSpectrum::setFrequencyZoomPos(SWGNumber* frequency_zoom_pos) {
+ this->frequency_zoom_pos = frequency_zoom_pos;
+ this->m_frequency_zoom_pos_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getWaterfallTimeUnits() {
+ return waterfall_time_units;
+}
+void
+SWGGLSpectrum::setWaterfallTimeUnits(qint32 waterfall_time_units) {
+ this->waterfall_time_units = waterfall_time_units;
+ this->m_waterfall_time_units_isSet = true;
+}
+
+QString*
+SWGGLSpectrum::getWaterfallTimeFormat() {
+ return waterfall_time_format;
+}
+void
+SWGGLSpectrum::setWaterfallTimeFormat(QString* waterfall_time_format) {
+ this->waterfall_time_format = waterfall_time_format;
+ this->m_waterfall_time_format_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getScrollBar() {
+ return scroll_bar;
+}
+void
+SWGGLSpectrum::setScrollBar(qint32 scroll_bar) {
+ this->scroll_bar = scroll_bar;
+ this->m_scroll_bar_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getScrollLength() {
+ return scroll_length;
+}
+void
+SWGGLSpectrum::setScrollLength(qint32 scroll_length) {
+ this->scroll_length = scroll_length;
+ this->m_scroll_length_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMathMode() {
+ return math_mode;
+}
+void
+SWGGLSpectrum::setMathMode(qint32 math_mode) {
+ this->math_mode = math_mode;
+ this->m_math_mode_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMathAvgCount() {
+ return math_avg_count;
+}
+void
+SWGGLSpectrum::setMathAvgCount(qint32 math_avg_count) {
+ this->math_avg_count = math_avg_count;
+ this->m_math_avg_count_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getMeasurementMemMasks() {
+ return measurement_mem_masks;
+}
+void
+SWGGLSpectrum::setMeasurementMemMasks(qint32 measurement_mem_masks) {
+ this->measurement_mem_masks = measurement_mem_masks;
+ this->m_measurement_mem_masks_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getDisplayRbw() {
+ return display_rbw;
+}
+void
+SWGGLSpectrum::setDisplayRbw(qint32 display_rbw) {
+ this->display_rbw = display_rbw;
+ this->m_display_rbw_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getDisplayCursorStats() {
+ return display_cursor_stats;
+}
+void
+SWGGLSpectrum::setDisplayCursorStats(qint32 display_cursor_stats) {
+ this->display_cursor_stats = display_cursor_stats;
+ this->m_display_cursor_stats_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getDisplayPeakStats() {
+ return display_peak_stats;
+}
+void
+SWGGLSpectrum::setDisplayPeakStats(qint32 display_peak_stats) {
+ this->display_peak_stats = display_peak_stats;
+ this->m_display_peak_stats_isSet = true;
+}
+
+QList*
+SWGGLSpectrum::getSpectrumMemory() {
+ return spectrum_memory;
+}
+void
+SWGGLSpectrum::setSpectrumMemory(QList* spectrum_memory) {
+ this->spectrum_memory = spectrum_memory;
+ this->m_spectrum_memory_isSet = true;
+}
+
+qint32
+SWGGLSpectrum::getSpectrumColor() {
+ return spectrum_color;
+}
+void
+SWGGLSpectrum::setSpectrumColor(qint32 spectrum_color) {
+ this->spectrum_color = spectrum_color;
+ this->m_spectrum_color_isSet = true;
+}
+
qint32
SWGGLSpectrum::getInvertedWaterfall() {
return inverted_waterfall;
@@ -739,6 +1383,16 @@ SWGGLSpectrum::setWaterfallMarkers(QList* waterfall
this->m_waterfall_markers_isSet = true;
}
+qint32
+SWGGLSpectrum::getAnnotationMarkersMode() {
+ return annotation_markers_mode;
+}
+void
+SWGGLSpectrum::setAnnotationMarkersMode(qint32 annotation_markers_mode) {
+ this->annotation_markers_mode = annotation_markers_mode;
+ this->m_annotation_markers_mode_isSet = true;
+}
+
QList*
SWGGLSpectrum::getAnnotationMarkers() {
return annotation_markers;
@@ -785,6 +1439,99 @@ SWGGLSpectrum::isSet(){
if(m_display_waterfall_isSet){
isObjectUpdated = true; break;
}
+ if(m_display3_d_spectrogram_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_spectrogram_style_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_truncate_freq_scale_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(color_map && *color_map != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_spectrum_style_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_measurement_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_measurement_center_frequency_offset_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_measurement_bandwidth_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_measurement_ch_spacing_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_measurement_adj_ch_bandwidth_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_measurement_harmonics_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_measurement_peaks_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_measurement_highlight_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_measurements_position_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_measurement_precision_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_find_histogram_peaks_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_show_controls_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(frequency_zoom_factor && frequency_zoom_factor->isSet()){
+ isObjectUpdated = true; break;
+ }
+ if(frequency_zoom_pos && frequency_zoom_pos->isSet()){
+ isObjectUpdated = true; break;
+ }
+ if(m_waterfall_time_units_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(waterfall_time_format && *waterfall_time_format != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_scroll_bar_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_scroll_length_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_math_mode_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_math_avg_count_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_measurement_mem_masks_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_rbw_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_cursor_stats_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_peak_stats_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(spectrum_memory && (spectrum_memory->size() > 0)){
+ isObjectUpdated = true; break;
+ }
+ if(m_spectrum_color_isSet){
+ isObjectUpdated = true; break;
+ }
if(m_inverted_waterfall_isSet){
isObjectUpdated = true; break;
}
@@ -857,6 +1604,9 @@ SWGGLSpectrum::isSet(){
if(waterfall_markers && (waterfall_markers->size() > 0)){
isObjectUpdated = true; break;
}
+ if(m_annotation_markers_mode_isSet){
+ isObjectUpdated = true; break;
+ }
if(annotation_markers && (annotation_markers->size() > 0)){
isObjectUpdated = true; break;
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGGLSpectrum.h b/swagger/sdrangel/code/qt5/client/SWGGLSpectrum.h
index c7af51130..2c62419c7 100644
--- a/swagger/sdrangel/code/qt5/client/SWGGLSpectrum.h
+++ b/swagger/sdrangel/code/qt5/client/SWGGLSpectrum.h
@@ -22,9 +22,11 @@
#include
+#include "SWGNumber.h"
#include "SWGSpectrumAnnotationMarker.h"
#include "SWGSpectrumCalibrationPoint.h"
#include "SWGSpectrumHistogramMarker.h"
+#include "SWGSpectrumMemorySettings.h"
#include "SWGSpectrumWaterfallMarker.h"
#include
#include
@@ -68,6 +70,99 @@ public:
qint32 getDisplayWaterfall();
void setDisplayWaterfall(qint32 display_waterfall);
+ qint32 getDisplay3DSpectrogram();
+ void setDisplay3DSpectrogram(qint32 display3_d_spectrogram);
+
+ qint32 getSpectrogramStyle();
+ void setSpectrogramStyle(qint32 spectrogram_style);
+
+ qint32 getTruncateFreqScale();
+ void setTruncateFreqScale(qint32 truncate_freq_scale);
+
+ QString* getColorMap();
+ void setColorMap(QString* color_map);
+
+ qint32 getSpectrumStyle();
+ void setSpectrumStyle(qint32 spectrum_style);
+
+ qint32 getMeasurement();
+ void setMeasurement(qint32 measurement);
+
+ qint32 getMeasurementCenterFrequencyOffset();
+ void setMeasurementCenterFrequencyOffset(qint32 measurement_center_frequency_offset);
+
+ qint32 getMeasurementBandwidth();
+ void setMeasurementBandwidth(qint32 measurement_bandwidth);
+
+ qint32 getMeasurementChSpacing();
+ void setMeasurementChSpacing(qint32 measurement_ch_spacing);
+
+ qint32 getMeasurementAdjChBandwidth();
+ void setMeasurementAdjChBandwidth(qint32 measurement_adj_ch_bandwidth);
+
+ qint32 getMeasurementHarmonics();
+ void setMeasurementHarmonics(qint32 measurement_harmonics);
+
+ qint32 getMeasurementPeaks();
+ void setMeasurementPeaks(qint32 measurement_peaks);
+
+ qint32 getMeasurementHighlight();
+ void setMeasurementHighlight(qint32 measurement_highlight);
+
+ qint32 getMeasurementsPosition();
+ void setMeasurementsPosition(qint32 measurements_position);
+
+ qint32 getMeasurementPrecision();
+ void setMeasurementPrecision(qint32 measurement_precision);
+
+ qint32 getFindHistogramPeaks();
+ void setFindHistogramPeaks(qint32 find_histogram_peaks);
+
+ qint32 getShowControls();
+ void setShowControls(qint32 show_controls);
+
+ SWGNumber* getFrequencyZoomFactor();
+ void setFrequencyZoomFactor(SWGNumber* frequency_zoom_factor);
+
+ SWGNumber* getFrequencyZoomPos();
+ void setFrequencyZoomPos(SWGNumber* frequency_zoom_pos);
+
+ qint32 getWaterfallTimeUnits();
+ void setWaterfallTimeUnits(qint32 waterfall_time_units);
+
+ QString* getWaterfallTimeFormat();
+ void setWaterfallTimeFormat(QString* waterfall_time_format);
+
+ qint32 getScrollBar();
+ void setScrollBar(qint32 scroll_bar);
+
+ qint32 getScrollLength();
+ void setScrollLength(qint32 scroll_length);
+
+ qint32 getMathMode();
+ void setMathMode(qint32 math_mode);
+
+ qint32 getMathAvgCount();
+ void setMathAvgCount(qint32 math_avg_count);
+
+ qint32 getMeasurementMemMasks();
+ void setMeasurementMemMasks(qint32 measurement_mem_masks);
+
+ qint32 getDisplayRbw();
+ void setDisplayRbw(qint32 display_rbw);
+
+ qint32 getDisplayCursorStats();
+ void setDisplayCursorStats(qint32 display_cursor_stats);
+
+ qint32 getDisplayPeakStats();
+ void setDisplayPeakStats(qint32 display_peak_stats);
+
+ QList* getSpectrumMemory();
+ void setSpectrumMemory(QList* spectrum_memory);
+
+ qint32 getSpectrumColor();
+ void setSpectrumColor(qint32 spectrum_color);
+
qint32 getInvertedWaterfall();
void setInvertedWaterfall(qint32 inverted_waterfall);
@@ -140,6 +235,9 @@ public:
QList* getWaterfallMarkers();
void setWaterfallMarkers(QList* waterfall_markers);
+ qint32 getAnnotationMarkersMode();
+ void setAnnotationMarkersMode(qint32 annotation_markers_mode);
+
QList* getAnnotationMarkers();
void setAnnotationMarkers(QList* annotation_markers);
@@ -171,6 +269,99 @@ private:
qint32 display_waterfall;
bool m_display_waterfall_isSet;
+ qint32 display3_d_spectrogram;
+ bool m_display3_d_spectrogram_isSet;
+
+ qint32 spectrogram_style;
+ bool m_spectrogram_style_isSet;
+
+ qint32 truncate_freq_scale;
+ bool m_truncate_freq_scale_isSet;
+
+ QString* color_map;
+ bool m_color_map_isSet;
+
+ qint32 spectrum_style;
+ bool m_spectrum_style_isSet;
+
+ qint32 measurement;
+ bool m_measurement_isSet;
+
+ qint32 measurement_center_frequency_offset;
+ bool m_measurement_center_frequency_offset_isSet;
+
+ qint32 measurement_bandwidth;
+ bool m_measurement_bandwidth_isSet;
+
+ qint32 measurement_ch_spacing;
+ bool m_measurement_ch_spacing_isSet;
+
+ qint32 measurement_adj_ch_bandwidth;
+ bool m_measurement_adj_ch_bandwidth_isSet;
+
+ qint32 measurement_harmonics;
+ bool m_measurement_harmonics_isSet;
+
+ qint32 measurement_peaks;
+ bool m_measurement_peaks_isSet;
+
+ qint32 measurement_highlight;
+ bool m_measurement_highlight_isSet;
+
+ qint32 measurements_position;
+ bool m_measurements_position_isSet;
+
+ qint32 measurement_precision;
+ bool m_measurement_precision_isSet;
+
+ qint32 find_histogram_peaks;
+ bool m_find_histogram_peaks_isSet;
+
+ qint32 show_controls;
+ bool m_show_controls_isSet;
+
+ SWGNumber* frequency_zoom_factor;
+ bool m_frequency_zoom_factor_isSet;
+
+ SWGNumber* frequency_zoom_pos;
+ bool m_frequency_zoom_pos_isSet;
+
+ qint32 waterfall_time_units;
+ bool m_waterfall_time_units_isSet;
+
+ QString* waterfall_time_format;
+ bool m_waterfall_time_format_isSet;
+
+ qint32 scroll_bar;
+ bool m_scroll_bar_isSet;
+
+ qint32 scroll_length;
+ bool m_scroll_length_isSet;
+
+ qint32 math_mode;
+ bool m_math_mode_isSet;
+
+ qint32 math_avg_count;
+ bool m_math_avg_count_isSet;
+
+ qint32 measurement_mem_masks;
+ bool m_measurement_mem_masks_isSet;
+
+ qint32 display_rbw;
+ bool m_display_rbw_isSet;
+
+ qint32 display_cursor_stats;
+ bool m_display_cursor_stats_isSet;
+
+ qint32 display_peak_stats;
+ bool m_display_peak_stats_isSet;
+
+ QList* spectrum_memory;
+ bool m_spectrum_memory_isSet;
+
+ qint32 spectrum_color;
+ bool m_spectrum_color_isSet;
+
qint32 inverted_waterfall;
bool m_inverted_waterfall_isSet;
@@ -243,6 +434,9 @@ private:
QList* waterfall_markers;
bool m_waterfall_markers_isSet;
+ qint32 annotation_markers_mode;
+ bool m_annotation_markers_mode_isSet;
+
QList* annotation_markers;
bool m_annotation_markers_isSet;
diff --git a/swagger/sdrangel/code/qt5/client/SWGMapSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGMapSettings.cpp
index 336f11aa6..3304e66f3 100644
--- a/swagger/sdrangel/code/qt5/client/SWGMapSettings.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGMapSettings.cpp
@@ -30,8 +30,76 @@ SWGMapSettings::SWGMapSettings(QString* json) {
SWGMapSettings::SWGMapSettings() {
display_names = 0;
m_display_names_isSet = false;
+ map2_d_enabled = 0;
+ m_map2_d_enabled_isSet = false;
+ map3_d_enabled = 0;
+ m_map3_d_enabled_isSet = false;
+ map_provider = nullptr;
+ m_map_provider_isSet = false;
+ map_type = nullptr;
+ m_map_type_isSet = false;
+ osm_url = nullptr;
+ m_osm_url_isSet = false;
+ map_box_styles = nullptr;
+ m_map_box_styles_isSet = false;
+ display_selected_ground_tracks = 0;
+ m_display_selected_ground_tracks_isSet = false;
+ display_all_ground_tracks = 0;
+ m_display_all_ground_tracks_isSet = false;
terrain = nullptr;
m_terrain_isSet = false;
+ buildings = nullptr;
+ m_buildings_isSet = false;
+ sun_light_enabled = 0;
+ m_sun_light_enabled_isSet = false;
+ light_intensity = nullptr;
+ m_light_intensity_isSet = false;
+ eci_camera = 0;
+ m_eci_camera_isSet = false;
+ fxaa = 0;
+ m_fxaa_isSet = false;
+ msaa = 0;
+ m_msaa_isSet = false;
+ terrain_lighting = 0;
+ m_terrain_lighting_isSet = false;
+ water = 0;
+ m_water_isSet = false;
+ hdr = 0;
+ m_hdr_isSet = false;
+ fog = 0;
+ m_fog_isSet = false;
+ fps = 0;
+ m_fps_isSet = false;
+ display_muf = 0;
+ m_display_muf_isSet = false;
+ displayfo_f2 = 0;
+ m_displayfo_f2_isSet = false;
+ display_rain = 0;
+ m_display_rain_isSet = false;
+ display_clouds = 0;
+ m_display_clouds_isSet = false;
+ display_sea_marks = 0;
+ m_display_sea_marks_isSet = false;
+ display_railways = 0;
+ m_display_railways_isSet = false;
+ display_nasa_global_imagery = 0;
+ m_display_nasa_global_imagery_isSet = false;
+ nasa_global_imagery_identifier = nullptr;
+ m_nasa_global_imagery_identifier_isSet = false;
+ nasa_global_imagery_opacity = 0;
+ m_nasa_global_imagery_opacity_isSet = false;
+ display_aurora = 0;
+ m_display_aurora_isSet = false;
+ display_mag_dec = 0;
+ m_display_mag_dec_isSet = false;
+ display_maidenhead_grid = 0;
+ m_display_maidenhead_grid_isSet = false;
+ display_pfd = 0;
+ m_display_pfd_isSet = false;
+ view_first_person = 0;
+ m_view_first_person_isSet = false;
+ default_imagery = nullptr;
+ m_default_imagery_isSet = false;
title = nullptr;
m_title_isSet = false;
rgb_color = 0;
@@ -58,8 +126,76 @@ void
SWGMapSettings::init() {
display_names = 0;
m_display_names_isSet = false;
+ map2_d_enabled = 0;
+ m_map2_d_enabled_isSet = false;
+ map3_d_enabled = 0;
+ m_map3_d_enabled_isSet = false;
+ map_provider = new QString("");
+ m_map_provider_isSet = false;
+ map_type = new QString("");
+ m_map_type_isSet = false;
+ osm_url = new QString("");
+ m_osm_url_isSet = false;
+ map_box_styles = new QString("");
+ m_map_box_styles_isSet = false;
+ display_selected_ground_tracks = 0;
+ m_display_selected_ground_tracks_isSet = false;
+ display_all_ground_tracks = 0;
+ m_display_all_ground_tracks_isSet = false;
terrain = new QString("");
m_terrain_isSet = false;
+ buildings = new QString("");
+ m_buildings_isSet = false;
+ sun_light_enabled = 0;
+ m_sun_light_enabled_isSet = false;
+ light_intensity = 0.0;
+ m_light_intensity_isSet = false;
+ eci_camera = 0;
+ m_eci_camera_isSet = false;
+ fxaa = 0;
+ m_fxaa_isSet = false;
+ msaa = 0;
+ m_msaa_isSet = false;
+ terrain_lighting = 0;
+ m_terrain_lighting_isSet = false;
+ water = 0;
+ m_water_isSet = false;
+ hdr = 0;
+ m_hdr_isSet = false;
+ fog = 0;
+ m_fog_isSet = false;
+ fps = 0;
+ m_fps_isSet = false;
+ display_muf = 0;
+ m_display_muf_isSet = false;
+ displayfo_f2 = 0;
+ m_displayfo_f2_isSet = false;
+ display_rain = 0;
+ m_display_rain_isSet = false;
+ display_clouds = 0;
+ m_display_clouds_isSet = false;
+ display_sea_marks = 0;
+ m_display_sea_marks_isSet = false;
+ display_railways = 0;
+ m_display_railways_isSet = false;
+ display_nasa_global_imagery = 0;
+ m_display_nasa_global_imagery_isSet = false;
+ nasa_global_imagery_identifier = new QString("");
+ m_nasa_global_imagery_identifier_isSet = false;
+ nasa_global_imagery_opacity = 0;
+ m_nasa_global_imagery_opacity_isSet = false;
+ display_aurora = 0;
+ m_display_aurora_isSet = false;
+ display_mag_dec = 0;
+ m_display_mag_dec_isSet = false;
+ display_maidenhead_grid = 0;
+ m_display_maidenhead_grid_isSet = false;
+ display_pfd = 0;
+ m_display_pfd_isSet = false;
+ view_first_person = 0;
+ m_view_first_person_isSet = false;
+ default_imagery = new QString("");
+ m_default_imagery_isSet = false;
title = new QString("");
m_title_isSet = false;
rgb_color = 0;
@@ -81,9 +217,59 @@ SWGMapSettings::init() {
void
SWGMapSettings::cleanup() {
+
+
+ if(map_provider != nullptr) {
+ delete map_provider;
+ }
+ if(map_type != nullptr) {
+ delete map_type;
+ }
+ if(osm_url != nullptr) {
+ delete osm_url;
+ }
+ if(map_box_styles != nullptr) {
+ delete map_box_styles;
+ }
+
+
if(terrain != nullptr) {
delete terrain;
}
+ if(buildings != nullptr) {
+ delete buildings;
+ }
+
+ if(light_intensity != nullptr) {
+ delete light_intensity;
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ if(nasa_global_imagery_identifier != nullptr) {
+ delete nasa_global_imagery_identifier;
+ }
+
+
+
+
+
+
+ if(default_imagery != nullptr) {
+ delete default_imagery;
+ }
if(title != nullptr) {
delete title;
}
@@ -113,8 +299,76 @@ void
SWGMapSettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&display_names, pJson["displayNames"], "qint32", "");
+ ::SWGSDRangel::setValue(&map2_d_enabled, pJson["map2DEnabled"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&map3_d_enabled, pJson["map3DEnabled"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&map_provider, pJson["mapProvider"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&map_type, pJson["mapType"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&osm_url, pJson["osmURL"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&map_box_styles, pJson["mapBoxStyles"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&display_selected_ground_tracks, pJson["displaySelectedGroundTracks"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_all_ground_tracks, pJson["displayAllGroundTracks"], "qint32", "");
+
::SWGSDRangel::setValue(&terrain, pJson["terrain"], "QString", "QString");
+ ::SWGSDRangel::setValue(&buildings, pJson["buildings"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&sun_light_enabled, pJson["sunLightEnabled"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&light_intensity, pJson["lightIntensity"], "SWGNumber", "SWGNumber");
+
+ ::SWGSDRangel::setValue(&eci_camera, pJson["eciCamera"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&fxaa, pJson["fxaa"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&msaa, pJson["msaa"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&terrain_lighting, pJson["terrainLighting"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&water, pJson["water"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&hdr, pJson["hdr"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&fog, pJson["fog"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&fps, pJson["fps"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_muf, pJson["displayMUF"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&displayfo_f2, pJson["displayfoF2"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_rain, pJson["displayRain"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_clouds, pJson["displayClouds"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_sea_marks, pJson["displaySeaMarks"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_railways, pJson["displayRailways"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_nasa_global_imagery, pJson["displayNASAGlobalImagery"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&nasa_global_imagery_identifier, pJson["nasaGlobalImageryIdentifier"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&nasa_global_imagery_opacity, pJson["nasaGlobalImageryOpacity"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_aurora, pJson["displayAurora"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_mag_dec, pJson["displayMagDec"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_maidenhead_grid, pJson["displayMaidenheadGrid"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&display_pfd, pJson["displayPFD"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&view_first_person, pJson["viewFirstPerson"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&default_imagery, pJson["defaultImagery"], "QString", "QString");
+
::SWGSDRangel::setValue(&title, pJson["title"], "QString", "QString");
::SWGSDRangel::setValue(&rgb_color, pJson["rgbColor"], "qint32", "");
@@ -150,9 +404,111 @@ SWGMapSettings::asJsonObject() {
if(m_display_names_isSet){
obj->insert("displayNames", QJsonValue(display_names));
}
+ if(m_map2_d_enabled_isSet){
+ obj->insert("map2DEnabled", QJsonValue(map2_d_enabled));
+ }
+ if(m_map3_d_enabled_isSet){
+ obj->insert("map3DEnabled", QJsonValue(map3_d_enabled));
+ }
+ if(map_provider != nullptr && *map_provider != QString("")){
+ toJsonValue(QString("mapProvider"), map_provider, obj, QString("QString"));
+ }
+ if(map_type != nullptr && *map_type != QString("")){
+ toJsonValue(QString("mapType"), map_type, obj, QString("QString"));
+ }
+ if(osm_url != nullptr && *osm_url != QString("")){
+ toJsonValue(QString("osmURL"), osm_url, obj, QString("QString"));
+ }
+ if(map_box_styles != nullptr && *map_box_styles != QString("")){
+ toJsonValue(QString("mapBoxStyles"), map_box_styles, obj, QString("QString"));
+ }
+ if(m_display_selected_ground_tracks_isSet){
+ obj->insert("displaySelectedGroundTracks", QJsonValue(display_selected_ground_tracks));
+ }
+ if(m_display_all_ground_tracks_isSet){
+ obj->insert("displayAllGroundTracks", QJsonValue(display_all_ground_tracks));
+ }
if(terrain != nullptr && *terrain != QString("")){
toJsonValue(QString("terrain"), terrain, obj, QString("QString"));
}
+ if(buildings != nullptr && *buildings != QString("")){
+ toJsonValue(QString("buildings"), buildings, obj, QString("QString"));
+ }
+ if(m_sun_light_enabled_isSet){
+ obj->insert("sunLightEnabled", QJsonValue(sun_light_enabled));
+ }
+ if((light_intensity != nullptr) && (light_intensity->isSet())){
+ toJsonValue(QString("lightIntensity"), light_intensity, obj, QString("SWGNumber"));
+ }
+ if(m_eci_camera_isSet){
+ obj->insert("eciCamera", QJsonValue(eci_camera));
+ }
+ if(m_fxaa_isSet){
+ obj->insert("fxaa", QJsonValue(fxaa));
+ }
+ if(m_msaa_isSet){
+ obj->insert("msaa", QJsonValue(msaa));
+ }
+ if(m_terrain_lighting_isSet){
+ obj->insert("terrainLighting", QJsonValue(terrain_lighting));
+ }
+ if(m_water_isSet){
+ obj->insert("water", QJsonValue(water));
+ }
+ if(m_hdr_isSet){
+ obj->insert("hdr", QJsonValue(hdr));
+ }
+ if(m_fog_isSet){
+ obj->insert("fog", QJsonValue(fog));
+ }
+ if(m_fps_isSet){
+ obj->insert("fps", QJsonValue(fps));
+ }
+ if(m_display_muf_isSet){
+ obj->insert("displayMUF", QJsonValue(display_muf));
+ }
+ if(m_displayfo_f2_isSet){
+ obj->insert("displayfoF2", QJsonValue(displayfo_f2));
+ }
+ if(m_display_rain_isSet){
+ obj->insert("displayRain", QJsonValue(display_rain));
+ }
+ if(m_display_clouds_isSet){
+ obj->insert("displayClouds", QJsonValue(display_clouds));
+ }
+ if(m_display_sea_marks_isSet){
+ obj->insert("displaySeaMarks", QJsonValue(display_sea_marks));
+ }
+ if(m_display_railways_isSet){
+ obj->insert("displayRailways", QJsonValue(display_railways));
+ }
+ if(m_display_nasa_global_imagery_isSet){
+ obj->insert("displayNASAGlobalImagery", QJsonValue(display_nasa_global_imagery));
+ }
+ if(nasa_global_imagery_identifier != nullptr && *nasa_global_imagery_identifier != QString("")){
+ toJsonValue(QString("nasaGlobalImageryIdentifier"), nasa_global_imagery_identifier, obj, QString("QString"));
+ }
+ if(m_nasa_global_imagery_opacity_isSet){
+ obj->insert("nasaGlobalImageryOpacity", QJsonValue(nasa_global_imagery_opacity));
+ }
+ if(m_display_aurora_isSet){
+ obj->insert("displayAurora", QJsonValue(display_aurora));
+ }
+ if(m_display_mag_dec_isSet){
+ obj->insert("displayMagDec", QJsonValue(display_mag_dec));
+ }
+ if(m_display_maidenhead_grid_isSet){
+ obj->insert("displayMaidenheadGrid", QJsonValue(display_maidenhead_grid));
+ }
+ if(m_display_pfd_isSet){
+ obj->insert("displayPFD", QJsonValue(display_pfd));
+ }
+ if(m_view_first_person_isSet){
+ obj->insert("viewFirstPerson", QJsonValue(view_first_person));
+ }
+ if(default_imagery != nullptr && *default_imagery != QString("")){
+ toJsonValue(QString("defaultImagery"), default_imagery, obj, QString("QString"));
+ }
if(title != nullptr && *title != QString("")){
toJsonValue(QString("title"), title, obj, QString("QString"));
}
@@ -191,6 +547,86 @@ SWGMapSettings::setDisplayNames(qint32 display_names) {
this->m_display_names_isSet = true;
}
+qint32
+SWGMapSettings::getMap2DEnabled() {
+ return map2_d_enabled;
+}
+void
+SWGMapSettings::setMap2DEnabled(qint32 map2_d_enabled) {
+ this->map2_d_enabled = map2_d_enabled;
+ this->m_map2_d_enabled_isSet = true;
+}
+
+qint32
+SWGMapSettings::getMap3DEnabled() {
+ return map3_d_enabled;
+}
+void
+SWGMapSettings::setMap3DEnabled(qint32 map3_d_enabled) {
+ this->map3_d_enabled = map3_d_enabled;
+ this->m_map3_d_enabled_isSet = true;
+}
+
+QString*
+SWGMapSettings::getMapProvider() {
+ return map_provider;
+}
+void
+SWGMapSettings::setMapProvider(QString* map_provider) {
+ this->map_provider = map_provider;
+ this->m_map_provider_isSet = true;
+}
+
+QString*
+SWGMapSettings::getMapType() {
+ return map_type;
+}
+void
+SWGMapSettings::setMapType(QString* map_type) {
+ this->map_type = map_type;
+ this->m_map_type_isSet = true;
+}
+
+QString*
+SWGMapSettings::getOsmUrl() {
+ return osm_url;
+}
+void
+SWGMapSettings::setOsmUrl(QString* osm_url) {
+ this->osm_url = osm_url;
+ this->m_osm_url_isSet = true;
+}
+
+QString*
+SWGMapSettings::getMapBoxStyles() {
+ return map_box_styles;
+}
+void
+SWGMapSettings::setMapBoxStyles(QString* map_box_styles) {
+ this->map_box_styles = map_box_styles;
+ this->m_map_box_styles_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplaySelectedGroundTracks() {
+ return display_selected_ground_tracks;
+}
+void
+SWGMapSettings::setDisplaySelectedGroundTracks(qint32 display_selected_ground_tracks) {
+ this->display_selected_ground_tracks = display_selected_ground_tracks;
+ this->m_display_selected_ground_tracks_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplayAllGroundTracks() {
+ return display_all_ground_tracks;
+}
+void
+SWGMapSettings::setDisplayAllGroundTracks(qint32 display_all_ground_tracks) {
+ this->display_all_ground_tracks = display_all_ground_tracks;
+ this->m_display_all_ground_tracks_isSet = true;
+}
+
QString*
SWGMapSettings::getTerrain() {
return terrain;
@@ -201,6 +637,266 @@ SWGMapSettings::setTerrain(QString* terrain) {
this->m_terrain_isSet = true;
}
+QString*
+SWGMapSettings::getBuildings() {
+ return buildings;
+}
+void
+SWGMapSettings::setBuildings(QString* buildings) {
+ this->buildings = buildings;
+ this->m_buildings_isSet = true;
+}
+
+qint32
+SWGMapSettings::getSunLightEnabled() {
+ return sun_light_enabled;
+}
+void
+SWGMapSettings::setSunLightEnabled(qint32 sun_light_enabled) {
+ this->sun_light_enabled = sun_light_enabled;
+ this->m_sun_light_enabled_isSet = true;
+}
+
+SWGNumber*
+SWGMapSettings::getLightIntensity() {
+ return light_intensity;
+}
+void
+SWGMapSettings::setLightIntensity(SWGNumber* light_intensity) {
+ this->light_intensity = light_intensity;
+ this->m_light_intensity_isSet = true;
+}
+
+qint32
+SWGMapSettings::getEciCamera() {
+ return eci_camera;
+}
+void
+SWGMapSettings::setEciCamera(qint32 eci_camera) {
+ this->eci_camera = eci_camera;
+ this->m_eci_camera_isSet = true;
+}
+
+qint32
+SWGMapSettings::getFxaa() {
+ return fxaa;
+}
+void
+SWGMapSettings::setFxaa(qint32 fxaa) {
+ this->fxaa = fxaa;
+ this->m_fxaa_isSet = true;
+}
+
+qint32
+SWGMapSettings::getMsaa() {
+ return msaa;
+}
+void
+SWGMapSettings::setMsaa(qint32 msaa) {
+ this->msaa = msaa;
+ this->m_msaa_isSet = true;
+}
+
+qint32
+SWGMapSettings::getTerrainLighting() {
+ return terrain_lighting;
+}
+void
+SWGMapSettings::setTerrainLighting(qint32 terrain_lighting) {
+ this->terrain_lighting = terrain_lighting;
+ this->m_terrain_lighting_isSet = true;
+}
+
+qint32
+SWGMapSettings::getWater() {
+ return water;
+}
+void
+SWGMapSettings::setWater(qint32 water) {
+ this->water = water;
+ this->m_water_isSet = true;
+}
+
+qint32
+SWGMapSettings::getHdr() {
+ return hdr;
+}
+void
+SWGMapSettings::setHdr(qint32 hdr) {
+ this->hdr = hdr;
+ this->m_hdr_isSet = true;
+}
+
+qint32
+SWGMapSettings::getFog() {
+ return fog;
+}
+void
+SWGMapSettings::setFog(qint32 fog) {
+ this->fog = fog;
+ this->m_fog_isSet = true;
+}
+
+qint32
+SWGMapSettings::getFps() {
+ return fps;
+}
+void
+SWGMapSettings::setFps(qint32 fps) {
+ this->fps = fps;
+ this->m_fps_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplayMuf() {
+ return display_muf;
+}
+void
+SWGMapSettings::setDisplayMuf(qint32 display_muf) {
+ this->display_muf = display_muf;
+ this->m_display_muf_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplayfoF2() {
+ return displayfo_f2;
+}
+void
+SWGMapSettings::setDisplayfoF2(qint32 displayfo_f2) {
+ this->displayfo_f2 = displayfo_f2;
+ this->m_displayfo_f2_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplayRain() {
+ return display_rain;
+}
+void
+SWGMapSettings::setDisplayRain(qint32 display_rain) {
+ this->display_rain = display_rain;
+ this->m_display_rain_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplayClouds() {
+ return display_clouds;
+}
+void
+SWGMapSettings::setDisplayClouds(qint32 display_clouds) {
+ this->display_clouds = display_clouds;
+ this->m_display_clouds_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplaySeaMarks() {
+ return display_sea_marks;
+}
+void
+SWGMapSettings::setDisplaySeaMarks(qint32 display_sea_marks) {
+ this->display_sea_marks = display_sea_marks;
+ this->m_display_sea_marks_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplayRailways() {
+ return display_railways;
+}
+void
+SWGMapSettings::setDisplayRailways(qint32 display_railways) {
+ this->display_railways = display_railways;
+ this->m_display_railways_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplayNasaGlobalImagery() {
+ return display_nasa_global_imagery;
+}
+void
+SWGMapSettings::setDisplayNasaGlobalImagery(qint32 display_nasa_global_imagery) {
+ this->display_nasa_global_imagery = display_nasa_global_imagery;
+ this->m_display_nasa_global_imagery_isSet = true;
+}
+
+QString*
+SWGMapSettings::getNasaGlobalImageryIdentifier() {
+ return nasa_global_imagery_identifier;
+}
+void
+SWGMapSettings::setNasaGlobalImageryIdentifier(QString* nasa_global_imagery_identifier) {
+ this->nasa_global_imagery_identifier = nasa_global_imagery_identifier;
+ this->m_nasa_global_imagery_identifier_isSet = true;
+}
+
+qint32
+SWGMapSettings::getNasaGlobalImageryOpacity() {
+ return nasa_global_imagery_opacity;
+}
+void
+SWGMapSettings::setNasaGlobalImageryOpacity(qint32 nasa_global_imagery_opacity) {
+ this->nasa_global_imagery_opacity = nasa_global_imagery_opacity;
+ this->m_nasa_global_imagery_opacity_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplayAurora() {
+ return display_aurora;
+}
+void
+SWGMapSettings::setDisplayAurora(qint32 display_aurora) {
+ this->display_aurora = display_aurora;
+ this->m_display_aurora_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplayMagDec() {
+ return display_mag_dec;
+}
+void
+SWGMapSettings::setDisplayMagDec(qint32 display_mag_dec) {
+ this->display_mag_dec = display_mag_dec;
+ this->m_display_mag_dec_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplayMaidenheadGrid() {
+ return display_maidenhead_grid;
+}
+void
+SWGMapSettings::setDisplayMaidenheadGrid(qint32 display_maidenhead_grid) {
+ this->display_maidenhead_grid = display_maidenhead_grid;
+ this->m_display_maidenhead_grid_isSet = true;
+}
+
+qint32
+SWGMapSettings::getDisplayPfd() {
+ return display_pfd;
+}
+void
+SWGMapSettings::setDisplayPfd(qint32 display_pfd) {
+ this->display_pfd = display_pfd;
+ this->m_display_pfd_isSet = true;
+}
+
+qint32
+SWGMapSettings::getViewFirstPerson() {
+ return view_first_person;
+}
+void
+SWGMapSettings::setViewFirstPerson(qint32 view_first_person) {
+ this->view_first_person = view_first_person;
+ this->m_view_first_person_isSet = true;
+}
+
+QString*
+SWGMapSettings::getDefaultImagery() {
+ return default_imagery;
+}
+void
+SWGMapSettings::setDefaultImagery(QString* default_imagery) {
+ this->default_imagery = default_imagery;
+ this->m_default_imagery_isSet = true;
+}
+
QString*
SWGMapSettings::getTitle() {
return title;
@@ -289,9 +985,111 @@ SWGMapSettings::isSet(){
if(m_display_names_isSet){
isObjectUpdated = true; break;
}
+ if(m_map2_d_enabled_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_map3_d_enabled_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(map_provider && *map_provider != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(map_type && *map_type != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(osm_url && *osm_url != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(map_box_styles && *map_box_styles != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_selected_ground_tracks_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_all_ground_tracks_isSet){
+ isObjectUpdated = true; break;
+ }
if(terrain && *terrain != QString("")){
isObjectUpdated = true; break;
}
+ if(buildings && *buildings != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_sun_light_enabled_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(light_intensity && light_intensity->isSet()){
+ isObjectUpdated = true; break;
+ }
+ if(m_eci_camera_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_fxaa_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_msaa_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_terrain_lighting_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_water_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_hdr_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_fog_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_fps_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_muf_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_displayfo_f2_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_rain_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_clouds_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_sea_marks_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_railways_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_nasa_global_imagery_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(nasa_global_imagery_identifier && *nasa_global_imagery_identifier != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_nasa_global_imagery_opacity_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_aurora_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_mag_dec_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_maidenhead_grid_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_display_pfd_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_view_first_person_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(default_imagery && *default_imagery != QString("")){
+ isObjectUpdated = true; break;
+ }
if(title && *title != QString("")){
isObjectUpdated = true; break;
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGMapSettings.h b/swagger/sdrangel/code/qt5/client/SWGMapSettings.h
index df3cde740..1beb85815 100644
--- a/swagger/sdrangel/code/qt5/client/SWGMapSettings.h
+++ b/swagger/sdrangel/code/qt5/client/SWGMapSettings.h
@@ -22,6 +22,7 @@
#include
+#include "SWGNumber.h"
#include "SWGRollupState.h"
#include
@@ -46,9 +47,111 @@ public:
qint32 getDisplayNames();
void setDisplayNames(qint32 display_names);
+ qint32 getMap2DEnabled();
+ void setMap2DEnabled(qint32 map2_d_enabled);
+
+ qint32 getMap3DEnabled();
+ void setMap3DEnabled(qint32 map3_d_enabled);
+
+ QString* getMapProvider();
+ void setMapProvider(QString* map_provider);
+
+ QString* getMapType();
+ void setMapType(QString* map_type);
+
+ QString* getOsmUrl();
+ void setOsmUrl(QString* osm_url);
+
+ QString* getMapBoxStyles();
+ void setMapBoxStyles(QString* map_box_styles);
+
+ qint32 getDisplaySelectedGroundTracks();
+ void setDisplaySelectedGroundTracks(qint32 display_selected_ground_tracks);
+
+ qint32 getDisplayAllGroundTracks();
+ void setDisplayAllGroundTracks(qint32 display_all_ground_tracks);
+
QString* getTerrain();
void setTerrain(QString* terrain);
+ QString* getBuildings();
+ void setBuildings(QString* buildings);
+
+ qint32 getSunLightEnabled();
+ void setSunLightEnabled(qint32 sun_light_enabled);
+
+ SWGNumber* getLightIntensity();
+ void setLightIntensity(SWGNumber* light_intensity);
+
+ qint32 getEciCamera();
+ void setEciCamera(qint32 eci_camera);
+
+ qint32 getFxaa();
+ void setFxaa(qint32 fxaa);
+
+ qint32 getMsaa();
+ void setMsaa(qint32 msaa);
+
+ qint32 getTerrainLighting();
+ void setTerrainLighting(qint32 terrain_lighting);
+
+ qint32 getWater();
+ void setWater(qint32 water);
+
+ qint32 getHdr();
+ void setHdr(qint32 hdr);
+
+ qint32 getFog();
+ void setFog(qint32 fog);
+
+ qint32 getFps();
+ void setFps(qint32 fps);
+
+ qint32 getDisplayMuf();
+ void setDisplayMuf(qint32 display_muf);
+
+ qint32 getDisplayfoF2();
+ void setDisplayfoF2(qint32 displayfo_f2);
+
+ qint32 getDisplayRain();
+ void setDisplayRain(qint32 display_rain);
+
+ qint32 getDisplayClouds();
+ void setDisplayClouds(qint32 display_clouds);
+
+ qint32 getDisplaySeaMarks();
+ void setDisplaySeaMarks(qint32 display_sea_marks);
+
+ qint32 getDisplayRailways();
+ void setDisplayRailways(qint32 display_railways);
+
+ qint32 getDisplayNasaGlobalImagery();
+ void setDisplayNasaGlobalImagery(qint32 display_nasa_global_imagery);
+
+ QString* getNasaGlobalImageryIdentifier();
+ void setNasaGlobalImageryIdentifier(QString* nasa_global_imagery_identifier);
+
+ qint32 getNasaGlobalImageryOpacity();
+ void setNasaGlobalImageryOpacity(qint32 nasa_global_imagery_opacity);
+
+ qint32 getDisplayAurora();
+ void setDisplayAurora(qint32 display_aurora);
+
+ qint32 getDisplayMagDec();
+ void setDisplayMagDec(qint32 display_mag_dec);
+
+ qint32 getDisplayMaidenheadGrid();
+ void setDisplayMaidenheadGrid(qint32 display_maidenhead_grid);
+
+ qint32 getDisplayPfd();
+ void setDisplayPfd(qint32 display_pfd);
+
+ qint32 getViewFirstPerson();
+ void setViewFirstPerson(qint32 view_first_person);
+
+ QString* getDefaultImagery();
+ void setDefaultImagery(QString* default_imagery);
+
QString* getTitle();
void setTitle(QString* title);
@@ -80,9 +183,111 @@ private:
qint32 display_names;
bool m_display_names_isSet;
+ qint32 map2_d_enabled;
+ bool m_map2_d_enabled_isSet;
+
+ qint32 map3_d_enabled;
+ bool m_map3_d_enabled_isSet;
+
+ QString* map_provider;
+ bool m_map_provider_isSet;
+
+ QString* map_type;
+ bool m_map_type_isSet;
+
+ QString* osm_url;
+ bool m_osm_url_isSet;
+
+ QString* map_box_styles;
+ bool m_map_box_styles_isSet;
+
+ qint32 display_selected_ground_tracks;
+ bool m_display_selected_ground_tracks_isSet;
+
+ qint32 display_all_ground_tracks;
+ bool m_display_all_ground_tracks_isSet;
+
QString* terrain;
bool m_terrain_isSet;
+ QString* buildings;
+ bool m_buildings_isSet;
+
+ qint32 sun_light_enabled;
+ bool m_sun_light_enabled_isSet;
+
+ SWGNumber* light_intensity;
+ bool m_light_intensity_isSet;
+
+ qint32 eci_camera;
+ bool m_eci_camera_isSet;
+
+ qint32 fxaa;
+ bool m_fxaa_isSet;
+
+ qint32 msaa;
+ bool m_msaa_isSet;
+
+ qint32 terrain_lighting;
+ bool m_terrain_lighting_isSet;
+
+ qint32 water;
+ bool m_water_isSet;
+
+ qint32 hdr;
+ bool m_hdr_isSet;
+
+ qint32 fog;
+ bool m_fog_isSet;
+
+ qint32 fps;
+ bool m_fps_isSet;
+
+ qint32 display_muf;
+ bool m_display_muf_isSet;
+
+ qint32 displayfo_f2;
+ bool m_displayfo_f2_isSet;
+
+ qint32 display_rain;
+ bool m_display_rain_isSet;
+
+ qint32 display_clouds;
+ bool m_display_clouds_isSet;
+
+ qint32 display_sea_marks;
+ bool m_display_sea_marks_isSet;
+
+ qint32 display_railways;
+ bool m_display_railways_isSet;
+
+ qint32 display_nasa_global_imagery;
+ bool m_display_nasa_global_imagery_isSet;
+
+ QString* nasa_global_imagery_identifier;
+ bool m_nasa_global_imagery_identifier_isSet;
+
+ qint32 nasa_global_imagery_opacity;
+ bool m_nasa_global_imagery_opacity_isSet;
+
+ qint32 display_aurora;
+ bool m_display_aurora_isSet;
+
+ qint32 display_mag_dec;
+ bool m_display_mag_dec_isSet;
+
+ qint32 display_maidenhead_grid;
+ bool m_display_maidenhead_grid_isSet;
+
+ qint32 display_pfd;
+ bool m_display_pfd_isSet;
+
+ qint32 view_first_person;
+ bool m_view_first_person_isSet;
+
+ QString* default_imagery;
+ bool m_default_imagery_isSet;
+
QString* title;
bool m_title_isSet;
diff --git a/swagger/sdrangel/code/qt5/client/SWGMeshcoreDemodSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGMeshcoreDemodSettings.cpp
index 0418c34eb..c18df277d 100644
--- a/swagger/sdrangel/code/qt5/client/SWGMeshcoreDemodSettings.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGMeshcoreDemodSettings.cpp
@@ -160,6 +160,7 @@ SWGMeshcoreDemodSettings::cleanup() {
+
if(udp_address != nullptr) {
delete udp_address;
}
@@ -220,7 +221,7 @@ SWGMeshcoreDemodSettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&packet_length, pJson["packetLength"], "qint32", "");
::SWGSDRangel::setValue(&send_via_udp, pJson["sendViaUDP"], "qint32", "");
-
+
::SWGSDRangel::setValue(&send_json_via_udp, pJson["sendJsonViaUDP"], "qint32", "");
::SWGSDRangel::setValue(&udp_enabled, pJson["udpEnabled"], "qint32", "");
diff --git a/swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.cpp b/swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.cpp
index 7b5ce263a..9f6892d83 100644
--- a/swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.cpp
@@ -44,6 +44,7 @@ SWGMeshcoreModActions::init() {
void
SWGMeshcoreModActions::cleanup() {
+
}
SWGMeshcoreModActions*
@@ -58,7 +59,7 @@ SWGMeshcoreModActions::fromJson(QString &json) {
void
SWGMeshcoreModActions::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&send_now, pJson["sendNow"], "qint32", "");
-
+
}
QString
diff --git a/swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.h b/swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.h
index c94e9bea4..e9fb92706 100644
--- a/swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.h
+++ b/swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.h
@@ -22,6 +22,7 @@
#include
+
#include "SWGObject.h"
#include "export.h"
diff --git a/swagger/sdrangel/code/qt5/client/SWGMeshtasticDemodSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGMeshtasticDemodSettings.cpp
index da9fb49de..aad96adf1 100644
--- a/swagger/sdrangel/code/qt5/client/SWGMeshtasticDemodSettings.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGMeshtasticDemodSettings.cpp
@@ -160,6 +160,7 @@ SWGMeshtasticDemodSettings::cleanup() {
+
if(udp_address != nullptr) {
delete udp_address;
}
@@ -220,7 +221,7 @@ SWGMeshtasticDemodSettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&packet_length, pJson["packetLength"], "qint32", "");
::SWGSDRangel::setValue(&send_via_udp, pJson["sendViaUDP"], "qint32", "");
-
+
::SWGSDRangel::setValue(&send_json_via_udp, pJson["sendJsonViaUDP"], "qint32", "");
::SWGSDRangel::setValue(&udp_enabled, pJson["udpEnabled"], "qint32", "");
diff --git a/swagger/sdrangel/code/qt5/client/SWGModelFactory.h b/swagger/sdrangel/code/qt5/client/SWGModelFactory.h
index 4541a72a8..6e70fadae 100644
--- a/swagger/sdrangel/code/qt5/client/SWGModelFactory.h
+++ b/swagger/sdrangel/code/qt5/client/SWGModelFactory.h
@@ -25,7 +25,9 @@
#include "SWGAISModActions.h"
#include "SWGAISModReport.h"
#include "SWGAISModSettings.h"
+#include "SWGAISReport.h"
#include "SWGAISSettings.h"
+#include "SWGAISVessel.h"
#include "SWGAMBEActions.h"
#include "SWGAMBEDevice.h"
#include "SWGAMBEDeviceReport.h"
@@ -36,7 +38,9 @@
#include "SWGAMDemodSettings.h"
#include "SWGAMModReport.h"
#include "SWGAMModSettings.h"
+#include "SWGAPRSReport.h"
#include "SWGAPRSSettings.h"
+#include "SWGAPRSStation.h"
#include "SWGAPTDemodActions.h"
#include "SWGAPTDemodActions_aos.h"
#include "SWGAPTDemodActions_los.h"
@@ -100,7 +104,9 @@
#include "SWGConfigurationImportExport.h"
#include "SWGConfigurationItem.h"
#include "SWGConfigurations.h"
+#include "SWGDABDemodReport.h"
#include "SWGDABDemodSettings.h"
+#include "SWGDABProgram.h"
#include "SWGDATVDemodReport.h"
#include "SWGDATVDemodSettings.h"
#include "SWGDATVModReport.h"
@@ -298,8 +304,10 @@
#include "SWGRadioAstronomySettings.h"
#include "SWGRadioClockReport.h"
#include "SWGRadioClockSettings.h"
+#include "SWGRadiosonde.h"
#include "SWGRadiosondeDemodReport.h"
#include "SWGRadiosondeDemodSettings.h"
+#include "SWGRadiosondeReport.h"
#include "SWGRadiosondeSettings.h"
#include "SWGRange.h"
#include "SWGRangeFloat.h"
@@ -360,6 +368,7 @@
#include "SWGSpectrumAnnotationMarker.h"
#include "SWGSpectrumCalibrationPoint.h"
#include "SWGSpectrumHistogramMarker.h"
+#include "SWGSpectrumMemorySettings.h"
#include "SWGSpectrumServer.h"
#include "SWGSpectrumServer_clients.h"
#include "SWGSpectrumWaterfallMarker.h"
@@ -465,11 +474,21 @@ namespace SWGSDRangel {
obj->init();
return obj;
}
+ if(QString("SWGAISReport").compare(type) == 0) {
+ SWGAISReport *obj = new SWGAISReport();
+ obj->init();
+ return obj;
+ }
if(QString("SWGAISSettings").compare(type) == 0) {
SWGAISSettings *obj = new SWGAISSettings();
obj->init();
return obj;
}
+ if(QString("SWGAISVessel").compare(type) == 0) {
+ SWGAISVessel *obj = new SWGAISVessel();
+ obj->init();
+ return obj;
+ }
if(QString("SWGAMBEActions").compare(type) == 0) {
SWGAMBEActions *obj = new SWGAMBEActions();
obj->init();
@@ -520,11 +539,21 @@ namespace SWGSDRangel {
obj->init();
return obj;
}
+ if(QString("SWGAPRSReport").compare(type) == 0) {
+ SWGAPRSReport *obj = new SWGAPRSReport();
+ obj->init();
+ return obj;
+ }
if(QString("SWGAPRSSettings").compare(type) == 0) {
SWGAPRSSettings *obj = new SWGAPRSSettings();
obj->init();
return obj;
}
+ if(QString("SWGAPRSStation").compare(type) == 0) {
+ SWGAPRSStation *obj = new SWGAPRSStation();
+ obj->init();
+ return obj;
+ }
if(QString("SWGAPTDemodActions").compare(type) == 0) {
SWGAPTDemodActions *obj = new SWGAPTDemodActions();
obj->init();
@@ -840,11 +869,21 @@ namespace SWGSDRangel {
obj->init();
return obj;
}
+ if(QString("SWGDABDemodReport").compare(type) == 0) {
+ SWGDABDemodReport *obj = new SWGDABDemodReport();
+ obj->init();
+ return obj;
+ }
if(QString("SWGDABDemodSettings").compare(type) == 0) {
SWGDABDemodSettings *obj = new SWGDABDemodSettings();
obj->init();
return obj;
}
+ if(QString("SWGDABProgram").compare(type) == 0) {
+ SWGDABProgram *obj = new SWGDABProgram();
+ obj->init();
+ return obj;
+ }
if(QString("SWGDATVDemodReport").compare(type) == 0) {
SWGDATVDemodReport *obj = new SWGDATVDemodReport();
obj->init();
@@ -1830,6 +1869,11 @@ namespace SWGSDRangel {
obj->init();
return obj;
}
+ if(QString("SWGRadiosonde").compare(type) == 0) {
+ SWGRadiosonde *obj = new SWGRadiosonde();
+ obj->init();
+ return obj;
+ }
if(QString("SWGRadiosondeDemodReport").compare(type) == 0) {
SWGRadiosondeDemodReport *obj = new SWGRadiosondeDemodReport();
obj->init();
@@ -1840,6 +1884,11 @@ namespace SWGSDRangel {
obj->init();
return obj;
}
+ if(QString("SWGRadiosondeReport").compare(type) == 0) {
+ SWGRadiosondeReport *obj = new SWGRadiosondeReport();
+ obj->init();
+ return obj;
+ }
if(QString("SWGRadiosondeSettings").compare(type) == 0) {
SWGRadiosondeSettings *obj = new SWGRadiosondeSettings();
obj->init();
@@ -2140,6 +2189,11 @@ namespace SWGSDRangel {
obj->init();
return obj;
}
+ if(QString("SWGSpectrumMemorySettings").compare(type) == 0) {
+ SWGSpectrumMemorySettings *obj = new SWGSpectrumMemorySettings();
+ obj->init();
+ return obj;
+ }
if(QString("SWGSpectrumServer").compare(type) == 0) {
SWGSpectrumServer *obj = new SWGSpectrumServer();
obj->init();
diff --git a/swagger/sdrangel/code/qt5/client/SWGPSK31ModActions_payload.h b/swagger/sdrangel/code/qt5/client/SWGPSK31ModActions_payload.h
index b31b67605..26a1d62b0 100644
--- a/swagger/sdrangel/code/qt5/client/SWGPSK31ModActions_payload.h
+++ b/swagger/sdrangel/code/qt5/client/SWGPSK31ModActions_payload.h
@@ -13,7 +13,7 @@
/*
* SWGPSK31ModActions_payload.h
*
- *
+ * Payload data.
*/
#ifndef SWGPSK31ModActions_payload_H_
diff --git a/swagger/sdrangel/code/qt5/client/SWGPacketModActions_payload.h b/swagger/sdrangel/code/qt5/client/SWGPacketModActions_payload.h
index 15821f489..eeccf4e4a 100644
--- a/swagger/sdrangel/code/qt5/client/SWGPacketModActions_payload.h
+++ b/swagger/sdrangel/code/qt5/client/SWGPacketModActions_payload.h
@@ -13,7 +13,7 @@
/*
* SWGPacketModActions_payload.h
*
- *
+ * Payload data.
*/
#ifndef SWGPacketModActions_payload_H_
diff --git a/swagger/sdrangel/code/qt5/client/SWGRTTYModActions_payload.h b/swagger/sdrangel/code/qt5/client/SWGRTTYModActions_payload.h
index 7719dc914..802acc01e 100644
--- a/swagger/sdrangel/code/qt5/client/SWGRTTYModActions_payload.h
+++ b/swagger/sdrangel/code/qt5/client/SWGRTTYModActions_payload.h
@@ -13,7 +13,7 @@
/*
* SWGRTTYModActions_payload.h
*
- *
+ * Payload data.
*/
#ifndef SWGRTTYModActions_payload_H_
diff --git a/swagger/sdrangel/code/qt5/client/SWGRadiosonde.cpp b/swagger/sdrangel/code/qt5/client/SWGRadiosonde.cpp
new file mode 100644
index 000000000..df6ada798
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGRadiosonde.cpp
@@ -0,0 +1,511 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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 "SWGRadiosonde.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGRadiosonde::SWGRadiosonde(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGRadiosonde::SWGRadiosonde() {
+ serial = nullptr;
+ m_serial_isSet = false;
+ type = nullptr;
+ m_type_isSet = false;
+ latitude = 0.0f;
+ m_latitude_isSet = false;
+ longitude = 0.0f;
+ m_longitude_isSet = false;
+ altitude = 0.0f;
+ m_altitude_isSet = false;
+ altitude_max = 0.0f;
+ m_altitude_max_isSet = false;
+ speed = 0.0f;
+ m_speed_isSet = false;
+ vertical_rate = 0.0f;
+ m_vertical_rate_isSet = false;
+ heading = 0.0f;
+ m_heading_isSet = false;
+ status = nullptr;
+ m_status_isSet = false;
+ pressure = 0.0f;
+ m_pressure_isSet = false;
+ temperature = 0.0f;
+ m_temperature_isSet = false;
+ humidity = 0.0f;
+ m_humidity_isSet = false;
+ frequency = 0L;
+ m_frequency_isSet = false;
+ burst_kill_status = nullptr;
+ m_burst_kill_status_isSet = false;
+ burst_kill_timer = nullptr;
+ m_burst_kill_timer_isSet = false;
+ last_update = nullptr;
+ m_last_update_isSet = false;
+ messages = 0;
+ m_messages_isSet = false;
+}
+
+SWGRadiosonde::~SWGRadiosonde() {
+ this->cleanup();
+}
+
+void
+SWGRadiosonde::init() {
+ serial = new QString("");
+ m_serial_isSet = false;
+ type = new QString("");
+ m_type_isSet = false;
+ latitude = 0.0f;
+ m_latitude_isSet = false;
+ longitude = 0.0f;
+ m_longitude_isSet = false;
+ altitude = 0.0f;
+ m_altitude_isSet = false;
+ altitude_max = 0.0f;
+ m_altitude_max_isSet = false;
+ speed = 0.0f;
+ m_speed_isSet = false;
+ vertical_rate = 0.0f;
+ m_vertical_rate_isSet = false;
+ heading = 0.0f;
+ m_heading_isSet = false;
+ status = new QString("");
+ m_status_isSet = false;
+ pressure = 0.0f;
+ m_pressure_isSet = false;
+ temperature = 0.0f;
+ m_temperature_isSet = false;
+ humidity = 0.0f;
+ m_humidity_isSet = false;
+ frequency = 0L;
+ m_frequency_isSet = false;
+ burst_kill_status = new QString("");
+ m_burst_kill_status_isSet = false;
+ burst_kill_timer = new QString("");
+ m_burst_kill_timer_isSet = false;
+ last_update = new QString("");
+ m_last_update_isSet = false;
+ messages = 0;
+ m_messages_isSet = false;
+}
+
+void
+SWGRadiosonde::cleanup() {
+ if(serial != nullptr) {
+ delete serial;
+ }
+ if(type != nullptr) {
+ delete type;
+ }
+
+
+
+
+
+
+
+ if(status != nullptr) {
+ delete status;
+ }
+
+
+
+
+ if(burst_kill_status != nullptr) {
+ delete burst_kill_status;
+ }
+ if(burst_kill_timer != nullptr) {
+ delete burst_kill_timer;
+ }
+ if(last_update != nullptr) {
+ delete last_update;
+ }
+
+}
+
+SWGRadiosonde*
+SWGRadiosonde::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGRadiosonde::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&serial, pJson["serial"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&type, pJson["type"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&latitude, pJson["latitude"], "float", "");
+
+ ::SWGSDRangel::setValue(&longitude, pJson["longitude"], "float", "");
+
+ ::SWGSDRangel::setValue(&altitude, pJson["altitude"], "float", "");
+
+ ::SWGSDRangel::setValue(&altitude_max, pJson["altitudeMax"], "float", "");
+
+ ::SWGSDRangel::setValue(&speed, pJson["speed"], "float", "");
+
+ ::SWGSDRangel::setValue(&vertical_rate, pJson["verticalRate"], "float", "");
+
+ ::SWGSDRangel::setValue(&heading, pJson["heading"], "float", "");
+
+ ::SWGSDRangel::setValue(&status, pJson["status"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&pressure, pJson["pressure"], "float", "");
+
+ ::SWGSDRangel::setValue(&temperature, pJson["temperature"], "float", "");
+
+ ::SWGSDRangel::setValue(&humidity, pJson["humidity"], "float", "");
+
+ ::SWGSDRangel::setValue(&frequency, pJson["frequency"], "qint64", "");
+
+ ::SWGSDRangel::setValue(&burst_kill_status, pJson["burstKillStatus"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&burst_kill_timer, pJson["burstKillTimer"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&last_update, pJson["lastUpdate"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&messages, pJson["messages"], "qint32", "");
+
+}
+
+QString
+SWGRadiosonde::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGRadiosonde::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(serial != nullptr && *serial != QString("")){
+ toJsonValue(QString("serial"), serial, obj, QString("QString"));
+ }
+ if(type != nullptr && *type != QString("")){
+ toJsonValue(QString("type"), type, obj, QString("QString"));
+ }
+ if(m_latitude_isSet){
+ obj->insert("latitude", QJsonValue(latitude));
+ }
+ if(m_longitude_isSet){
+ obj->insert("longitude", QJsonValue(longitude));
+ }
+ if(m_altitude_isSet){
+ obj->insert("altitude", QJsonValue(altitude));
+ }
+ if(m_altitude_max_isSet){
+ obj->insert("altitudeMax", QJsonValue(altitude_max));
+ }
+ if(m_speed_isSet){
+ obj->insert("speed", QJsonValue(speed));
+ }
+ if(m_vertical_rate_isSet){
+ obj->insert("verticalRate", QJsonValue(vertical_rate));
+ }
+ if(m_heading_isSet){
+ obj->insert("heading", QJsonValue(heading));
+ }
+ if(status != nullptr && *status != QString("")){
+ toJsonValue(QString("status"), status, obj, QString("QString"));
+ }
+ if(m_pressure_isSet){
+ obj->insert("pressure", QJsonValue(pressure));
+ }
+ if(m_temperature_isSet){
+ obj->insert("temperature", QJsonValue(temperature));
+ }
+ if(m_humidity_isSet){
+ obj->insert("humidity", QJsonValue(humidity));
+ }
+ if(m_frequency_isSet){
+ obj->insert("frequency", QJsonValue(frequency));
+ }
+ if(burst_kill_status != nullptr && *burst_kill_status != QString("")){
+ toJsonValue(QString("burstKillStatus"), burst_kill_status, obj, QString("QString"));
+ }
+ if(burst_kill_timer != nullptr && *burst_kill_timer != QString("")){
+ toJsonValue(QString("burstKillTimer"), burst_kill_timer, obj, QString("QString"));
+ }
+ if(last_update != nullptr && *last_update != QString("")){
+ toJsonValue(QString("lastUpdate"), last_update, obj, QString("QString"));
+ }
+ if(m_messages_isSet){
+ obj->insert("messages", QJsonValue(messages));
+ }
+
+ return obj;
+}
+
+QString*
+SWGRadiosonde::getSerial() {
+ return serial;
+}
+void
+SWGRadiosonde::setSerial(QString* serial) {
+ this->serial = serial;
+ this->m_serial_isSet = true;
+}
+
+QString*
+SWGRadiosonde::getType() {
+ return type;
+}
+void
+SWGRadiosonde::setType(QString* type) {
+ this->type = type;
+ this->m_type_isSet = true;
+}
+
+float
+SWGRadiosonde::getLatitude() {
+ return latitude;
+}
+void
+SWGRadiosonde::setLatitude(float latitude) {
+ this->latitude = latitude;
+ this->m_latitude_isSet = true;
+}
+
+float
+SWGRadiosonde::getLongitude() {
+ return longitude;
+}
+void
+SWGRadiosonde::setLongitude(float longitude) {
+ this->longitude = longitude;
+ this->m_longitude_isSet = true;
+}
+
+float
+SWGRadiosonde::getAltitude() {
+ return altitude;
+}
+void
+SWGRadiosonde::setAltitude(float altitude) {
+ this->altitude = altitude;
+ this->m_altitude_isSet = true;
+}
+
+float
+SWGRadiosonde::getAltitudeMax() {
+ return altitude_max;
+}
+void
+SWGRadiosonde::setAltitudeMax(float altitude_max) {
+ this->altitude_max = altitude_max;
+ this->m_altitude_max_isSet = true;
+}
+
+float
+SWGRadiosonde::getSpeed() {
+ return speed;
+}
+void
+SWGRadiosonde::setSpeed(float speed) {
+ this->speed = speed;
+ this->m_speed_isSet = true;
+}
+
+float
+SWGRadiosonde::getVerticalRate() {
+ return vertical_rate;
+}
+void
+SWGRadiosonde::setVerticalRate(float vertical_rate) {
+ this->vertical_rate = vertical_rate;
+ this->m_vertical_rate_isSet = true;
+}
+
+float
+SWGRadiosonde::getHeading() {
+ return heading;
+}
+void
+SWGRadiosonde::setHeading(float heading) {
+ this->heading = heading;
+ this->m_heading_isSet = true;
+}
+
+QString*
+SWGRadiosonde::getStatus() {
+ return status;
+}
+void
+SWGRadiosonde::setStatus(QString* status) {
+ this->status = status;
+ this->m_status_isSet = true;
+}
+
+float
+SWGRadiosonde::getPressure() {
+ return pressure;
+}
+void
+SWGRadiosonde::setPressure(float pressure) {
+ this->pressure = pressure;
+ this->m_pressure_isSet = true;
+}
+
+float
+SWGRadiosonde::getTemperature() {
+ return temperature;
+}
+void
+SWGRadiosonde::setTemperature(float temperature) {
+ this->temperature = temperature;
+ this->m_temperature_isSet = true;
+}
+
+float
+SWGRadiosonde::getHumidity() {
+ return humidity;
+}
+void
+SWGRadiosonde::setHumidity(float humidity) {
+ this->humidity = humidity;
+ this->m_humidity_isSet = true;
+}
+
+qint64
+SWGRadiosonde::getFrequency() {
+ return frequency;
+}
+void
+SWGRadiosonde::setFrequency(qint64 frequency) {
+ this->frequency = frequency;
+ this->m_frequency_isSet = true;
+}
+
+QString*
+SWGRadiosonde::getBurstKillStatus() {
+ return burst_kill_status;
+}
+void
+SWGRadiosonde::setBurstKillStatus(QString* burst_kill_status) {
+ this->burst_kill_status = burst_kill_status;
+ this->m_burst_kill_status_isSet = true;
+}
+
+QString*
+SWGRadiosonde::getBurstKillTimer() {
+ return burst_kill_timer;
+}
+void
+SWGRadiosonde::setBurstKillTimer(QString* burst_kill_timer) {
+ this->burst_kill_timer = burst_kill_timer;
+ this->m_burst_kill_timer_isSet = true;
+}
+
+QString*
+SWGRadiosonde::getLastUpdate() {
+ return last_update;
+}
+void
+SWGRadiosonde::setLastUpdate(QString* last_update) {
+ this->last_update = last_update;
+ this->m_last_update_isSet = true;
+}
+
+qint32
+SWGRadiosonde::getMessages() {
+ return messages;
+}
+void
+SWGRadiosonde::setMessages(qint32 messages) {
+ this->messages = messages;
+ this->m_messages_isSet = true;
+}
+
+
+bool
+SWGRadiosonde::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(serial && *serial != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(type && *type != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_latitude_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_longitude_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_altitude_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_altitude_max_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_speed_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_vertical_rate_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_heading_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(status && *status != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_pressure_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_temperature_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_humidity_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_frequency_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(burst_kill_status && *burst_kill_status != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(burst_kill_timer && *burst_kill_timer != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(last_update && *last_update != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_messages_isSet){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGRadiosonde.h b/swagger/sdrangel/code/qt5/client/SWGRadiosonde.h
new file mode 100644
index 000000000..753081d09
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGRadiosonde.h
@@ -0,0 +1,161 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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.
+ */
+
+/*
+ * SWGRadiosonde.h
+ *
+ * Radiosonde heard by the Radiosonde feature
+ */
+
+#ifndef SWGRadiosonde_H_
+#define SWGRadiosonde_H_
+
+#include
+
+
+#include
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGRadiosonde: public SWGObject {
+public:
+ SWGRadiosonde();
+ SWGRadiosonde(QString* json);
+ virtual ~SWGRadiosonde();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGRadiosonde* fromJson(QString &jsonString) override;
+
+ QString* getSerial();
+ void setSerial(QString* serial);
+
+ QString* getType();
+ void setType(QString* type);
+
+ float getLatitude();
+ void setLatitude(float latitude);
+
+ float getLongitude();
+ void setLongitude(float longitude);
+
+ float getAltitude();
+ void setAltitude(float altitude);
+
+ float getAltitudeMax();
+ void setAltitudeMax(float altitude_max);
+
+ float getSpeed();
+ void setSpeed(float speed);
+
+ float getVerticalRate();
+ void setVerticalRate(float vertical_rate);
+
+ float getHeading();
+ void setHeading(float heading);
+
+ QString* getStatus();
+ void setStatus(QString* status);
+
+ float getPressure();
+ void setPressure(float pressure);
+
+ float getTemperature();
+ void setTemperature(float temperature);
+
+ float getHumidity();
+ void setHumidity(float humidity);
+
+ qint64 getFrequency();
+ void setFrequency(qint64 frequency);
+
+ QString* getBurstKillStatus();
+ void setBurstKillStatus(QString* burst_kill_status);
+
+ QString* getBurstKillTimer();
+ void setBurstKillTimer(QString* burst_kill_timer);
+
+ QString* getLastUpdate();
+ void setLastUpdate(QString* last_update);
+
+ qint32 getMessages();
+ void setMessages(qint32 messages);
+
+
+ virtual bool isSet() override;
+
+private:
+ QString* serial;
+ bool m_serial_isSet;
+
+ QString* type;
+ bool m_type_isSet;
+
+ float latitude;
+ bool m_latitude_isSet;
+
+ float longitude;
+ bool m_longitude_isSet;
+
+ float altitude;
+ bool m_altitude_isSet;
+
+ float altitude_max;
+ bool m_altitude_max_isSet;
+
+ float speed;
+ bool m_speed_isSet;
+
+ float vertical_rate;
+ bool m_vertical_rate_isSet;
+
+ float heading;
+ bool m_heading_isSet;
+
+ QString* status;
+ bool m_status_isSet;
+
+ float pressure;
+ bool m_pressure_isSet;
+
+ float temperature;
+ bool m_temperature_isSet;
+
+ float humidity;
+ bool m_humidity_isSet;
+
+ qint64 frequency;
+ bool m_frequency_isSet;
+
+ QString* burst_kill_status;
+ bool m_burst_kill_status_isSet;
+
+ QString* burst_kill_timer;
+ bool m_burst_kill_timer_isSet;
+
+ QString* last_update;
+ bool m_last_update_isSet;
+
+ qint32 messages;
+ bool m_messages_isSet;
+
+};
+
+}
+
+#endif /* SWGRadiosonde_H_ */
diff --git a/swagger/sdrangel/code/qt5/client/SWGRadiosondeReport.cpp b/swagger/sdrangel/code/qt5/client/SWGRadiosondeReport.cpp
new file mode 100644
index 000000000..edf32e376
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGRadiosondeReport.cpp
@@ -0,0 +1,162 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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 "SWGRadiosondeReport.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGRadiosondeReport::SWGRadiosondeReport(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGRadiosondeReport::SWGRadiosondeReport() {
+ report_date_time = nullptr;
+ m_report_date_time_isSet = false;
+ radiosonde_count = 0;
+ m_radiosonde_count_isSet = false;
+ radiosondes = nullptr;
+ m_radiosondes_isSet = false;
+}
+
+SWGRadiosondeReport::~SWGRadiosondeReport() {
+ this->cleanup();
+}
+
+void
+SWGRadiosondeReport::init() {
+ report_date_time = new QString("");
+ m_report_date_time_isSet = false;
+ radiosonde_count = 0;
+ m_radiosonde_count_isSet = false;
+ radiosondes = new QList();
+ m_radiosondes_isSet = false;
+}
+
+void
+SWGRadiosondeReport::cleanup() {
+ if(report_date_time != nullptr) {
+ delete report_date_time;
+ }
+
+ if(radiosondes != nullptr) {
+ auto arr = radiosondes;
+ for(auto o: *arr) {
+ delete o;
+ }
+ delete radiosondes;
+ }
+}
+
+SWGRadiosondeReport*
+SWGRadiosondeReport::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGRadiosondeReport::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&report_date_time, pJson["reportDateTime"], "QString", "QString");
+
+ ::SWGSDRangel::setValue(&radiosonde_count, pJson["radiosondeCount"], "qint32", "");
+
+
+ ::SWGSDRangel::setValue(&radiosondes, pJson["radiosondes"], "QList", "SWGRadiosonde");
+}
+
+QString
+SWGRadiosondeReport::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGRadiosondeReport::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(report_date_time != nullptr && *report_date_time != QString("")){
+ toJsonValue(QString("reportDateTime"), report_date_time, obj, QString("QString"));
+ }
+ if(m_radiosonde_count_isSet){
+ obj->insert("radiosondeCount", QJsonValue(radiosonde_count));
+ }
+ if(radiosondes && radiosondes->size() > 0){
+ toJsonArray((QList*)radiosondes, obj, "radiosondes", "SWGRadiosonde");
+ }
+
+ return obj;
+}
+
+QString*
+SWGRadiosondeReport::getReportDateTime() {
+ return report_date_time;
+}
+void
+SWGRadiosondeReport::setReportDateTime(QString* report_date_time) {
+ this->report_date_time = report_date_time;
+ this->m_report_date_time_isSet = true;
+}
+
+qint32
+SWGRadiosondeReport::getRadiosondeCount() {
+ return radiosonde_count;
+}
+void
+SWGRadiosondeReport::setRadiosondeCount(qint32 radiosonde_count) {
+ this->radiosonde_count = radiosonde_count;
+ this->m_radiosonde_count_isSet = true;
+}
+
+QList*
+SWGRadiosondeReport::getRadiosondes() {
+ return radiosondes;
+}
+void
+SWGRadiosondeReport::setRadiosondes(QList* radiosondes) {
+ this->radiosondes = radiosondes;
+ this->m_radiosondes_isSet = true;
+}
+
+
+bool
+SWGRadiosondeReport::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(report_date_time && *report_date_time != QString("")){
+ isObjectUpdated = true; break;
+ }
+ if(m_radiosonde_count_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(radiosondes && (radiosondes->size() > 0)){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGRadiosondeReport.h b/swagger/sdrangel/code/qt5/client/SWGRadiosondeReport.h
new file mode 100644
index 000000000..de9e9a8a9
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGRadiosondeReport.h
@@ -0,0 +1,73 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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.
+ */
+
+/*
+ * SWGRadiosondeReport.h
+ *
+ * Radiosondes heard by the Radiosonde feature, which collects the decoded frames of every radiosonde demodulator in the instance. A field is present only once a frame carrying it has been received.
+ */
+
+#ifndef SWGRadiosondeReport_H_
+#define SWGRadiosondeReport_H_
+
+#include
+
+
+#include "SWGRadiosonde.h"
+#include
+#include
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGRadiosondeReport: public SWGObject {
+public:
+ SWGRadiosondeReport();
+ SWGRadiosondeReport(QString* json);
+ virtual ~SWGRadiosondeReport();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGRadiosondeReport* fromJson(QString &jsonString) override;
+
+ QString* getReportDateTime();
+ void setReportDateTime(QString* report_date_time);
+
+ qint32 getRadiosondeCount();
+ void setRadiosondeCount(qint32 radiosonde_count);
+
+ QList* getRadiosondes();
+ void setRadiosondes(QList* radiosondes);
+
+
+ virtual bool isSet() override;
+
+private:
+ QString* report_date_time;
+ bool m_report_date_time_isSet;
+
+ qint32 radiosonde_count;
+ bool m_radiosonde_count_isSet;
+
+ QList* radiosondes;
+ bool m_radiosondes_isSet;
+
+};
+
+}
+
+#endif /* SWGRadiosondeReport_H_ */
diff --git a/swagger/sdrangel/code/qt5/client/SWGRadiosondeSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGRadiosondeSettings.cpp
index 2d3cc4bc1..eae74ccea 100644
--- a/swagger/sdrangel/code/qt5/client/SWGRadiosondeSettings.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGRadiosondeSettings.cpp
@@ -170,10 +170,10 @@ SWGRadiosondeSettings::asJsonObject() {
toJsonValue(QString("rollupState"), rollup_state, obj, QString("SWGRollupState"));
}
if(radiosondes_column_indexes && radiosondes_column_indexes->size() > 0){
- toJsonArray((QList*)radiosondes_column_indexes, obj, "radiosondesColumnIndexes", "qint32");
+ toJsonArray((QList*)radiosondes_column_indexes, obj, "radiosondesColumnIndexes", "");
}
if(radiosondes_column_sizes && radiosondes_column_sizes->size() > 0){
- toJsonArray((QList*)radiosondes_column_sizes, obj, "radiosondesColumnSizes", "qint32");
+ toJsonArray((QList*)radiosondes_column_sizes, obj, "radiosondesColumnSizes", "");
}
return obj;
diff --git a/swagger/sdrangel/code/qt5/client/SWGSIDSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGSIDSettings.cpp
index 332ebfabf..fcfccf291 100644
--- a/swagger/sdrangel/code/qt5/client/SWGSIDSettings.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGSIDSettings.cpp
@@ -34,7 +34,7 @@ SWGSIDSettings::SWGSIDSettings() {
m_autosave_isSet = false;
autoload = 0;
m_autoload_isSet = false;
- filename = 0;
+ filename = nullptr;
m_filename_isSet = false;
autosave_period = 0;
m_autosave_period_isSet = false;
@@ -68,7 +68,7 @@ SWGSIDSettings::init() {
m_autosave_isSet = false;
autoload = 0;
m_autoload_isSet = false;
- filename = 0;
+ filename = new QString("");
m_filename_isSet = false;
autosave_period = 0;
m_autosave_period_isSet = false;
@@ -95,7 +95,9 @@ SWGSIDSettings::cleanup() {
-
+ if(filename != nullptr) {
+ delete filename;
+ }
if(title != nullptr) {
delete title;
@@ -130,7 +132,7 @@ SWGSIDSettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&autoload, pJson["autoload"], "qint32", "");
- ::SWGSDRangel::setValue(&filename, pJson["filename"], "qint32", "");
+ ::SWGSDRangel::setValue(&filename, pJson["filename"], "QString", "QString");
::SWGSDRangel::setValue(&autosave_period, pJson["autosavePeriod"], "qint32", "");
@@ -175,8 +177,8 @@ SWGSIDSettings::asJsonObject() {
if(m_autoload_isSet){
obj->insert("autoload", QJsonValue(autoload));
}
- if(m_filename_isSet){
- obj->insert("filename", QJsonValue(filename));
+ if(filename != nullptr && *filename != QString("")){
+ toJsonValue(QString("filename"), filename, obj, QString("QString"));
}
if(m_autosave_period_isSet){
obj->insert("autosavePeriod", QJsonValue(autosave_period));
@@ -239,12 +241,12 @@ SWGSIDSettings::setAutoload(qint32 autoload) {
this->m_autoload_isSet = true;
}
-qint32
+QString*
SWGSIDSettings::getFilename() {
return filename;
}
void
-SWGSIDSettings::setFilename(qint32 filename) {
+SWGSIDSettings::setFilename(QString* filename) {
this->filename = filename;
this->m_filename_isSet = true;
}
@@ -353,7 +355,7 @@ SWGSIDSettings::isSet(){
if(m_autoload_isSet){
isObjectUpdated = true; break;
}
- if(m_filename_isSet){
+ if(filename && *filename != QString("")){
isObjectUpdated = true; break;
}
if(m_autosave_period_isSet){
diff --git a/swagger/sdrangel/code/qt5/client/SWGSIDSettings.h b/swagger/sdrangel/code/qt5/client/SWGSIDSettings.h
index e56ed7ca3..c51bba34c 100644
--- a/swagger/sdrangel/code/qt5/client/SWGSIDSettings.h
+++ b/swagger/sdrangel/code/qt5/client/SWGSIDSettings.h
@@ -52,8 +52,8 @@ public:
qint32 getAutoload();
void setAutoload(qint32 autoload);
- qint32 getFilename();
- void setFilename(qint32 filename);
+ QString* getFilename();
+ void setFilename(QString* filename);
qint32 getAutosavePeriod();
void setAutosavePeriod(qint32 autosave_period);
@@ -95,7 +95,7 @@ private:
qint32 autoload;
bool m_autoload_isSet;
- qint32 filename;
+ QString* filename;
bool m_filename_isSet;
qint32 autosave_period;
diff --git a/swagger/sdrangel/code/qt5/client/SWGSpectrumAnnotationMarker.cpp b/swagger/sdrangel/code/qt5/client/SWGSpectrumAnnotationMarker.cpp
index 51b59cdbc..228037c4a 100644
--- a/swagger/sdrangel/code/qt5/client/SWGSpectrumAnnotationMarker.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGSpectrumAnnotationMarker.cpp
@@ -36,6 +36,8 @@ SWGSpectrumAnnotationMarker::SWGSpectrumAnnotationMarker() {
m_marker_color_isSet = false;
show = 0;
m_show_isSet = false;
+ text = nullptr;
+ m_text_isSet = false;
}
SWGSpectrumAnnotationMarker::~SWGSpectrumAnnotationMarker() {
@@ -52,6 +54,8 @@ SWGSpectrumAnnotationMarker::init() {
m_marker_color_isSet = false;
show = 0;
m_show_isSet = false;
+ text = new QString("");
+ m_text_isSet = false;
}
void
@@ -60,6 +64,9 @@ SWGSpectrumAnnotationMarker::cleanup() {
+ if(text != nullptr) {
+ delete text;
+ }
}
SWGSpectrumAnnotationMarker*
@@ -81,6 +88,8 @@ SWGSpectrumAnnotationMarker::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&show, pJson["show"], "qint32", "");
+ ::SWGSDRangel::setValue(&text, pJson["text"], "QString", "QString");
+
}
QString
@@ -109,6 +118,9 @@ SWGSpectrumAnnotationMarker::asJsonObject() {
if(m_show_isSet){
obj->insert("show", QJsonValue(show));
}
+ if(text != nullptr && *text != QString("")){
+ toJsonValue(QString("text"), text, obj, QString("QString"));
+ }
return obj;
}
@@ -153,6 +165,16 @@ SWGSpectrumAnnotationMarker::setShow(qint32 show) {
this->m_show_isSet = true;
}
+QString*
+SWGSpectrumAnnotationMarker::getText() {
+ return text;
+}
+void
+SWGSpectrumAnnotationMarker::setText(QString* text) {
+ this->text = text;
+ this->m_text_isSet = true;
+}
+
bool
SWGSpectrumAnnotationMarker::isSet(){
@@ -170,6 +192,9 @@ SWGSpectrumAnnotationMarker::isSet(){
if(m_show_isSet){
isObjectUpdated = true; break;
}
+ if(text && *text != QString("")){
+ isObjectUpdated = true; break;
+ }
}while(false);
return isObjectUpdated;
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGSpectrumAnnotationMarker.h b/swagger/sdrangel/code/qt5/client/SWGSpectrumAnnotationMarker.h
index a50a6ea05..00926ca83 100644
--- a/swagger/sdrangel/code/qt5/client/SWGSpectrumAnnotationMarker.h
+++ b/swagger/sdrangel/code/qt5/client/SWGSpectrumAnnotationMarker.h
@@ -22,6 +22,7 @@
#include
+#include
#include "SWGObject.h"
#include "export.h"
@@ -53,6 +54,9 @@ public:
qint32 getShow();
void setShow(qint32 show);
+ QString* getText();
+ void setText(QString* text);
+
virtual bool isSet() override;
@@ -69,6 +73,9 @@ private:
qint32 show;
bool m_show_isSet;
+ QString* text;
+ bool m_text_isSet;
+
};
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGSpectrumMemorySettings.cpp b/swagger/sdrangel/code/qt5/client/SWGSpectrumMemorySettings.cpp
new file mode 100644
index 000000000..23f511e45
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGSpectrumMemorySettings.cpp
@@ -0,0 +1,156 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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 "SWGSpectrumMemorySettings.h"
+
+#include "SWGHelpers.h"
+
+#include
+#include
+#include
+#include
+
+namespace SWGSDRangel {
+
+SWGSpectrumMemorySettings::SWGSpectrumMemorySettings(QString* json) {
+ init();
+ this->fromJson(*json);
+}
+
+SWGSpectrumMemorySettings::SWGSpectrumMemorySettings() {
+ display = 0;
+ m_display_isSet = false;
+ color = 0;
+ m_color_isSet = false;
+ label = nullptr;
+ m_label_isSet = false;
+}
+
+SWGSpectrumMemorySettings::~SWGSpectrumMemorySettings() {
+ this->cleanup();
+}
+
+void
+SWGSpectrumMemorySettings::init() {
+ display = 0;
+ m_display_isSet = false;
+ color = 0;
+ m_color_isSet = false;
+ label = new QString("");
+ m_label_isSet = false;
+}
+
+void
+SWGSpectrumMemorySettings::cleanup() {
+
+
+ if(label != nullptr) {
+ delete label;
+ }
+}
+
+SWGSpectrumMemorySettings*
+SWGSpectrumMemorySettings::fromJson(QString &json) {
+ QByteArray array (json.toStdString().c_str());
+ QJsonDocument doc = QJsonDocument::fromJson(array);
+ QJsonObject jsonObject = doc.object();
+ this->fromJsonObject(jsonObject);
+ return this;
+}
+
+void
+SWGSpectrumMemorySettings::fromJsonObject(QJsonObject &pJson) {
+ ::SWGSDRangel::setValue(&display, pJson["display"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&color, pJson["color"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&label, pJson["label"], "QString", "QString");
+
+}
+
+QString
+SWGSpectrumMemorySettings::asJson ()
+{
+ QJsonObject* obj = this->asJsonObject();
+
+ QJsonDocument doc(*obj);
+ QByteArray bytes = doc.toJson();
+ delete obj;
+ return QString(bytes);
+}
+
+QJsonObject*
+SWGSpectrumMemorySettings::asJsonObject() {
+ QJsonObject* obj = new QJsonObject();
+ if(m_display_isSet){
+ obj->insert("display", QJsonValue(display));
+ }
+ if(m_color_isSet){
+ obj->insert("color", QJsonValue(color));
+ }
+ if(label != nullptr && *label != QString("")){
+ toJsonValue(QString("label"), label, obj, QString("QString"));
+ }
+
+ return obj;
+}
+
+qint32
+SWGSpectrumMemorySettings::getDisplay() {
+ return display;
+}
+void
+SWGSpectrumMemorySettings::setDisplay(qint32 display) {
+ this->display = display;
+ this->m_display_isSet = true;
+}
+
+qint32
+SWGSpectrumMemorySettings::getColor() {
+ return color;
+}
+void
+SWGSpectrumMemorySettings::setColor(qint32 color) {
+ this->color = color;
+ this->m_color_isSet = true;
+}
+
+QString*
+SWGSpectrumMemorySettings::getLabel() {
+ return label;
+}
+void
+SWGSpectrumMemorySettings::setLabel(QString* label) {
+ this->label = label;
+ this->m_label_isSet = true;
+}
+
+
+bool
+SWGSpectrumMemorySettings::isSet(){
+ bool isObjectUpdated = false;
+ do{
+ if(m_display_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_color_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(label && *label != QString("")){
+ isObjectUpdated = true; break;
+ }
+ }while(false);
+ return isObjectUpdated;
+}
+}
+
diff --git a/swagger/sdrangel/code/qt5/client/SWGSpectrumMemorySettings.h b/swagger/sdrangel/code/qt5/client/SWGSpectrumMemorySettings.h
new file mode 100644
index 000000000..f25be4c90
--- /dev/null
+++ b/swagger/sdrangel/code/qt5/client/SWGSpectrumMemorySettings.h
@@ -0,0 +1,71 @@
+/**
+ * SDRangel
+ * This is the web REST/JSON API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ (4.3+ in Windows) GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube --- Limitations and specifcities: * In SDRangel GUI the first Rx device set cannot be deleted. Conversely the server starts with no device sets and its number of device sets can be reduced to zero by as many calls as necessary to /sdrangel/deviceset with DELETE method. * Preset import and export from/to file is a server only feature. * Device set focus is a GUI only feature. * The following channels are not implemented (status 501 is returned): ATV and DATV demodulators, Channel Analyzer NG, LoRa demodulator * The device settings and report structures contains only the sub-structure corresponding to the device type. The DeviceSettings and DeviceReport structures documented here shows all of them but only one will be or should be present at a time * The channel settings and report structures contains only the sub-structure corresponding to the channel type. The ChannelSettings and ChannelReport structures documented here shows all of them but only one will be or should be present at a time ---
+ *
+ * OpenAPI spec version: 7.0.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.
+ */
+
+/*
+ * SWGSpectrumMemorySettings.h
+ *
+ * Display settings for one saved spectrum memory. The captured spectrum samples are not transferred through settings APIs.
+ */
+
+#ifndef SWGSpectrumMemorySettings_H_
+#define SWGSpectrumMemorySettings_H_
+
+#include
+
+
+#include
+
+#include "SWGObject.h"
+#include "export.h"
+
+namespace SWGSDRangel {
+
+class SWG_API SWGSpectrumMemorySettings: public SWGObject {
+public:
+ SWGSpectrumMemorySettings();
+ SWGSpectrumMemorySettings(QString* json);
+ virtual ~SWGSpectrumMemorySettings();
+ void init();
+ void cleanup();
+
+ virtual QString asJson () override;
+ virtual QJsonObject* asJsonObject() override;
+ virtual void fromJsonObject(QJsonObject &json) override;
+ virtual SWGSpectrumMemorySettings* fromJson(QString &jsonString) override;
+
+ qint32 getDisplay();
+ void setDisplay(qint32 display);
+
+ qint32 getColor();
+ void setColor(qint32 color);
+
+ QString* getLabel();
+ void setLabel(QString* label);
+
+
+ virtual bool isSet() override;
+
+private:
+ qint32 display;
+ bool m_display_isSet;
+
+ qint32 color;
+ bool m_color_isSet;
+
+ QString* label;
+ bool m_label_isSet;
+
+};
+
+}
+
+#endif /* SWGSpectrumMemorySettings_H_ */
diff --git a/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.cpp
index cbe9abfa2..f7888797e 100644
--- a/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.cpp
@@ -62,6 +62,10 @@ SWGTestSourceSettings::SWGTestSourceSettings() {
m_q_factor_isSet = false;
phase_imbalance = 0.0f;
m_phase_imbalance_isSet = false;
+ period = 0;
+ m_period_isSet = false;
+ duty_cycle = 0;
+ m_duty_cycle_isSet = false;
use_reverse_api = 0;
m_use_reverse_api_isSet = false;
reverse_api_address = nullptr;
@@ -112,6 +116,10 @@ SWGTestSourceSettings::init() {
m_q_factor_isSet = false;
phase_imbalance = 0.0f;
m_phase_imbalance_isSet = false;
+ period = 0;
+ m_period_isSet = false;
+ duty_cycle = 0;
+ m_duty_cycle_isSet = false;
use_reverse_api = 0;
m_use_reverse_api_isSet = false;
reverse_api_address = new QString("");
@@ -144,6 +152,8 @@ SWGTestSourceSettings::cleanup() {
+
+
if(reverse_api_address != nullptr) {
delete reverse_api_address;
}
@@ -196,6 +206,10 @@ SWGTestSourceSettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&phase_imbalance, pJson["phaseImbalance"], "float", "");
+ ::SWGSDRangel::setValue(&period, pJson["period"], "qint32", "");
+
+ ::SWGSDRangel::setValue(&duty_cycle, pJson["dutyCycle"], "qint32", "");
+
::SWGSDRangel::setValue(&use_reverse_api, pJson["useReverseAPI"], "qint32", "");
::SWGSDRangel::setValue(&reverse_api_address, pJson["reverseAPIAddress"], "QString", "QString");
@@ -271,6 +285,12 @@ SWGTestSourceSettings::asJsonObject() {
if(m_phase_imbalance_isSet){
obj->insert("phaseImbalance", QJsonValue(phase_imbalance));
}
+ if(m_period_isSet){
+ obj->insert("period", QJsonValue(period));
+ }
+ if(m_duty_cycle_isSet){
+ obj->insert("dutyCycle", QJsonValue(duty_cycle));
+ }
if(m_use_reverse_api_isSet){
obj->insert("useReverseAPI", QJsonValue(use_reverse_api));
}
@@ -457,6 +477,26 @@ SWGTestSourceSettings::setPhaseImbalance(float phase_imbalance) {
this->m_phase_imbalance_isSet = true;
}
+qint32
+SWGTestSourceSettings::getPeriod() {
+ return period;
+}
+void
+SWGTestSourceSettings::setPeriod(qint32 period) {
+ this->period = period;
+ this->m_period_isSet = true;
+}
+
+qint32
+SWGTestSourceSettings::getDutyCycle() {
+ return duty_cycle;
+}
+void
+SWGTestSourceSettings::setDutyCycle(qint32 duty_cycle) {
+ this->duty_cycle = duty_cycle;
+ this->m_duty_cycle_isSet = true;
+}
+
qint32
SWGTestSourceSettings::getUseReverseApi() {
return use_reverse_api;
@@ -553,6 +593,12 @@ SWGTestSourceSettings::isSet(){
if(m_phase_imbalance_isSet){
isObjectUpdated = true; break;
}
+ if(m_period_isSet){
+ isObjectUpdated = true; break;
+ }
+ if(m_duty_cycle_isSet){
+ isObjectUpdated = true; break;
+ }
if(m_use_reverse_api_isSet){
isObjectUpdated = true; break;
}
diff --git a/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.h b/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.h
index fe3f95dde..261753bd2 100644
--- a/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.h
+++ b/swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.h
@@ -93,6 +93,12 @@ public:
float getPhaseImbalance();
void setPhaseImbalance(float phase_imbalance);
+ qint32 getPeriod();
+ void setPeriod(qint32 period);
+
+ qint32 getDutyCycle();
+ void setDutyCycle(qint32 duty_cycle);
+
qint32 getUseReverseApi();
void setUseReverseApi(qint32 use_reverse_api);
@@ -160,6 +166,12 @@ private:
float phase_imbalance;
bool m_phase_imbalance_isSet;
+ qint32 period;
+ bool m_period_isSet;
+
+ qint32 duty_cycle;
+ bool m_duty_cycle_isSet;
+
qint32 use_reverse_api;
bool m_use_reverse_api_isSet;
diff --git a/swagger/sdrangel/code/qt5/client/SWGVORLocalizerSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGVORLocalizerSettings.cpp
index 33fd41e42..7fe3ca094 100644
--- a/swagger/sdrangel/code/qt5/client/SWGVORLocalizerSettings.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGVORLocalizerSettings.cpp
@@ -210,10 +210,10 @@ SWGVORLocalizerSettings::asJsonObject() {
toJsonValue(QString("rollupState"), rollup_state, obj, QString("SWGRollupState"));
}
if(column_indexes && column_indexes->size() > 0){
- toJsonArray((QList*)column_indexes, obj, "columnIndexes", "qint32");
+ toJsonArray((QList*)column_indexes, obj, "columnIndexes", "");
}
if(column_sizes && column_sizes->size() > 0){
- toJsonArray((QList*)column_sizes, obj, "columnSizes", "qint32");
+ toJsonArray((QList*)column_sizes, obj, "columnSizes", "");
}
return obj;
diff --git a/swagger/sdrangel/code/qt5/client/SWGWDSPRxSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGWDSPRxSettings.cpp
index 38e53dfba..f5ee64999 100644
--- a/swagger/sdrangel/code/qt5/client/SWGWDSPRxSettings.cpp
+++ b/swagger/sdrangel/code/qt5/client/SWGWDSPRxSettings.cpp
@@ -692,10 +692,10 @@ SWGWDSPRxSettings::asJsonObject() {
obj->insert("equalizer", QJsonValue(equalizer));
}
if(eq_f && eq_f->size() > 0){
- toJsonArray((QList*)eq_f, obj, "eqF", "float");
+ toJsonArray((QList*)eq_f, obj, "eqF", "");
}
if(eq_g && eq_g->size() > 0){
- toJsonArray((QList*)eq_g, obj, "eqG", "float");
+ toJsonArray((QList*)eq_g, obj, "eqG", "");
}
if(m_rit_isSet){
obj->insert("rit", QJsonValue(rit));