Browse Source

Regenerate swagger

chirpmodem-v8.0.0
srcejon 2 months ago
parent
commit
162665647c
  1. 1382
      sdrbase/resources/webapi/doc/html2/index.html
  2. 12
      sdrbase/resources/webapi/doc/swagger/include/ADSBDemod.yaml
  3. 8
      sdrbase/resources/webapi/doc/swagger/include/AFC.yaml
  4. 84
      sdrbase/resources/webapi/doc/swagger/include/AIS.yaml
  5. 4
      sdrbase/resources/webapi/doc/swagger/include/AISDemod.yaml
  6. 4
      sdrbase/resources/webapi/doc/swagger/include/AMDemod.yaml
  7. 2
      sdrbase/resources/webapi/doc/swagger/include/AMMod.yaml
  8. 117
      sdrbase/resources/webapi/doc/swagger/include/APRS.yaml
  9. 29
      sdrbase/resources/webapi/doc/swagger/include/ATVDemod.yaml
  10. 16
      sdrbase/resources/webapi/doc/swagger/include/Airspy.yaml
  11. 4
      sdrbase/resources/webapi/doc/swagger/include/AirspyHF.yaml
  12. 26
      sdrbase/resources/webapi/doc/swagger/include/CWKeyer.yaml
  13. 2
      sdrbase/resources/webapi/doc/swagger/include/ChannelActions.yaml
  14. 8
      sdrbase/resources/webapi/doc/swagger/include/ChannelAnalyzer.yaml
  15. 10
      sdrbase/resources/webapi/doc/swagger/include/ChannelMarker.yaml
  16. 2
      sdrbase/resources/webapi/doc/swagger/include/ChannelPower.yaml
  17. 5
      sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml
  18. 2
      sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml
  19. 2
      sdrbase/resources/webapi/doc/swagger/include/ChirpChatDemod.yaml
  20. 2
      sdrbase/resources/webapi/doc/swagger/include/ChirpChatMod.yaml
  21. 6
      sdrbase/resources/webapi/doc/swagger/include/Command.yaml
  22. 100
      sdrbase/resources/webapi/doc/swagger/include/DABDemod.yaml
  23. 8
      sdrbase/resources/webapi/doc/swagger/include/DATVDemod.yaml
  24. 2
      sdrbase/resources/webapi/doc/swagger/include/DATVMod.yaml
  25. 10
      sdrbase/resources/webapi/doc/swagger/include/DOA2.yaml
  26. 4
      sdrbase/resources/webapi/doc/swagger/include/DSDDemod.yaml
  27. 2
      sdrbase/resources/webapi/doc/swagger/include/DeviceActions.yaml
  28. 2
      sdrbase/resources/webapi/doc/swagger/include/DeviceReports.yaml
  29. 2
      sdrbase/resources/webapi/doc/swagger/include/DeviceSettings.yaml
  30. 9
      sdrbase/resources/webapi/doc/swagger/include/FeatureReport.yaml
  31. 72
      sdrbase/resources/webapi/doc/swagger/include/FreqScanner.yaml
  32. 6
      sdrbase/resources/webapi/doc/swagger/include/FreqTracker.yaml
  33. 54
      sdrbase/resources/webapi/doc/swagger/include/GLScope.yaml
  34. 373
      sdrbase/resources/webapi/doc/swagger/include/GLSpectrum.yaml
  35. 2
      sdrbase/resources/webapi/doc/swagger/include/GS232Controller.yaml
  36. 4
      sdrbase/resources/webapi/doc/swagger/include/HackRF.yaml
  37. 2
      sdrbase/resources/webapi/doc/swagger/include/ILSDemod.yaml
  38. 2
      sdrbase/resources/webapi/doc/swagger/include/InmarsatDemod.yaml
  39. 13
      sdrbase/resources/webapi/doc/swagger/include/Interferometer.yaml
  40. 2
      sdrbase/resources/webapi/doc/swagger/include/KiwiSDR.yaml
  41. 8
      sdrbase/resources/webapi/doc/swagger/include/LimeRFE.yaml
  42. 4
      sdrbase/resources/webapi/doc/swagger/include/M17Demod.yaml
  43. 2
      sdrbase/resources/webapi/doc/swagger/include/MCPServer.yaml
  44. 157
      sdrbase/resources/webapi/doc/swagger/include/Map.yaml
  45. 2
      sdrbase/resources/webapi/doc/swagger/include/MeshcoreDemod.yaml
  46. 2
      sdrbase/resources/webapi/doc/swagger/include/MeshcoreMod.yaml
  47. 2
      sdrbase/resources/webapi/doc/swagger/include/MeshtasticDemod.yaml
  48. 2
      sdrbase/resources/webapi/doc/swagger/include/MeshtasticMod.yaml
  49. 2
      sdrbase/resources/webapi/doc/swagger/include/MetisMISO.yaml
  50. 2
      sdrbase/resources/webapi/doc/swagger/include/Perseus.yaml
  51. 14
      sdrbase/resources/webapi/doc/swagger/include/PlutoSdr.yaml
  52. 8
      sdrbase/resources/webapi/doc/swagger/include/Preset.yaml
  53. 6
      sdrbase/resources/webapi/doc/swagger/include/RadioAstronomy.yaml
  54. 2
      sdrbase/resources/webapi/doc/swagger/include/RadioClock.yaml
  55. 91
      sdrbase/resources/webapi/doc/swagger/include/Radiosonde.yaml
  56. 2
      sdrbase/resources/webapi/doc/swagger/include/RemoteTCPInput.yaml
  57. 7
      sdrbase/resources/webapi/doc/swagger/include/RtlSdr.yaml
  58. 2
      sdrbase/resources/webapi/doc/swagger/include/SDRPlay.yaml
  59. 2
      sdrbase/resources/webapi/doc/swagger/include/SDRPlayV3.yaml
  60. 6
      sdrbase/resources/webapi/doc/swagger/include/SID.yaml
  61. 2
      sdrbase/resources/webapi/doc/swagger/include/SSBDemod.yaml
  62. 10
      sdrbase/resources/webapi/doc/swagger/include/SatelliteTracker.yaml
  63. 10
      sdrbase/resources/webapi/doc/swagger/include/SkyMap.yaml
  64. 6
      sdrbase/resources/webapi/doc/swagger/include/StarTracker.yaml
  65. 2
      sdrbase/resources/webapi/doc/swagger/include/TestMOSync.yaml
  66. 9
      sdrbase/resources/webapi/doc/swagger/include/TestSource.yaml
  67. 2
      sdrbase/resources/webapi/doc/swagger/include/USRP.yaml
  68. 8
      sdrbase/resources/webapi/doc/swagger/include/Xtrx.yaml
  69. 1382
      swagger/sdrangel/code/html2/index.html
  70. 23
      swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.cpp
  71. 6
      swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.h
  72. 162
      swagger/sdrangel/code/qt5/client/SWGAISReport.cpp
  73. 73
      swagger/sdrangel/code/qt5/client/SWGAISReport.h
  74. 521
      swagger/sdrangel/code/qt5/client/SWGAISVessel.cpp
  75. 161
      swagger/sdrangel/code/qt5/client/SWGAISVessel.h
  76. 208
      swagger/sdrangel/code/qt5/client/SWGAPRSReport.cpp
  77. 85
      swagger/sdrangel/code/qt5/client/SWGAPRSReport.h
  78. 24
      swagger/sdrangel/code/qt5/client/SWGAPRSSettings.cpp
  79. 584
      swagger/sdrangel/code/qt5/client/SWGAPRSStation.cpp
  80. 179
      swagger/sdrangel/code/qt5/client/SWGAPRSStation.h
  81. 25
      swagger/sdrangel/code/qt5/client/SWGChannelReport.cpp
  82. 7
      swagger/sdrangel/code/qt5/client/SWGChannelReport.h
  83. 586
      swagger/sdrangel/code/qt5/client/SWGDABDemodReport.cpp
  84. 181
      swagger/sdrangel/code/qt5/client/SWGDABDemodReport.h
  85. 133
      swagger/sdrangel/code/qt5/client/SWGDABProgram.cpp
  86. 65
      swagger/sdrangel/code/qt5/client/SWGDABProgram.h
  87. 75
      swagger/sdrangel/code/qt5/client/SWGFeatureReport.cpp
  88. 21
      swagger/sdrangel/code/qt5/client/SWGFeatureReport.h
  89. 750
      swagger/sdrangel/code/qt5/client/SWGGLSpectrum.cpp
  90. 194
      swagger/sdrangel/code/qt5/client/SWGGLSpectrum.h
  91. 798
      swagger/sdrangel/code/qt5/client/SWGMapSettings.cpp
  92. 205
      swagger/sdrangel/code/qt5/client/SWGMapSettings.h
  93. 3
      swagger/sdrangel/code/qt5/client/SWGMeshcoreDemodSettings.cpp
  94. 3
      swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.cpp
  95. 1
      swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.h
  96. 3
      swagger/sdrangel/code/qt5/client/SWGMeshtasticDemodSettings.cpp
  97. 54
      swagger/sdrangel/code/qt5/client/SWGModelFactory.h
  98. 2
      swagger/sdrangel/code/qt5/client/SWGPSK31ModActions_payload.h
  99. 2
      swagger/sdrangel/code/qt5/client/SWGPacketModActions_payload.h
  100. 2
      swagger/sdrangel/code/qt5/client/SWGRTTYModActions_payload.h
  101. Some files were not shown because too many files have changed in this diff Show More

1382
sdrbase/resources/webapi/doc/html2/index.html

File diff suppressed because it is too large Load Diff

12
sdrbase/resources/webapi/doc/swagger/include/ADSBDemod.yaml

@ -16,14 +16,6 @@ ADSBDemodSettings: @@ -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: @@ -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: @@ -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."

8
sdrbase/resources/webapi/doc/swagger/include/AFC.yaml

@ -30,11 +30,11 @@ AFCSettings: @@ -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: @@ -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:

84
sdrbase/resources/webapi/doc/swagger/include/AIS.yaml

@ -39,3 +39,87 @@ AISSettings: @@ -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."

4
sdrbase/resources/webapi/doc/swagger/include/AISDemod.yaml

@ -20,6 +20,8 @@ AISDemodSettings: @@ -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: @@ -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."

4
sdrbase/resources/webapi/doc/swagger/include/AMDemod.yaml

@ -29,6 +29,8 @@ AMDemodSettings: @@ -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: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/AMMod.yaml

@ -13,6 +13,8 @@ AMModSettings: @@ -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

117
sdrbase/resources/webapi/doc/swagger/include/APRS.yaml

@ -111,3 +111,120 @@ APRSSettings: @@ -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."

29
sdrbase/resources/webapi/doc/swagger/include/ATVDemod.yaml

@ -5,8 +5,13 @@ ATVDemodSettings: @@ -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: @@ -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: @@ -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."

16
sdrbase/resources/webapi/doc/swagger/include/Airspy.yaml

@ -16,13 +16,19 @@ AirspySettings: @@ -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: @@ -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

4
sdrbase/resources/webapi/doc/swagger/include/AirspyHF.yaml

@ -16,6 +16,8 @@ AirspyHFSettings: @@ -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: @@ -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

26
sdrbase/resources/webapi/doc/swagger/include/CWKeyer.yaml

@ -7,8 +7,16 @@ CWKeyerSettings: @@ -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: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/ChannelActions.yaml

@ -11,6 +11,8 @@ ChannelActions: @@ -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

8
sdrbase/resources/webapi/doc/swagger/include/ChannelAnalyzer.yaml

@ -65,8 +65,14 @@ ChannelAnalyzerSettings: @@ -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."

10
sdrbase/resources/webapi/doc/swagger/include/ChannelMarker.yaml

@ -12,4 +12,12 @@ ChannelMarker: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/ChannelPower.yaml

@ -8,6 +8,8 @@ ChannelPowerSettings: @@ -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

5
sdrbase/resources/webapi/doc/swagger/include/ChannelReport.yaml

@ -11,6 +11,8 @@ ChannelReport: @@ -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: @@ -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."

2
sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml

@ -11,6 +11,8 @@ ChannelSettings: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/ChirpChatDemod.yaml

@ -189,6 +189,8 @@ ChirpChatDemodReport: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/ChirpChatMod.yaml

@ -53,6 +53,8 @@ ChirpChatModSettings: @@ -53,6 +53,8 @@ ChirpChatModSettings:
syncWord:
description: 2 byte (0..65535) synchronization syncWord
type: integer
minimum: 0
maximum: 65535
channelMute:
description: boolean
type: integer

6
sdrbase/resources/webapi/doc/swagger/include/Command.yaml

@ -14,10 +14,12 @@ Command: @@ -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

100
sdrbase/resources/webapi/doc/swagger/include/DABDemod.yaml

@ -58,3 +58,103 @@ DABDemodSettings: @@ -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."

8
sdrbase/resources/webapi/doc/swagger/include/DATVDemod.yaml

@ -100,6 +100,8 @@ DATVDemodSettings: @@ -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: @@ -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: @@ -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: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/DATVMod.yaml

@ -34,6 +34,8 @@ DATVModSettings: @@ -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

10
sdrbase/resources/webapi/doc/swagger/include/DOA2.yaml

@ -21,9 +21,13 @@ DOA2Settings: @@ -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: @@ -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

4
sdrbase/resources/webapi/doc/swagger/include/DSDDemod.yaml

@ -74,9 +74,13 @@ DSDDemodSettings: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/DeviceActions.yaml

@ -11,6 +11,8 @@ DeviceActions: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/DeviceReports.yaml

@ -11,6 +11,8 @@ DeviceReport: @@ -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."

2
sdrbase/resources/webapi/doc/swagger/include/DeviceSettings.yaml

@ -11,6 +11,8 @@ DeviceSettings: @@ -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

9
sdrbase/resources/webapi/doc/swagger/include/FeatureReport.yaml

@ -7,6 +7,15 @@ FeatureReport: @@ -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."

72
sdrbase/resources/webapi/doc/swagger/include/FreqScanner.yaml

