- Generated 2019-01-01T11:45:52.860+01:00
+ Generated 2019-01-02T09:02:53.799+01:00
diff --git a/sdrbase/resources/webapi/doc/swagger/include/Xtrx.yaml b/sdrbase/resources/webapi/doc/swagger/include/Xtrx.yaml
index a2739fea8..b1d6e0b24 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/Xtrx.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/Xtrx.yaml
@@ -70,8 +70,68 @@ XtrxInputReport:
success:
description: 1 if info was successfully retrieved else 0
type: integer
- streamActive:
- description: 1 if active else 0
+ 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
@@ -82,4 +142,4 @@ XtrxInputReport:
format: float
gpsLock:
description: 1 if GPSDO is locked else 0
- type: integer
\ No newline at end of file
+ type: integer
\ No newline at end of file
diff --git a/sdrbase/resources/webapi/doc/swagger/swagger.yaml b/sdrbase/resources/webapi/doc/swagger/swagger.yaml
index 1e744fc8b..05059b9b4 100644
--- a/sdrbase/resources/webapi/doc/swagger/swagger.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/swagger.yaml
@@ -1807,6 +1807,8 @@ definitions:
$ref: "/doc/swagger/include/TestSource.yaml#/TestSourceSettings"
xtrxInputSettings:
$ref: "/doc/swagger/include/Xtrx.yaml#/XtrxInputSettings"
+ xtrxOutputSettings:
+ $ref: "/doc/swagger/include/Xtrx.yaml#/XtrxOutputSettings"
DeviceReport:
@@ -1856,6 +1858,8 @@ definitions:
$ref: "/doc/swagger/include/SoapySDR.yaml#/SoapySDRReport"
xtrxInputReport:
$ref: "/doc/swagger/include/Xtrx.yaml#/XtrxInputReport"
+ xtrxOutputReport:
+ $ref: "/doc/swagger/include/Xtrx.yaml#/XtrxOutputReport"
ChannelSettings:
description: Base channel settings. Only the channel settings corresponding to the channel specified in the channelType field is or should be present.
diff --git a/swagger/sdrangel/api/swagger/include/Xtrx.yaml b/swagger/sdrangel/api/swagger/include/Xtrx.yaml
index 87840cad6..b1d6e0b24 100644
--- a/swagger/sdrangel/api/swagger/include/Xtrx.yaml
+++ b/swagger/sdrangel/api/swagger/include/Xtrx.yaml
@@ -79,4 +79,67 @@ XtrxInputReport:
format: float
gpsLock:
description: 1 if GPSDO is locked else 0
- type: integer
\ No newline at end of file
+ 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
\ No newline at end of file
diff --git a/swagger/sdrangel/api/swagger/swagger.yaml b/swagger/sdrangel/api/swagger/swagger.yaml
index b6f26b1c8..be0b02495 100644
--- a/swagger/sdrangel/api/swagger/swagger.yaml
+++ b/swagger/sdrangel/api/swagger/swagger.yaml
@@ -1807,6 +1807,8 @@ definitions:
$ref: "http://localhost:8081/api/swagger/include/TestSource.yaml#/TestSourceSettings"
xtrxInputSettings:
$ref: "http://localhost:8081/api/swagger/include/Xtrx.yaml#/XtrxInputSettings"
+ xtrxOutputSettings:
+ $ref: "http://localhost:8081/api/swagger/include/Xtrx.yaml#/XtrxOutputSettings"
DeviceReport:
@@ -1856,6 +1858,8 @@ definitions:
$ref: "http://localhost:8081/api/swagger/include/SoapySDR.yaml#/SoapySDRReport"
xtrxInputReport:
$ref: "http://localhost:8081/api/swagger/include/Xtrx.yaml#/XtrxInputReport"
+ xtrxOutputReport:
+ $ref: "http://localhost:8081/api/swagger/include/Xtrx.yaml#/XtrxOutputReport"
ChannelSettings:
description: Base channel settings. Only the channel settings corresponding to the channel specified in the channelType field is or should be present.
diff --git a/swagger/sdrangel/code/html2/index.html b/swagger/sdrangel/code/html2/index.html
index 158712913..6a66de5a0 100644
--- a/swagger/sdrangel/code/html2/index.html
+++ b/swagger/sdrangel/code/html2/index.html
@@ -2182,6 +2182,9 @@ margin-bottom: 20px;
},
"xtrxInputReport" : {
"$ref" : "#/definitions/XtrxInputReport"
+ },
+ "xtrxOutputReport" : {
+ "$ref" : "#/definitions/XtrxOutputReport"
}
},
"description" : "Base device report. Only the device report corresponding to the device specified in the deviceHwType is or should be present."
@@ -2309,6 +2312,9 @@ margin-bottom: 20px;
},
"xtrxInputSettings" : {
"$ref" : "#/definitions/XtrxInputSettings"
+ },
+ "xtrxOutputSettings" : {
+ "$ref" : "#/definitions/XtrxOutputSettings"
}
},
"description" : "Base device settings. Only the device settings corresponding to the device specified in the deviceHwType field is or should be present."
@@ -4858,10 +4864,6 @@ margin-bottom: 20px;
"type" : "integer",
"description" : "1 if info was successfully retrieved else 0"
},
- "streamActive" : {
- "type" : "integer",
- "description" : "1 if active else 0"
- },
"fifoSize" : {
"type" : "integer"
},
@@ -4968,6 +4970,92 @@ margin-bottom: 20px;
}
},
"description" : "XTRX"
+};
+ defs.XtrxOutputReport = {
+ "properties" : {
+ "success" : {
+ "type" : "integer",
+ "description" : "1 if info was successfully retrieved else 0"
+ },
+ "fifoSize" : {
+ "type" : "integer"
+ },
+ "fifoFill" : {
+ "type" : "integer"
+ },
+ "temperature" : {
+ "type" : "number",
+ "format" : "float"
+ },
+ "gpsLock" : {
+ "type" : "integer",
+ "description" : "1 if GPSDO is locked else 0"
+ }
+ },
+ "description" : "XTRX"
+};
+ defs.XtrxOutputSettings = {
+ "properties" : {
+ "centerFrequency" : {
+ "type" : "integer",
+ "format" : "int64"
+ },
+ "devSampleRate" : {
+ "type" : "integer"
+ },
+ "log2HardInterp" : {
+ "type" : "integer"
+ },
+ "log2SoftInterp" : {
+ "type" : "integer"
+ },
+ "lpfBW" : {
+ "type" : "integer",
+ "description" : "LMS analog lowpass filter bandwidth (Hz)"
+ },
+ "gain" : {
+ "type" : "integer",
+ "description" : "Optimally distributed gain (dB)"
+ },
+ "ncoEnable" : {
+ "type" : "integer",
+ "description" : "Enable TSP NCO and mixing (1 for yes, 0 for no)"
+ },
+ "ncoFrequency" : {
+ "type" : "integer",
+ "description" : "Frequency shift from LO"
+ },
+ "antennaPath" : {
+ "type" : "integer",
+ "description" : "Antenna selected (enum value from xtrx_antenna_t)"
+ },
+ "extClock" : {
+ "type" : "integer",
+ "description" : "Use external clock source (1 for yes, 0 for no)"
+ },
+ "extClockFreq" : {
+ "type" : "integer",
+ "description" : "Frequency (Hz) of external clock source"
+ },
+ "pwrmode" : {
+ "type" : "integer",
+ "description" : "LMS power mode (0 save max to 7 perf max)"
+ },
+ "useReverseAPI" : {
+ "type" : "integer",
+ "description" : "Synchronize with reverse API (1 for yes, 0 for no)"
+ },
+ "reverseAPIAddress" : {
+ "type" : "string"
+ },
+ "reverseAPIPort" : {
+ "type" : "integer"
+ },
+ "reverseAPIDeviceIndex" : {
+ "type" : "integer"
+ }
+ },
+ "description" : "XTRX"
};
@@ -24000,7 +24088,7 @@ except ApiException as e: