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

Feature plugins framework: REST API generated code

This commit is contained in:
f4exb
2020-09-21 03:10:42 +02:00
parent dc9e77b63d
commit d024ed9d56
36 changed files with 16746 additions and 108 deletions
@@ -0,0 +1,57 @@
ChannelReport:
description: Base channel report. Only the channel report corresponding to the channel specified in the channelType field is or should be present.
discriminator: channelType
required:
- deviceHwType
- direction
properties:
channelType:
description: Channel type code
type: string
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
AMDemodReport:
$ref: "/doc/swagger/include/AMDemod.yaml#/AMDemodReport"
AMModReport:
$ref: "/doc/swagger/include/AMMod.yaml#/AMModReport"
ATVModReport:
$ref: "/doc/swagger/include/ATVMod.yaml#/ATVModReport"
BFMDemodReport:
$ref: "/doc/swagger/include/BFMDemod.yaml#/BFMDemodReport"
ChirpChatDemodReport:
$ref: "/doc/swagger/include/ChirpChatDemod.yaml#/ChirpChatDemodReport"
ChirpChatModReport:
$ref: "/doc/swagger/include/ChirpChatMod.yaml#/ChirpChatModReport"
DSDDemodReport:
$ref: "/doc/swagger/include/DSDDemod.yaml#/DSDDemodReport"
FileSinkReport:
$ref: "/doc/swagger/include/FileSink.yaml#/FileSinkReport"
FileSourceReport:
$ref: "/doc/swagger/include/FileSource.yaml#/FileSourceReport"
FreeDVDemodReport:
$ref: "/doc/swagger/include/FreeDVDemod.yaml#/FreeDVDemodReport"
FreeDVModReport:
$ref: "/doc/swagger/include/FreeDVMod.yaml#/FreeDVModReport"
FreqTrackerReport:
$ref: "/doc/swagger/include/FreqTracker.yaml#/FreqTrackerReport"
NFMDemodReport:
$ref: "/doc/swagger/include/NFMDemod.yaml#/NFMDemodReport"
NFMModReport:
$ref: "/doc/swagger/include/NFMMod.yaml#/NFMModReport"
SSBDemodReport:
$ref: "/doc/swagger/include/SSBDemod.yaml#/SSBDemodReport"
RemoteSourceReport:
$ref: "/doc/swagger/include/RemoteSource.yaml#/RemoteSourceReport"
SigMFFileSinkReport:
$ref: "/doc/swagger/include/SigMFFileSink.yaml#/SigMFFileSinkReport"
SSBModReport:
$ref: "/doc/swagger/include/SSBMod.yaml#/SSBModReport"
UDPSourceReport:
$ref: "/doc/swagger/include/UDPSource.yaml#/UDPSourceReport"
UDPSinkReport:
$ref: "/doc/swagger/include/UDPSink.yaml#/UDPSinkReport"
WFMDemodReport:
$ref: "/doc/swagger/include/WFMDemod.yaml#/WFMDemodReport"
WFMModReport:
$ref: "/doc/swagger/include/WFMMod.yaml#/WFMModReport"
@@ -0,0 +1,17 @@
FeatureActions:
description: Base feature actions. Only the feature actions corresponding to the feature specified in the featureType field is or should be present.
discriminator: featureType
required:
- featureType
properties:
featureType:
description: Feature type code
type: string
originatorFeatureSetIndex:
description: Optional for reverse API. This is the feature set index from where the message comes from.
type: integer
originatorFeatureIndex:
description: Optional for reverse API. This is the feature index from where the message comes from.
type: integer
SimplePTTActions:
$ref: "/doc/swagger/include/SimplePTT.yaml#/SimplePTTActions"
@@ -0,0 +1,11 @@
FeatureReport:
description: Base feature report. Only the feature report corresponding to the feature specified in the featureType field is or should be present.
discriminator: featureType
required:
- featureType
properties:
featureType:
description: Feature type code
type: string
SimplePTTReport:
$ref: "/doc/swagger/include/SimplePTT.yaml#/SimplePTTReport"
@@ -0,0 +1,17 @@
FeatureSettings:
description: Base feature settings. Only the feature settings corresponding to the feature specified in the featureType field is or should be present.
discriminator: featureType
required:
- featureType
properties:
featureType:
description: Feature type code
type: string
originatorFeatureSetIndex:
description: Optional for reverse API. This is the feature set index from where the message comes from.
type: integer
originatorFeatureIndex:
description: Optional for reverse API. This is the feature index from where the message comes from.
type: integer
SimplePTTSettings:
$ref: "/doc/swagger/include/SimplePTT.yaml#/SimplePTTSettings"
@@ -0,0 +1,50 @@
SimplePTTSettings:
description: "Simple PTT settings"
properties:
title:
type: string
rgbColor:
type: integer
rxDeviceSetIndex:
description: index of the Rx device set to connect the Rx side to
type: integer
txDeviceSetIndex:
description: index of the Tx device set to connect the Tx side to
type: integer
rx2TxDelayMs:
description: Delay in milliseconds from Rx off to Tx on
type: integer
tx2RxDelayMs:
description: Delay in milliseconds from Tx off to Rx on
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
SimplePTTReport:
description: "Simple PTT report"
properties:
ptt:
type: integer
description: >
PTT status
* 0 - released
* 1 - engaged
SimplePTTActions:
description: "Simple PTT actions"
properties:
ptt:
type: integer
description: >
PTT action
* 0 - release
* 1 - engage