@ -2,18 +2,24 @@ FreqScannerSettings: @@ -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: @@ -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: @@ -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"

6
sdrbase/resources/webapi/doc/swagger/include/FreqTracker.yaml

@ -11,6 +11,8 @@ FreqTrackerSettings: @@ -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: @@ -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: @@ -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

54
sdrbase/resources/webapi/doc/swagger/include/GLScope.yaml

@ -5,8 +5,25 @@ TraceData: @@ -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: @@ -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: @@ -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."

373
sdrbase/resources/webapi/doc/swagger/include/GLSpectrum.yaml

@ -69,12 +69,16 @@ SpectrumAnnotationMarker: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/GS232Controller.yaml

@ -24,6 +24,8 @@ GS232ControllerSettings: @@ -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

4
sdrbase/resources/webapi/doc/swagger/include/HackRF.yaml

@ -26,6 +26,8 @@ HackRFInputSettings: @@ -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: @@ -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."

2
sdrbase/resources/webapi/doc/swagger/include/ILSDemod.yaml

@ -12,6 +12,8 @@ ILSDemodSettings: @@ -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."

2
sdrbase/resources/webapi/doc/swagger/include/InmarsatDemod.yaml

@ -33,6 +33,8 @@ InmarsatDemodSettings: @@ -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."

13
sdrbase/resources/webapi/doc/swagger/include/Interferometer.yaml

@ -2,8 +2,19 @@ InterferometerSettings: @@ -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."

2
sdrbase/resources/webapi/doc/swagger/include/KiwiSDR.yaml

@ -47,6 +47,8 @@ KiwiSDRReport: @@ -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

8
sdrbase/resources/webapi/doc/swagger/include/LimeRFE.yaml

@ -29,6 +29,8 @@ LimeRFESettings: @@ -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: @@ -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: @@ -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: @@ -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

4
sdrbase/resources/webapi/doc/swagger/include/M17Demod.yaml

@ -54,9 +54,13 @@ M17DemodSettings: @@ -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."

2
sdrbase/resources/webapi/doc/swagger/include/MCPServer.yaml

@ -6,6 +6,8 @@ MCPServerSettings: @@ -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

157
sdrbase/resources/webapi/doc/swagger/include/Map.yaml

@ -4,9 +4,166 @@ MapSettings: @@ -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."

2
sdrbase/resources/webapi/doc/swagger/include/MeshcoreDemod.yaml

@ -161,6 +161,8 @@ MeshcoreDemodReport: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/MeshcoreMod.yaml

@ -53,6 +53,8 @@ MeshcoreModSettings: @@ -53,6 +53,8 @@ MeshcoreModSettings:
syncWord:
description: 2 byte (0..65535) synchronization syncWord
type: integer
minimum: 0
maximum: 65535
channelMute:
description: boolean
type: integer

2
sdrbase/resources/webapi/doc/swagger/include/MeshtasticDemod.yaml

@ -161,6 +161,8 @@ MeshtasticDemodReport: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/MeshtasticMod.yaml

@ -53,6 +53,8 @@ MeshtasticModSettings: @@ -53,6 +53,8 @@ MeshtasticModSettings:
syncWord:
description: 2 byte (0..65535) synchronization syncWord
type: integer
minimum: 0
maximum: 65535
channelMute:
description: boolean
type: integer

2
sdrbase/resources/webapi/doc/swagger/include/MetisMISO.yaml

@ -112,6 +112,8 @@ MetisMISOSettings: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/Perseus.yaml

@ -16,6 +16,8 @@ PerseusSettings: @@ -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)

14
sdrbase/resources/webapi/doc/swagger/include/PlutoSdr.yaml

@ -25,12 +25,16 @@ PlutoSdrInputSettings: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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: @@ -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

8
sdrbase/resources/webapi/doc/swagger/include/Preset.yaml

@ -28,8 +28,14 @@ Preset: @@ -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."

6
sdrbase/resources/webapi/doc/swagger/include/RadioAstronomy.yaml

@ -32,15 +32,21 @@ RadioAstronomySettings: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/RadioClock.yaml

@ -8,6 +8,8 @@ RadioClockSettings: @@ -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

91
sdrbase/resources/webapi/doc/swagger/include/Radiosonde.yaml

@ -39,3 +39,94 @@ RadiosondeSettings: @@ -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."

2
sdrbase/resources/webapi/doc/swagger/include/RemoteTCPInput.yaml

@ -34,6 +34,8 @@ RemoteTCPInputSettings: @@ -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

7
sdrbase/resources/webapi/doc/swagger/include/RtlSdr.yaml

@ -12,6 +12,8 @@ RtlSdrSettings: @@ -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: @@ -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."

2
sdrbase/resources/webapi/doc/swagger/include/SDRPlay.yaml

@ -28,6 +28,8 @@ SDRPlaySettings: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/SDRPlayV3.yaml

