1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 16:38:37 -05:00
sdrangel/sdrbase/resources/webapi/doc/swagger/include/FileSink.yaml

99 lines
2.5 KiB
YAML
Raw Normal View History

2020-08-07 01:58:46 -04:00
FileSinkSettings:
description: FileSink
properties:
inputFrequencyOffset:
type: integer
fileRecordName:
type: string
description: full path of the reference file
rgbColor:
type: integer
title:
type: string
log2Decim:
type: integer
spectrumSquelchMode:
type: integer
description: >
Spectrum squelch system
* 0 - deactivated
* 1 - activated
spectrumSquelch:
type: number
format: float
description: Squelch level in power dB
preRecordTime:
type: integer
description: Number of seconds to record before recording is triggered (manual or squelch)
squelchPostRecordTime:
type: integer
description: Number of seconds to record after spectrum squelch cloeses
squelchRecordingEnable:
type: integer
description: >
Automatic recording triggered by spectrum squalch
* 0 - disabled
* 1 - enabled
streamIndex:
description: MIMO channel. Not relevant when connected to SI (single Rx).
type: integer
useReverseAPI:
description: Synchronize with reverse API (1 for yes, 0 for no)
type: integer
reverseAPIAddress:
type: string
reverseAPIPort:
type: integer
reverseAPIDeviceIndex:
type: integer
reverseAPIChannelIndex:
type: integer
spectrumConfig:
$ref: "/doc/swagger/include/GLSpectrum.yaml#/GLSpectrum"
channelMarker:
$ref: "/doc/swagger/include/ChannelMarker.yaml#/ChannelMarker"
2020-08-07 01:58:46 -04:00
FileSinkReport:
description: FileSink
properties:
spectrumSquelch:
type: integer
description: >
Spectrum squelch status
* 0 - closed
* 1 - open
spectrumMax:
type: number
format: float
description: Current spectrum max in squared magnitude (power)
sinkSampleRate:
type: integer
channelSampleRate:
type: integer
recording:
type: integer
description: >
Recording status
* 0 - not recording
* 1 - recording
recordTimeMs:
type: integer
description: Total recording time in milliseconds
recordSize:
type: integer
format: int64
description: Total recording data size in bytes
recordCaptures:
type: integer
description: Number of record flles not including current if recording
FileSinkActions:
description: FileSink
properties:
record:
type: integer
description: >
Record action
* 0 - stop recording
* 1 - start recording