1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-14 04:11:48 -05:00
sdrangel/sdrbase/resources/webapi/doc/swagger/include/Preset.yaml
2020-06-23 19:56:29 +02:00

54 lines
1.5 KiB
YAML

DeviceConfig:
description: Represents a Preset::DeviceConfig object
properties:
deviceId:
type: string
deviceSerial:
type: string
deviceSequence:
type: integer
config:
$ref: "http://swgserver:8081/api/swagger/include/DeviceSettings.yaml#/DeviceSettings"
ChannelConfig:
description: Represents a Preset::ChannelConfig object
properties:
channelIdURI:
description: Channel type ID in URI form
type: string
config:
$ref: "http://swgserver:8081/api/swagger/include/ChannelSettings.yaml#/ChannelSettings"
Preset:
description: Represents a Preset object
properties:
presetType:
description: See Preset::PresetType
type: integer
group:
type: string
description:
type: string
centerFrequency:
type: integer
format: int64
spectrumConfig:
$ref: "http://swgserver:8081/api/swagger/include/GLSpectrum.yaml#/GLSpectrum"
dcOffsetCorrection:
description: boolean
type: integer
iqImbalanceCorrection:
description: boolean
type: integer
channelConfigs:
type: array
items:
$ref: "http://swgserver:8081/api/swagger/include/Preset.yaml#/ChannelConfig"
deviceConfigs:
type: array
items:
$ref: "http://swgserver:8081/api/swagger/include/Preset.yaml#/DeviceConfig"
layout:
description: screen and dock layout is a QByteArray handled by Qt::QMainWindow translated to base64
type: string