@ -22,6 +22,8 @@ SDRPlayV3Settings: @@ -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

6
sdrbase/resources/webapi/doc/swagger/include/SID.yaml

@ -12,8 +12,10 @@ SIDSettings: @@ -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."

2
sdrbase/resources/webapi/doc/swagger/include/SSBDemod.yaml

@ -100,6 +100,8 @@ SSBDemodSettings: @@ -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

10
sdrbase/resources/webapi/doc/swagger/include/SatelliteTracker.yaml

@ -81,9 +81,13 @@ SatelliteTrackerSettings: @@ -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: @@ -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

10
sdrbase/resources/webapi/doc/swagger/include/SkyMap.yaml

@ -4,18 +4,28 @@ SkyMapSettings: @@ -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

6
sdrbase/resources/webapi/doc/swagger/include/StarTracker.yaml

@ -94,12 +94,18 @@ StarTrackerSettings: @@ -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."

2
sdrbase/resources/webapi/doc/swagger/include/TestMOSync.yaml

@ -14,6 +14,8 @@ TestMOSyncSettings: @@ -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

9
sdrbase/resources/webapi/doc/swagger/include/TestSource.yaml

@ -57,6 +57,15 @@ TestSourceSettings: @@ -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

2
sdrbase/resources/webapi/doc/swagger/include/USRP.yaml

@ -39,6 +39,8 @@ USRPInputSettings: @@ -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."

8
sdrbase/resources/webapi/doc/swagger/include/Xtrx.yaml

@ -241,6 +241,8 @@ XtrxMIMOSettings: @@ -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: @@ -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: @@ -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: @@ -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

1382
swagger/sdrangel/code/html2/index.html

File diff suppressed because it is too large Load Diff

23
swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.cpp

@ -36,8 +36,6 @@ SWGADSBDemodSettings::SWGADSBDemodSettings() { @@ -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() { @@ -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() { @@ -202,7 +198,6 @@ SWGADSBDemodSettings::cleanup() {
if(export_client_host != nullptr) {
delete export_client_host;
}
@ -279,8 +274,6 @@ SWGADSBDemodSettings::fromJsonObject(QJsonObject &pJson) { @@ -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() { @@ -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) { @@ -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(){ @@ -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;
}

6
swagger/sdrangel/code/qt5/client/SWGADSBDemodSettings.h

@ -56,9 +56,6 @@ public: @@ -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: @@ -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;

162
swagger/sdrangel/code/qt5/client/SWGAISReport.cpp

@ -0,0 +1,162 @@ @@ -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 <QJsonDocument>
#include <QJsonArray>
#include <QObject>
#include <QDebug>
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<SWGAISVessel*>();
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<void*>*)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<SWGAISVessel*>*
SWGAISReport::getVessels() {
return vessels;
}
void
SWGAISReport::setVessels(QList<SWGAISVessel*>* 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;
}
}

73
swagger/sdrangel/code/qt5/client/SWGAISReport.h

@ -0,0 +1,73 @@ @@ -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 <QJsonObject>
#include "SWGAISVessel.h"
#include <QList>
#include <QString>
#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<SWGAISVessel*>* getVessels();
void setVessels(QList<SWGAISVessel*>* 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<SWGAISVessel*>* vessels;
bool m_vessels_isSet;
};
}
#endif /* SWGAISReport_H_ */

521
swagger/sdrangel/code/qt5/client/SWGAISVessel.cpp

@ -0,0 +1,521 @@ @@ -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 <QJsonDocument>
#include <QJsonArray>
#include <QObject>
#include <QDebug>
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;
}
}

161
swagger/sdrangel/code/qt5/client/SWGAISVessel.h

@ -0,0 +1,161 @@ @@ -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 <QJsonObject>
#include <QString>
#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_ */

208
swagger/sdrangel/code/qt5/client/SWGAPRSReport.cpp

@ -0,0 +1,208 @@ @@ -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 <QJsonDocument>
#include <QJsonArray>
#include <QObject>
#include <QDebug>
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<SWGAPRSStation*>();
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<void*>*)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<SWGAPRSStation*>*
SWGAPRSReport::getStations() {
return stations;
}
void
SWGAPRSReport::setStations(QList<SWGAPRSStation*>* 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;
}
}

85
swagger/sdrangel/code/qt5/client/SWGAPRSReport.h

@ -0,0 +1,85 @@ @@ -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 <QJsonObject>
#include "SWGAPRSStation.h"
#include <QList>
#include <QString>
#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<SWGAPRSStation*>* getStations();
void setStations(QList<SWGAPRSStation*>* 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<SWGAPRSStation*>* stations;
bool m_stations_isSet;
};
}
#endif /* SWGAPRSReport_H_ */

