2020-09-20 21:05:44 -04:00
|
|
|
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
|
2021-12-29 15:20:06 -05:00
|
|
|
vox:
|
|
|
|
type: integer
|
|
|
|
description: >
|
|
|
|
Activate vox system
|
|
|
|
* 0 - not active
|
|
|
|
* 1 - active
|
|
|
|
voxEnable:
|
|
|
|
type: integer
|
|
|
|
description: >
|
|
|
|
Allow vox to control PTT
|
|
|
|
* 0 - vox does not control PTT
|
|
|
|
* 1 - vox controls PTT
|
|
|
|
voxLevel:
|
|
|
|
type: integer
|
|
|
|
description: Vox threshold level in dB
|
|
|
|
voxHold:
|
|
|
|
type: integer
|
|
|
|
description: Vox hold timeout in milliseconds
|
|
|
|
audioDeviceName:
|
|
|
|
type: string
|
2023-03-06 15:20:40 -05:00
|
|
|
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
|
2020-09-20 21:05:44 -04:00
|
|
|
useReverseAPI:
|
|
|
|
description: Synchronize with reverse API (1 for yes, 0 for no)
|
|
|
|
type: integer
|
|
|
|
reverseAPIAddress:
|
|
|
|
type: string
|
|
|
|
reverseAPIPort:
|
|
|
|
type: integer
|
2021-09-16 18:52:08 -04:00
|
|
|
reverseAPIFeatureSetIndex:
|
2020-09-20 21:05:44 -04:00
|
|
|
type: integer
|
2021-09-16 18:52:08 -04:00
|
|
|
reverseAPIFeatureIndex:
|
2020-09-20 21:05:44 -04:00
|
|
|
type: integer
|
2022-01-08 23:27:12 -05:00
|
|
|
rollupState:
|
|
|
|
$ref: "/doc/swagger/include/RollupState.yaml#/RollupState"
|
2020-09-20 21:05:44 -04:00
|
|
|
|
|
|
|
SimplePTTReport:
|
|
|
|
description: "Simple PTT report"
|
|
|
|
properties:
|
2021-10-23 15:24:25 -04:00
|
|
|
runningState:
|
|
|
|
type: integer
|
|
|
|
description: >
|
|
|
|
Running state
|
|
|
|
* 0 - not started
|
|
|
|
* 1 - idle
|
|
|
|
* 2 - running
|
|
|
|
* 3 - error
|
2020-09-20 21:05:44 -04:00
|
|
|
ptt:
|
|
|
|
type: integer
|
|
|
|
description: >
|
|
|
|
PTT status
|
|
|
|
* 0 - released
|
|
|
|
* 1 - engaged
|
|
|
|
|
|
|
|
SimplePTTActions:
|
|
|
|
description: "Simple PTT actions"
|
|
|
|
properties:
|
2021-10-21 20:01:33 -04:00
|
|
|
run:
|
|
|
|
type: integer
|
|
|
|
description: >
|
|
|
|
Set the plugin running state
|
|
|
|
* 0 - idle
|
|
|
|
* 1 - run
|
2020-09-20 21:05:44 -04:00
|
|
|
ptt:
|
|
|
|
type: integer
|
|
|
|
description: >
|
|
|
|
PTT action
|
|
|
|
* 0 - release
|
|
|
|
* 1 - engage
|