diff --git a/swagger/sdrangel/api/swagger/include/Airspy.yaml b/swagger/sdrangel/api/swagger/include/Airspy.yaml index ed660ce46..804b60a42 100644 --- a/swagger/sdrangel/api/swagger/include/Airspy.yaml +++ b/swagger/sdrangel/api/swagger/include/Airspy.yaml @@ -56,3 +56,13 @@ AirspyReport: type: array items: $ref: "http://localhost:8081/api/swagger/include/Structs.yaml#/SampleRate" + +AirspyActions: + description: Airspy + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording diff --git a/swagger/sdrangel/api/swagger/include/AirspyHF.yaml b/swagger/sdrangel/api/swagger/include/AirspyHF.yaml index c6da49ac9..a3079697d 100644 --- a/swagger/sdrangel/api/swagger/include/AirspyHF.yaml +++ b/swagger/sdrangel/api/swagger/include/AirspyHF.yaml @@ -55,3 +55,13 @@ AirspyHFReport: type: array items: $ref: "http://localhost:8081/api/swagger/include/Structs.yaml#/SampleRate" + +AirspyHFActions: + description: AirspyHF + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording \ No newline at end of file diff --git a/swagger/sdrangel/api/swagger/include/BladeRF1.yaml b/swagger/sdrangel/api/swagger/include/BladeRF1.yaml index d6232ef87..e97460bdc 100644 --- a/swagger/sdrangel/api/swagger/include/BladeRF1.yaml +++ b/swagger/sdrangel/api/swagger/include/BladeRF1.yaml @@ -40,6 +40,16 @@ BladeRF1InputSettings: reverseAPIDeviceIndex: type: integer +BladeRF1InputActions: + description: BladeRF1 + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording + BladeRF1OutputSettings: description: BladeRF1 properties: diff --git a/swagger/sdrangel/api/swagger/include/DeviceActions.yaml b/swagger/sdrangel/api/swagger/include/DeviceActions.yaml index 5f77e3a3b..9c0ae6920 100644 --- a/swagger/sdrangel/api/swagger/include/DeviceActions.yaml +++ b/swagger/sdrangel/api/swagger/include/DeviceActions.yaml @@ -14,5 +14,37 @@ DeviceActions: originatorIndex: description: Optional for reverse API. This is the device set index from where the message comes from. type: integer + airspyActions: + $ref: "http://localhost:8081/api/swagger/include/Airspy.yaml#/AirspyActions" + airspyHFActions: + $ref: "http://localhost:8081/api/swagger/include/AirspyHF.yaml#/AirspyHFActions" + bladeRF1InputActions: + $ref: "http://localhost:8081/api/swagger/include/BladeRF1.yaml#/BladeRF1InputActions" + fcdProActions: + $ref: "http://localhost:8081/api/swagger/include/FCDPro.yaml#/FCDProActions" + fcdProPlusActions: + $ref: "http://localhost:8081/api/swagger/include/FCDProPlus.yaml#/FCDProPlusActions" + hackRFInputActions: + $ref: "http://localhost:8081/api/swagger/include/HackRF.yaml#/HackRFInputActions" + kiwiSDRActions: + $ref: "http://localhost:8081/api/swagger/include/KiwiSDR.yaml#/KiwiSDRActions" + limeSdrInputActions: + $ref: "http://localhost:8081/api/swagger/include/LimeSdr.yaml#/LimeSdrInputActions" + localInputActions: + $ref: "http://localhost:8081/api/swagger/include/LocalInput.yaml#/LocalInputActions" + perseusActions: + $ref: "http://localhost:8081/api/swagger/include/Perseus.yaml#/PerseusActions" + plutoSdrInputActions: + $ref: "http://localhost:8081/api/swagger/include/PlutoSdr.yaml#/PlutoSdrInputActions" + remoteInputActions: + $ref: "http://localhost:8081/api/swagger/include/RemoteInput.yaml#/RemoteInputActions" rtlSdrActions: $ref: "http://localhost:8081/api/swagger/include/RtlSdr.yaml#/RtlSdrActions" + sdrPlayActions: + $ref: "http://localhost:8081/api/swagger/include/SDRPlay.yaml#/SDRPlayActions" + soapySDRInputActions: + $ref: "http://localhost:8081/api/swagger/include/SoapySDR.yaml#/SoapySDRInputActions" + testSourceActions: + $ref: "http://localhost:8081/api/swagger/include/TestSource.yaml#/TestSourceActions" + xtrxInputActions: + $ref: "http://localhost:8081/api/swagger/include/Xtrx.yaml#/XtrxInputActions" diff --git a/swagger/sdrangel/api/swagger/include/FCDPro.yaml b/swagger/sdrangel/api/swagger/include/FCDPro.yaml index 9c0f12bdb..98d949bc1 100644 --- a/swagger/sdrangel/api/swagger/include/FCDPro.yaml +++ b/swagger/sdrangel/api/swagger/include/FCDPro.yaml @@ -63,3 +63,12 @@ FCDProSettings: reverseAPIDeviceIndex: type: integer +FCDProActions: + description: FCDPro + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording diff --git a/swagger/sdrangel/api/swagger/include/FCDProPlus.yaml b/swagger/sdrangel/api/swagger/include/FCDProPlus.yaml index aa6f55b97..b8c95ce96 100644 --- a/swagger/sdrangel/api/swagger/include/FCDProPlus.yaml +++ b/swagger/sdrangel/api/swagger/include/FCDProPlus.yaml @@ -48,3 +48,13 @@ FCDProPlusSettings: type: integer reverseAPIDeviceIndex: type: integer + +FCDProPlusActions: + description: FCDProPlus + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording diff --git a/swagger/sdrangel/api/swagger/include/HackRF.yaml b/swagger/sdrangel/api/swagger/include/HackRF.yaml index 21b221d06..7b6d93bd5 100644 --- a/swagger/sdrangel/api/swagger/include/HackRF.yaml +++ b/swagger/sdrangel/api/swagger/include/HackRF.yaml @@ -44,6 +44,16 @@ HackRFInputSettings: reverseAPIDeviceIndex: type: integer +HackRFInputActions: + description: HackRF + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording + HackRFOutputSettings: description: HackRF properties: @@ -81,3 +91,4 @@ HackRFOutputSettings: type: integer reverseAPIDeviceIndex: type: integer + diff --git a/swagger/sdrangel/api/swagger/include/KiwiSDR.yaml b/swagger/sdrangel/api/swagger/include/KiwiSDR.yaml index cb3dee599..e93a06560 100644 --- a/swagger/sdrangel/api/swagger/include/KiwiSDR.yaml +++ b/swagger/sdrangel/api/swagger/include/KiwiSDR.yaml @@ -32,3 +32,13 @@ KiwiSDRReport: status: description: 0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected type: integer + +KiwiSDRActions: + description: KiwiSDR + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording diff --git a/swagger/sdrangel/api/swagger/include/LimeSdr.yaml b/swagger/sdrangel/api/swagger/include/LimeSdr.yaml index eb7921cd0..3f7f54b1d 100644 --- a/swagger/sdrangel/api/swagger/include/LimeSdr.yaml +++ b/swagger/sdrangel/api/swagger/include/LimeSdr.yaml @@ -1,6 +1,6 @@ LimeSdrInputSettings: description: LimeSDR - properties: + properties: centerFrequency: type: integer format: int64 @@ -14,37 +14,37 @@ LimeSdrInputSettings: type: integer log2SoftDecim: type: integer - lpfBW: + lpfBW: type: integer - lpfFIREnable: + lpfFIREnable: type: integer - lpfFIRBW: + lpfFIRBW: type: integer - gain: + gain: type: integer - ncoEnable: + ncoEnable: type: integer - ncoFrequency: + ncoFrequency: type: integer antennaPath: type: integer - gainMode: + gainMode: type: integer - lnaGain: + lnaGain: type: integer - tiaGain: + tiaGain: type: integer - pgaGain: + pgaGain: type: integer - extClock: + extClock: type: integer - extClockFreq: + extClockFreq: type: integer transverterMode: type: integer transverterDeltaFrequency: type: integer - format: int64 + format: int64 fileRecordName: type: string gpioDir: @@ -61,11 +61,11 @@ LimeSdrInputSettings: reverseAPIPort: type: integer reverseAPIDeviceIndex: - type: integer - + type: integer + LimeSdrOutputSettings: description: LimeSDR - properties: + properties: centerFrequency: type: integer format: int64 @@ -75,29 +75,29 @@ LimeSdrOutputSettings: type: integer log2SoftInterp: type: integer - lpfBW: + lpfBW: type: integer - lpfFIREnable: + lpfFIREnable: type: integer - lpfFIRBW: + lpfFIRBW: type: integer - gain: + gain: type: integer - ncoEnable: + ncoEnable: type: integer - ncoFrequency: + ncoFrequency: type: integer antennaPath: type: integer - extClock: + extClock: type: integer - extClockFreq: + extClockFreq: type: integer transverterMode: type: integer transverterDeltaFrequency: type: integer - format: int64 + format: int64 gpioDir: type: integer format: int8 @@ -112,11 +112,11 @@ LimeSdrOutputSettings: reverseAPIPort: type: integer reverseAPIDeviceIndex: - type: integer + type: integer LimeSdrInputReport: description: LimeSDR - properties: + properties: success: description: 1 if info was successfullt retrieved else 0 type: integer @@ -127,11 +127,11 @@ LimeSdrInputReport: type: integer fifoFill: type: integer - underrunCount: + underrunCount: type: integer - overrunCount: + overrunCount: type: integer - droppedPacketsCount: + droppedPacketsCount: type: integer linkRate: type: number @@ -145,14 +145,24 @@ LimeSdrInputReport: format: float gpioDir: type: integer - format: int8 + format: int8 gpioPins: type: integer format: int8 +LimeSdrInputActions: + description: LimeSDR + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording + LimeSdrOutputReport: description: LimeSDR - properties: + properties: success: description: 1 if info was successfullt retrieved else 0 type: integer @@ -163,11 +173,11 @@ LimeSdrOutputReport: type: integer fifoFill: type: integer - underrunCount: + underrunCount: type: integer - overrunCount: + overrunCount: type: integer - droppedPacketsCount: + droppedPacketsCount: type: integer linkRate: type: number @@ -178,11 +188,10 @@ LimeSdrOutputReport: format: uint64 temperature: type: number - format: float + format: float gpioDir: type: integer - format: int8 + format: int8 gpioPins: type: integer format: int8 - \ No newline at end of file diff --git a/swagger/sdrangel/api/swagger/include/LocalInput.yaml b/swagger/sdrangel/api/swagger/include/LocalInput.yaml index 526da2517..decc03bb9 100644 --- a/swagger/sdrangel/api/swagger/include/LocalInput.yaml +++ b/swagger/sdrangel/api/swagger/include/LocalInput.yaml @@ -25,3 +25,13 @@ LocalInputReport: format: uint64 sampleRate: type: integer + +LocalInputActions: + description: LocalInput + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording \ No newline at end of file diff --git a/swagger/sdrangel/api/swagger/include/Perseus.yaml b/swagger/sdrangel/api/swagger/include/Perseus.yaml index 19e079a75..aa79d1c7e 100644 --- a/swagger/sdrangel/api/swagger/include/Perseus.yaml +++ b/swagger/sdrangel/api/swagger/include/Perseus.yaml @@ -46,3 +46,13 @@ PerseusReport: type: array items: $ref: "http://localhost:8081/api/swagger/include/Structs.yaml#/SampleRate" + +PerseusActions: + description: Perseus + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording \ No newline at end of file diff --git a/swagger/sdrangel/api/swagger/include/PlutoSdr.yaml b/swagger/sdrangel/api/swagger/include/PlutoSdr.yaml index 9ea5009b8..60192fee7 100644 --- a/swagger/sdrangel/api/swagger/include/PlutoSdr.yaml +++ b/swagger/sdrangel/api/swagger/include/PlutoSdr.yaml @@ -131,4 +131,14 @@ PlutoSdrOutputReport: type: string temperature: type: number - format: float \ No newline at end of file + format: float + +PlutoSdrInputActions: + description: PlutoSDR + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording diff --git a/swagger/sdrangel/api/swagger/include/RemoteInput.yaml b/swagger/sdrangel/api/swagger/include/RemoteInput.yaml index 709c00a67..832de6cd3 100644 --- a/swagger/sdrangel/api/swagger/include/RemoteInput.yaml +++ b/swagger/sdrangel/api/swagger/include/RemoteInput.yaml @@ -45,3 +45,13 @@ RemoteInputReport: maxNbRecovery: description: Maximum number of recovery blocks used per frame type: integer + +RemoteInputActions: + description: RemoteInput + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording \ No newline at end of file diff --git a/swagger/sdrangel/api/swagger/include/SDRPlay.yaml b/swagger/sdrangel/api/swagger/include/SDRPlay.yaml index 51e1e819c..3cc8f7df7 100644 --- a/swagger/sdrangel/api/swagger/include/SDRPlay.yaml +++ b/swagger/sdrangel/api/swagger/include/SDRPlay.yaml @@ -64,3 +64,13 @@ SDRPlayReport: type: array items: $ref: "http://localhost:8081/api/swagger/include/Structs.yaml#/FrequencyBand" + +SDRPlayActions: + description: SDRplay1 + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording \ No newline at end of file diff --git a/swagger/sdrangel/api/swagger/include/SoapySDR.yaml b/swagger/sdrangel/api/swagger/include/SoapySDR.yaml index 1222dffb9..8576d40a8 100644 --- a/swagger/sdrangel/api/swagger/include/SoapySDR.yaml +++ b/swagger/sdrangel/api/swagger/include/SoapySDR.yaml @@ -245,4 +245,12 @@ definitions: items: type: string - +SoapySDRInputActions: + description: SoapySDR + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording \ No newline at end of file diff --git a/swagger/sdrangel/api/swagger/include/TestSource.yaml b/swagger/sdrangel/api/swagger/include/TestSource.yaml index 4c4d6ae96..bb8499d37 100644 --- a/swagger/sdrangel/api/swagger/include/TestSource.yaml +++ b/swagger/sdrangel/api/swagger/include/TestSource.yaml @@ -28,7 +28,7 @@ TestSourceSettings: type: integer dcFactor: type: number - format: float + format: float iFactor: type: number format: float @@ -48,5 +48,14 @@ TestSourceSettings: reverseAPIPort: type: integer reverseAPIDeviceIndex: - type: integer - \ No newline at end of file + type: integer + +TestSourceActions: + description: TestSource + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording \ No newline at end of file diff --git a/swagger/sdrangel/api/swagger/include/Xtrx.yaml b/swagger/sdrangel/api/swagger/include/Xtrx.yaml index b1d6e0b24..abaea7388 100644 --- a/swagger/sdrangel/api/swagger/include/Xtrx.yaml +++ b/swagger/sdrangel/api/swagger/include/Xtrx.yaml @@ -1,6 +1,6 @@ XtrxInputSettings: description: XTRX - properties: + properties: centerFrequency: type: integer format: int64 @@ -24,16 +24,16 @@ XtrxInputSettings: type: integer ncoEnable: description: Enable TSP NCO and mixing (1 for yes, 0 for no) - type: integer + type: integer ncoFrequency: description: Frequency shift from LO type: integer antennaPath: description: Antenna selected (enum value from xtrx_antenna_t) - type: integer + type: integer gainMode: description: Gain mode auto or manual (enum value from GainMode) - type: integer + type: integer lnaGain: description: Manual LNA gain type: integer @@ -42,16 +42,16 @@ XtrxInputSettings: type: integer pgaGain: description: Manual PGA gain - type: integer + type: integer extClock: description: Use external clock source (1 for yes, 0 for no) - type: integer + type: integer extClockFreq: description: Frequency (Hz) of external clock source type: integer pwrmode: description: LMS power mode (0 save max to 7 perf max) - type: integer + type: integer fileRecordName: type: string useReverseAPI: @@ -62,11 +62,11 @@ XtrxInputSettings: reverseAPIPort: type: integer reverseAPIDeviceIndex: - type: integer + type: integer XtrxInputReport: description: XTRX - properties: + properties: success: description: 1 if info was successfully retrieved else 0 type: integer @@ -80,10 +80,20 @@ XtrxInputReport: gpsLock: description: 1 if GPSDO is locked else 0 type: integer - + +XtrxInputActions: + description: XTRX + properties: + record: + type: integer + description: > + Record IQ stream action + * 0 - stop recording + * 1 - start recording + XtrxOutputSettings: description: XTRX - properties: + properties: centerFrequency: type: integer format: int64 @@ -101,22 +111,22 @@ XtrxOutputSettings: type: integer ncoEnable: description: Enable TSP NCO and mixing (1 for yes, 0 for no) - type: integer + type: integer ncoFrequency: description: Frequency shift from LO type: integer antennaPath: description: Antenna selected (enum value from xtrx_antenna_t) - type: integer + type: integer extClock: description: Use external clock source (1 for yes, 0 for no) - type: integer + type: integer extClockFreq: description: Frequency (Hz) of external clock source type: integer pwrmode: description: LMS power mode (0 save max to 7 perf max) - type: integer + type: integer useReverseAPI: description: Synchronize with reverse API (1 for yes, 0 for no) type: integer @@ -125,11 +135,11 @@ XtrxOutputSettings: reverseAPIPort: type: integer reverseAPIDeviceIndex: - type: integer + type: integer XtrxOutputReport: description: XTRX - properties: + properties: success: description: 1 if info was successfully retrieved else 0 type: integer @@ -142,4 +152,4 @@ XtrxOutputReport: format: float gpsLock: description: 1 if GPSDO is locked else 0 - type: integer \ No newline at end of file + type: integer \ No newline at end of file