24
swagger/sdrangel/code/qt5/client/SWGAPRSSettings.cpp

@ -308,40 +308,40 @@ SWGAPRSSettings::asJsonObject() { @@ -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<void*>*)packets_table_column_indexes, obj, "packetsTableColumnIndexes", "qint32");
toJsonArray((QList<void*>*)packets_table_column_indexes, obj, "packetsTableColumnIndexes", "");
}
if(packets_table_column_sizes && packets_table_column_sizes->size() > 0){
toJsonArray((QList<void*>*)packets_table_column_sizes, obj, "packetsTableColumnSizes", "qint32");
toJsonArray((QList<void*>*)packets_table_column_sizes, obj, "packetsTableColumnSizes", "");
}
if(weather_table_column_indexes && weather_table_column_indexes->size() > 0){
toJsonArray((QList<void*>*)weather_table_column_indexes, obj, "weatherTableColumnIndexes", "qint32");
toJsonArray((QList<void*>*)weather_table_column_indexes, obj, "weatherTableColumnIndexes", "");
}
if(weather_table_column_sizes && weather_table_column_sizes->size() > 0){
toJsonArray((QList<void*>*)weather_table_column_sizes, obj, "weatherTableColumnSizes", "qint32");
toJsonArray((QList<void*>*)weather_table_column_sizes, obj, "weatherTableColumnSizes", "");
}
if(status_table_column_indexes && status_table_column_indexes->size() > 0){
toJsonArray((QList<void*>*)status_table_column_indexes, obj, "statusTableColumnIndexes", "qint32");
toJsonArray((QList<void*>*)status_table_column_indexes, obj, "statusTableColumnIndexes", "");
}
if(status_table_column_sizes && status_table_column_sizes->size() > 0){
toJsonArray((QList<void*>*)status_table_column_sizes, obj, "statusTableColumnSizes", "qint32");
toJsonArray((QList<void*>*)status_table_column_sizes, obj, "statusTableColumnSizes", "");
}
if(messages_table_column_indexes && messages_table_column_indexes->size() > 0){
toJsonArray((QList<void*>*)messages_table_column_indexes, obj, "messagesTableColumnIndexes", "qint32");
toJsonArray((QList<void*>*)messages_table_column_indexes, obj, "messagesTableColumnIndexes", "");
}
if(messages_table_column_sizes && messages_table_column_sizes->size() > 0){
toJsonArray((QList<void*>*)messages_table_column_sizes, obj, "messagesTableColumnSizes", "qint32");
toJsonArray((QList<void*>*)messages_table_column_sizes, obj, "messagesTableColumnSizes", "");
}
if(telemetry_table_column_indexes && telemetry_table_column_indexes->size() > 0){
toJsonArray((QList<void*>*)telemetry_table_column_indexes, obj, "telemetryTableColumnIndexes", "qint32");
toJsonArray((QList<void*>*)telemetry_table_column_indexes, obj, "telemetryTableColumnIndexes", "");
}
if(telemetry_table_column_sizes && telemetry_table_column_sizes->size() > 0){
toJsonArray((QList<void*>*)telemetry_table_column_sizes, obj, "telemetryTableColumnSizes", "qint32");
toJsonArray((QList<void*>*)telemetry_table_column_sizes, obj, "telemetryTableColumnSizes", "");
}
if(motion_table_column_indexes && motion_table_column_indexes->size() > 0){
toJsonArray((QList<void*>*)motion_table_column_indexes, obj, "motionTableColumnIndexes", "qint32");
toJsonArray((QList<void*>*)motion_table_column_indexes, obj, "motionTableColumnIndexes", "");
}
if(motion_table_column_sizes && motion_table_column_sizes->size() > 0){
toJsonArray((QList<void*>*)motion_table_column_sizes, obj, "motionTableColumnSizes", "qint32");
toJsonArray((QList<void*>*)motion_table_column_sizes, obj, "motionTableColumnSizes", "");
}
return obj;

584
swagger/sdrangel/code/qt5/client/SWGAPRSStation.cpp

@ -0,0 +1,584 @@ @@ -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 <QJsonDocument>
#include <QJsonArray>
#include <QObject>
#include <QDebug>
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;
}
}

179
swagger/sdrangel/code/qt5/client/SWGAPRSStation.h

@ -0,0 +1,179 @@ @@ -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 <QJsonObject>
#include <QString>
#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_ */

25
swagger/sdrangel/code/qt5/client/SWGChannelReport.cpp

@ -46,6 +46,8 @@ SWGChannelReport::SWGChannelReport() { @@ -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() { @@ -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() { @@ -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) { @@ -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() { @@ -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) { @@ -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(){ @@ -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;
}

7
swagger/sdrangel/code/qt5/client/SWGChannelReport.h

@ -32,6 +32,7 @@ @@ -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: @@ -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: @@ -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;

586
swagger/sdrangel/code/qt5/client/SWGDABDemodReport.cpp

@ -0,0 +1,586 @@ @@ -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 <QJsonDocument>
#include <QJsonArray>
#include <QObject>
#include <QDebug>
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<SWG#/DABProgram*>();
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<void*>*)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<SWG#/DABProgram*>*
SWGDABDemodReport::getPrograms() {
return programs;
}
void
SWGDABDemodReport::setPrograms(QList<SWG#/DABProgram*>* 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;
}
}

181
swagger/sdrangel/code/qt5/client/SWGDABDemodReport.h

@ -0,0 +1,181 @@ @@ -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 <QJsonObject>
#include "SWG#/DABProgram.h"
#include <QList>
#include <QString>
#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<SWG#/DABProgram*>* getPrograms();
void setPrograms(QList<SWG#/DABProgram*>* 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<SWG#/DABProgram*>* 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_ */

133
swagger/sdrangel/code/qt5/client/SWGDABProgram.cpp

@ -0,0 +1,133 @@ @@ -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 <QJsonDocument>
#include <QJsonArray>
#include <QObject>
#include <QDebug>
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;
}
}

65
swagger/sdrangel/code/qt5/client/SWGDABProgram.h

@ -0,0 +1,65 @@ @@ -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 <QJsonObject>
#include <QString>
#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_ */

75
swagger/sdrangel/code/qt5/client/SWGFeatureReport.cpp

@ -30,6 +30,12 @@ SWGFeatureReport::SWGFeatureReport(QString* json) { @@ -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 @@ -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() { @@ -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 @@ -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() { @@ -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) { @@ -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(){ @@ -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;
}

21
swagger/sdrangel/code/qt5/client/SWGFeatureReport.h

@ -23,13 +23,16 @@ @@ -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: @@ -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: @@ -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;

750
swagger/sdrangel/code/qt5/client/SWGGLSpectrum.cpp

@ -42,6 +42,68 @@ SWGGLSpectrum::SWGGLSpectrum() { @@ -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() { @@ -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() { @@ -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<SWGSpectrumMemorySettings*>();
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() { @@ -164,6 +290,8 @@ SWGGLSpectrum::init() {
m_histogram_markers_isSet = false;
waterfall_markers = new QList<SWGSpectrumWaterfallMarker*>();
m_waterfall_markers_isSet = false;
annotation_markers_mode = 0;
m_annotation_markers_mode_isSet = false;
annotation_markers = new QList<SWGSpectrumAnnotationMarker*>();
m_annotation_markers_isSet = false;
calibration_points = new QList<SWGSpectrumCalibrationPoint*>();
@ -182,6 +310,51 @@ SWGGLSpectrum::cleanup() { @@ -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() { @@ -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) { @@ -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) { @@ -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() { @@ -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<void*>*)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() { @@ -419,6 +750,9 @@ SWGGLSpectrum::asJsonObject() {
if(waterfall_markers && waterfall_markers->size() > 0){
toJsonArray((QList<void*>*)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<void*>*)annotation_markers, obj, "annotationMarkers", "SWGSpectrumAnnotationMarker");
}
@ -499,6 +833,316 @@ SWGGLSpectrum::setDisplayWaterfall(qint32 display_waterfall) { @@ -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<SWGSpectrumMemorySettings*>*
SWGGLSpectrum::getSpectrumMemory() {
return spectrum_memory;
}
void
SWGGLSpectrum::setSpectrumMemory(QList<SWGSpectrumMemorySettings*>* 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<SWGSpectrumWaterfallMarker*>* waterfall @@ -739,6 +1383,16 @@ SWGGLSpectrum::setWaterfallMarkers(QList<SWGSpectrumWaterfallMarker*>* 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<SWGSpectrumAnnotationMarker*>*
SWGGLSpectrum::getAnnotationMarkers() {
return annotation_markers;
@ -785,6 +1439,99 @@ SWGGLSpectrum::isSet(){ @@ -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(){ @@ -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;
}

194
swagger/sdrangel/code/qt5/client/SWGGLSpectrum.h

@ -22,9 +22,11 @@ @@ -22,9 +22,11 @@
#include <QJsonObject>
#include "SWGNumber.h"
#include "SWGSpectrumAnnotationMarker.h"
#include "SWGSpectrumCalibrationPoint.h"
#include "SWGSpectrumHistogramMarker.h"
#include "SWGSpectrumMemorySettings.h"
#include "SWGSpectrumWaterfallMarker.h"
#include <QList>
#include <QString>
@ -68,6 +70,99 @@ public: @@ -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<SWGSpectrumMemorySettings*>* getSpectrumMemory();
void setSpectrumMemory(QList<SWGSpectrumMemorySettings*>* spectrum_memory);
qint32 getSpectrumColor();
void setSpectrumColor(qint32 spectrum_color);
qint32 getInvertedWaterfall();
void setInvertedWaterfall(qint32 inverted_waterfall);
@ -140,6 +235,9 @@ public: @@ -140,6 +235,9 @@ public:
QList<SWGSpectrumWaterfallMarker*>* getWaterfallMarkers();
void setWaterfallMarkers(QList<SWGSpectrumWaterfallMarker*>* waterfall_markers);
qint32 getAnnotationMarkersMode();
void setAnnotationMarkersMode(qint32 annotation_markers_mode);
QList<SWGSpectrumAnnotationMarker*>* getAnnotationMarkers();
void setAnnotationMarkers(QList<SWGSpectrumAnnotationMarker*>* annotation_markers);
@ -171,6 +269,99 @@ private: @@ -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<SWGSpectrumMemorySettings*>* 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: @@ -243,6 +434,9 @@ private:
QList<SWGSpectrumWaterfallMarker*>* waterfall_markers;
bool m_waterfall_markers_isSet;
qint32 annotation_markers_mode;
bool m_annotation_markers_mode_isSet;
QList<SWGSpectrumAnnotationMarker*>* annotation_markers;
bool m_annotation_markers_isSet;

798
swagger/sdrangel/code/qt5/client/SWGMapSettings.cpp

@ -30,8 +30,76 @@ SWGMapSettings::SWGMapSettings(QString* json) { @@ -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 @@ -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() { @@ -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 @@ -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() { @@ -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) { @@ -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) { @@ -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(){ @@ -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;
}

205
swagger/sdrangel/code/qt5/client/SWGMapSettings.h

@ -22,6 +22,7 @@ @@ -22,6 +22,7 @@
#include <QJsonObject>
#include "SWGNumber.h"
#include "SWGRollupState.h"
#include <QString>
@ -46,9 +47,111 @@ public: @@ -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: @@ -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;

3
swagger/sdrangel/code/qt5/client/SWGMeshcoreDemodSettings.cpp

@ -160,6 +160,7 @@ SWGMeshcoreDemodSettings::cleanup() { @@ -160,6 +160,7 @@ SWGMeshcoreDemodSettings::cleanup() {
if(udp_address != nullptr) {
delete udp_address;
}
@ -220,7 +221,7 @@ SWGMeshcoreDemodSettings::fromJsonObject(QJsonObject &pJson) { @@ -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", "");

3
swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.cpp

@ -44,6 +44,7 @@ SWGMeshcoreModActions::init() { @@ -44,6 +44,7 @@ SWGMeshcoreModActions::init() {
void
SWGMeshcoreModActions::cleanup() {
}
SWGMeshcoreModActions*
@ -58,7 +59,7 @@ SWGMeshcoreModActions::fromJson(QString &json) { @@ -58,7 +59,7 @@ SWGMeshcoreModActions::fromJson(QString &json) {
void
SWGMeshcoreModActions::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&send_now, pJson["sendNow"], "qint32", "");
}
QString

1
swagger/sdrangel/code/qt5/client/SWGMeshcoreModActions.h

@ -22,6 +22,7 @@ @@ -22,6 +22,7 @@
#include <QJsonObject>
#include "SWGObject.h"
#include "export.h"

3
swagger/sdrangel/code/qt5/client/SWGMeshtasticDemodSettings.cpp

@ -160,6 +160,7 @@ SWGMeshtasticDemodSettings::cleanup() { @@ -160,6 +160,7 @@ SWGMeshtasticDemodSettings::cleanup() {
if(udp_address != nullptr) {
delete udp_address;
}
@ -220,7 +221,7 @@ SWGMeshtasticDemodSettings::fromJsonObject(QJsonObject &pJson) { @@ -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", "");

54
swagger/sdrangel/code/qt5/client/SWGModelFactory.h

@ -25,7 +25,9 @@ @@ -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 @@ @@ -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 @@ @@ -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 @@ @@ -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 @@ @@ -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 { @@ -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 { @@ -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 { @@ -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 { @@ -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 { @@ -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 { @@ -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();

2
swagger/sdrangel/code/qt5/client/SWGPSK31ModActions_payload.h

@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
/*
* SWGPSK31ModActions_payload.h
*
*
* Payload data.
*/
#ifndef SWGPSK31ModActions_payload_H_

2
swagger/sdrangel/code/qt5/client/SWGPacketModActions_payload.h

@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
/*
* SWGPacketModActions_payload.h
*
*
* Payload data.
*/
#ifndef SWGPacketModActions_payload_H_

2
swagger/sdrangel/code/qt5/client/SWGRTTYModActions_payload.h

@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
/*
* SWGRTTYModActions_payload.h
*
*
* Payload data.
*/
#ifndef SWGRTTYModActions_payload_H_

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save