1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-14 12:22:00 -05:00
sdrangel/sdrbase/resources/webapi/doc/swagger/include/Xtrx.yaml

150 lines
3.7 KiB
YAML

XtrxInputSettings:
description: XTRX
properties:
centerFrequency:
type: integer
format: int64
devSampleRate:
type: integer
log2HardDecim:
type: integer
dcBlock:
description: Software DC blocking (1 for yes, 0 for no)
type: integer
iqCorrection:
description: Software IQ imbalance correction (1 for yes, 0 for no)
type: integer
log2SoftDecim:
type: integer
lpfBW:
description: LMS analog lowpass filter bandwidth (Hz)
type: integer
gain:
description: Optimally distributed gain (dB)
type: integer
ncoEnable:
description: Enable TSP NCO and mixing (1 for yes, 0 for no)
type: integer
ncoFrequency:
description: Frequency shift from LO
type: integer
antennaPath:
description: Antenna selected (enum value from xtrx_antenna_t)
type: integer
gainMode:
description: Gain mode auto or manual (enum value from GainMode)
type: integer
lnaGain:
description: Manual LNA gain
type: integer
tiaGain:
description: Manual TIA gain
type: integer
pgaGain:
description: Manual PGA gain
type: integer
extClock:
description: Use external clock source (1 for yes, 0 for no)
type: integer
extClockFreq:
description: Frequency (Hz) of external clock source
type: integer
pwrmode:
description: LMS power mode (0 save max to 7 perf max)
type: integer
iqOrder:
type: integer
description: >
IQ samples order
* 0 - Q then I (swapped)
* 1 - I then Q (straight)
useReverseAPI:
description: Synchronize with reverse API (1 for yes, 0 for no)
type: integer
reverseAPIAddress:
type: string
reverseAPIPort:
type: integer
reverseAPIDeviceIndex:
type: integer
XtrxInputReport:
description: XTRX
properties:
success:
description: 1 if info was successfully retrieved else 0
type: integer
fifoSize:
type: integer
fifoFill:
type: integer
temperature:
type: number
format: float
gpsLock:
description: 1 if GPSDO is locked else 0
type: integer
XtrxOutputSettings:
description: XTRX
properties:
centerFrequency:
type: integer
format: int64
devSampleRate:
type: integer
log2HardInterp:
type: integer
log2SoftInterp:
type: integer
lpfBW:
description: LMS analog lowpass filter bandwidth (Hz)
type: integer
gain:
description: Optimally distributed gain (dB)
type: integer
ncoEnable:
description: Enable TSP NCO and mixing (1 for yes, 0 for no)
type: integer
ncoFrequency:
description: Frequency shift from LO
type: integer
antennaPath:
description: Antenna selected (enum value from xtrx_antenna_t)
type: integer
extClock:
description: Use external clock source (1 for yes, 0 for no)
type: integer
extClockFreq:
description: Frequency (Hz) of external clock source
type: integer
pwrmode:
description: LMS power mode (0 save max to 7 perf max)
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
XtrxOutputReport:
description: XTRX
properties:
success:
description: 1 if info was successfully retrieved else 0
type: integer
fifoSize:
type: integer
fifoFill:
type: integer
temperature:
type: number
format: float
gpsLock:
description: 1 if GPSDO is locked else 0
type: integer