AFC plguin: REST API: sources

pull/676/head
f4exb 2020-10-16 19:18:54 +02:00
rodzic 8b05670814
commit 3e004a257b
4 zmienionych plików z 56 dodań i 0 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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"

Wyświetl plik

@ -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"

Wyświetl plik

@ -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: