1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-24 19:14:15 -04:00

PTT feature: GPIO and command support (1)

This commit is contained in:
f4exb
2023-03-06 21:20:40 +01:00
parent cf0489d96f
commit 5cad053158
18 changed files with 1265 additions and 452 deletions
@@ -51,16 +51,12 @@ ChannelReport:
$ref: "/doc/swagger/include/FreqTracker.yaml#/FreqTrackerReport"
FT8DemodReport:
$ref: "/doc/swagger/include/FT8Demod.yaml#/FT8DemodReport"
RTTYDemodReport:
$ref: "/doc/swagger/include/RTTYDemod.yaml#/RTTYDemodReport"
HeatMapReport:
$ref: "/doc/swagger/include/HeatMap.yaml#/HeatMapReport"
M17DemodReport:
$ref: "/doc/swagger/include/M17Demod.yaml#/M17DemodReport"
M17ModReport:
$ref: "/doc/swagger/include/M17Mod.yaml#/M17ModReport"
NavtexDemodReport:
$ref: "/doc/swagger/include/NavtexDemod.yaml#/NavtexDemodReport"
NFMDemodReport:
$ref: "/doc/swagger/include/NFMDemod.yaml#/NFMDemodReport"
NFMModReport:
@@ -65,8 +65,6 @@ ChannelSettings:
$ref: "/doc/swagger/include/FreqTracker.yaml#/FreqTrackerSettings"
FT8DemodSettings:
$ref: "/doc/swagger/include/FT8Demod.yaml#/FT8DemodSettings"
RTTYDemodSettings:
$ref: "/doc/swagger/include/RTTYDemod.yaml#/RTTYDemodSettings"
HeatMapSettings:
$ref: "/doc/swagger/include/HeatMap.yaml#/HeatMapSettings"
InterferometerSettings:
@@ -77,8 +75,6 @@ ChannelSettings:
$ref: "/doc/swagger/include/M17Demod.yaml#/M17DemodSettings"
M17ModSettings:
$ref: "/doc/swagger/include/M17Mod.yaml#/M17ModSettings"
NavtexDemodSettings:
$ref: "/doc/swagger/include/NavtexDemod.yaml#/NavtexDemodSettings"
NFMDemodSettings:
$ref: "/doc/swagger/include/NFMDemod.yaml#/NFMDemodSettings"
NFMModSettings:
@@ -37,6 +37,59 @@ SimplePTTSettings:
description: Vox hold timeout in milliseconds
audioDeviceName:
type: string
gpioControl:
type: integer
description: >
GPIO control
* 0 - No GPIO control
* 1 - Rx side controls GPIO
* 2 - Tx side controls GPIO
rx2txGPIOEnable:
type: integer
description: >
Enable Rx to Tx GPIO control
* 0 - disable
* 1 - enable
rx2txGPIOMask:
type: integer
format: int8
description: Rx to Tx change GPIO mask
rx2txGPIOValues:
type: integer
format: int8
description: Rx to Tx change GPIO values
rx2txCommandEnable:
type: integer
description: >
Enable Rx to Tx command
* 0 - disable
* 1 - enable
rx2txCommand:
type: string
description: Command to be executed when Rx switches to Tx
tx2rxGPIOEnable:
type: integer
description: >
Enable Tx to Rx GPIO control
* 0 - disable
* 1 - enable
tx2rxGPIOMask:
type: integer
format: int8
description: Tx to Rx change GPIO mask
tx2rxGPIOValues:
type: integer
format: int8
description: Tx to Rx change GPIO values
tx2rxCommandEnable:
type: integer
description: >
Enable Tx to Rx command
* 0 - disable
* 1 - enable
tx2rxCommand:
type: string
description: Command to be executed when Tx switches to Rx
useReverseAPI:
description: Synchronize with reverse API (1 for yes, 0 for no)
type: integer