LimeSdrInputSettings:
  description: LimeSDR
  properties:
    centerFrequency:
      type: integer
      format: int64
    devSampleRate:
      type: integer
    log2HardDecim:
      type: integer
    dcBlock:
      type: integer
    iqCorrection:
      type: integer
    log2SoftDecim:
      type: integer
    lpfBW:
      type: integer
    lpfFIREnable:
      type: integer
    lpfFIRBW:
      type: integer
    gain:
      type: integer
    ncoEnable:
      type: integer
    ncoFrequency:
      type: integer
    antennaPath:
      type: integer
    gainMode:
      type: integer
    lnaGain:
      type: integer
    tiaGain:
      type: integer
    pgaGain:
      type: integer
    extClock:
      type: integer
    extClockFreq:
      type: integer
    transverterMode:
      type: integer
    transverterDeltaFrequency:
      type: integer
      format: int64
    iqOrder:
      type: integer
      description: >
        IQ samples order
          * 0 - Q then I (swapped)
          * 1 - I then Q (straight)
    gpioDir:
      type: integer
      format: int8
    gpioPins:
      type: integer
      format: int8
    useReverseAPI:
      description: Synchronize with reverse API (1 for yes, 0 for no)
      type: integer
    reverseAPIAddress:
      type: string
    reverseAPIPort:
      type: integer
    reverseAPIDeviceIndex:
      type: integer

LimeSdrOutputSettings:
  description: LimeSDR
  properties:
    centerFrequency:
      type: integer
      format: int64
    devSampleRate:
      type: integer
    log2HardInterp:
      type: integer
    log2SoftInterp:
      type: integer
    lpfBW:
      type: integer
    lpfFIREnable:
      type: integer
    lpfFIRBW:
      type: integer
    gain:
      type: integer
    ncoEnable:
      type: integer
    ncoFrequency:
      type: integer
    antennaPath:
      type: integer
    extClock:
      type: integer
    extClockFreq:
      type: integer
    transverterMode:
      type: integer
    transverterDeltaFrequency:
      type: integer
      format: int64
    gpioDir:
      type: integer
      format: int8
    gpioPins:
      type: integer
      format: int8
    useReverseAPI:
      description: Synchronize with reverse API (1 for yes, 0 for no)
      type: integer
    reverseAPIAddress:
      type: string
    reverseAPIPort:
      type: integer
    reverseAPIDeviceIndex:
      type: integer

LimeSdrInputReport:
  description: LimeSDR
  properties:
    success:
      description: 1 if info was successfullt retrieved else 0
      type: integer
    streamActive:
      description: 1 if active else 0
      type: integer
    fifoSize:
      type: integer
    fifoFill:
      type: integer
    underrunCount:
      type: integer
    overrunCount:
      type: integer
    droppedPacketsCount:
      type: integer
    linkRate:
      type: number
      format: float
    hwTimestamp:
      description: Hardware timestamp
      type: integer
      format: int64
    temperature:
      type: number
      format: float
    gpioDir:
      type: integer
      format: int8
    gpioPins:
      type: integer
      format: int8

LimeSdrOutputReport:
  description: LimeSDR
  properties:
    success:
      description: 1 if info was successfullt retrieved else 0
      type: integer
    streamActive:
      description: 1 if active else 0
      type: integer
    fifoSize:
      type: integer
    fifoFill:
      type: integer
    underrunCount:
      type: integer
    overrunCount:
      type: integer
    droppedPacketsCount:
      type: integer
    linkRate:
      type: number
      format: float
    hwTimestamp:
      description: Hardware timestamp
      type: integer
      format: int64
    temperature:
      type: number
      format: float
    gpioDir:
      type: integer
      format: int8
    gpioPins:
      type: integer
      format: int8
