1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-27 04:24:12 -04:00

SoapySDR support: REST API: input: format settings and report

This commit is contained in:
f4exb
2018-11-14 02:06:36 +01:00
parent 89899a48d3
commit 7a171aed1d
17 changed files with 946 additions and 128 deletions
@@ -33,13 +33,13 @@ SoapySDRInputSettings:
tunableElements:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/ArgInfo"
$ref: "#/definitions/ArgValue"
globalGain:
type: integer
individualGains:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/ArgInfo"
$ref: "#/definitions/ArgValue"
autoGain:
description: boolean not zero for true
type: integer
@@ -56,11 +56,11 @@ SoapySDRInputSettings:
streamArgSettings:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/ArgInfo"
$ref: "#/definitions/ArgValue"
deviceArgSettings:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/ArgInfo"
$ref: "#/definitions/ArgValue"
SoapySDROutputSettings:
description: SoapySDR
@@ -87,13 +87,13 @@ SoapySDROutputSettings:
tunableElements:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/ArgInfo"
$ref: "#/definitions/ArgValue"
globalGain:
type: integer
individualGains:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/ArgInfo"
$ref: "#/definitions/ArgValue"
autoGain:
description: boolean not zero for true
type: integer
@@ -110,11 +110,11 @@ SoapySDROutputSettings:
streamArgSettings:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/ArgInfo"
$ref: "#/definitions/ArgValue"
deviceArgSettings:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/ArgInfo"
$ref: "#/definitions/ArgValue"
SoapySDRReport:
description: SoapySDR
@@ -122,11 +122,11 @@ SoapySDRReport:
deviceSettingsArgs:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/ArgInfo"
$ref: "#/definitions/ArgInfo"
streamSettingsArgs:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/ArgInfo"
$ref: "#/definitions/ArgInfo"
hasDCAutoCorrection:
description: boolean not zero for true
type: integer
@@ -159,7 +159,7 @@ SoapySDRReport:
frequencySettingsArgs:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/ArgInfo"
$ref: "#/definitions/ArgInfo"
ratesRanges:
type: array
items:
@@ -188,4 +188,44 @@ definitions:
type: array
items:
$ref: "/doc/swagger/include/Structs.yaml#/RangeFloat"
ArgValue:
descripion: Generic argument value
properties:
key:
type: string
valueType:
type: string
enum: [bool, int, float, string]
valueString:
type: string
ArgInfo:
descripion: Generic argument information
properties:
key:
type: string
valueType:
type: string
enum: [bool, int, float, string]
valueString:
type: string
name:
type: string
description:
type: string
units:
type: string
range:
$ref: "/doc/swagger/include/Structs.yaml#/RangeFloat"
valueOptions:
type: array
items:
type: string
optionNames:
type: array
items:
type: string
@@ -75,17 +75,6 @@ NamedEnum:
value:
type: integer
ArgInfo:
descripion: Argument information used in SoapySDR
properties:
key:
type: string
valueType:
type: string
enum: [bool, int, float, string]
valueString:
type: string
Complex:
description: A complex number
properties: