1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

AFC plguin: REST API: sources

This commit is contained in:
f4exb 2020-10-16 19:18:54 +02:00
parent 8b05670814
commit 3e004a257b
4 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,50 @@
AFCSettings:
description: "AFC 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
AFCReport:
description: "AFC report"
properties:
ptt:
type: integer
description: >
AFC status
* 0 - released
* 1 - engaged
AFCActions:
description: "AFC actions"
properties:
ptt:
type: integer
description: >
AFC action
* 0 - release
* 1 - engage

View File

@ -13,5 +13,7 @@ FeatureActions:
originatorFeatureIndex:
description: Optional for reverse API. This is the feature index from where the message comes from.
type: integer
AFCActions:
$ref: "http://swgserver:8081/api/swagger/include/AFC.yaml#/AFCActions"
SimplePTTActions:
$ref: "http://swgserver:8081/api/swagger/include/SimplePTT.yaml#/SimplePTTActions"

View File

@ -7,5 +7,7 @@ FeatureReport:
featureType:
description: Feature type code
type: string
AFCReport:
$ref: "http://swgserver:8081/api/swagger/include/AFC.yaml#/AFCReport"
SimplePTTReport:
$ref: "http://swgserver:8081/api/swagger/include/SimplePTT.yaml#/SimplePTTReport"

View File

@ -13,6 +13,8 @@ FeatureSettings:
originatorFeatureIndex:
description: Optional for reverse API. This is the feature index from where the message comes from.
type: integer
AFCSettings:
$ref: "http://swgserver:8081/api/swagger/include/AFC.yaml#/AFCSettings"
SimplePTTSettings:
$ref: "http://swgserver:8081/api/swagger/include/SimplePTT.yaml#/SimplePTTSettings"
RigCtlServerSettings: