1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-18 22:31:48 -05:00
sdrangel/sdrbase/resources/webapi/doc/swagger/include/DemodAnalyzer.yaml
Anton Kotenko 3a6fb11a4c Demod Analyzer plugin: channel selection via api
Problem: It's not possible to select channel in Demod Analyzer feature
via api.

Solution:
Add new "action" into
POST /sdrangel/featureset/feature/{featureIndex}/actions
endpoint
2024-01-21 13:51:41 +01:00

54 lines
1.4 KiB
YAML

DemodAnalyzerSettings:
description: DemodAnalyzer
properties:
log2Decim:
type: integer
title:
type: string
rgbColor:
type: integer
fileRecordName:
type: string
description: Output wave file name
recordToFile:
type: integer
description: >
Recording status
* 1 - recording
* 0 - not recording
recordSilenceTime:
type: integer
description: Record silence time before stopping recording in 10ths of seconds
useReverseAPI:
type: integer
description: >
Synchronize with reverse API
* 1 - yes
* 0 - no
reverseAPIAddress:
type: string
reverseAPIPort:
type: integer
reverseAPIFeatureSetIndex:
type: integer
reverseAPIFeatureIndex:
type: integer
spectrumConfig:
$ref: "/doc/swagger/include/GLSpectrum.yaml#/GLSpectrum"
scopeConfig:
$ref: "/doc/swagger/include/GLScope.yaml#/GLScope"
rollupState:
$ref: "/doc/swagger/include/RollupState.yaml#/RollupState"
DemodAnalyzerActions:
description: "Demod Analyzer actions"
properties:
deviceId:
type: integer
required: true
description: "Device Id/Number that channel belongs to"
channelId:
type: integer
required: true
description: "Channel Id/Number of the channel within the device"