1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-14 15:33:34 -04:00

API: report running state for feature plugins with run action

This commit is contained in:
f4exb
2021-10-23 21:24:25 +02:00
parent 10f79b183f
commit fee2c5065d
52 changed files with 1577 additions and 30 deletions
+75 -3
View File
@@ -796,6 +796,10 @@ margin-bottom: 20px;
};
defs.AFCReport = {
"properties" : {
"runningState" : {
"type" : "integer",
"description" : "Running state\n * 0 - not started\n * 1 - idle\n * 2 - running\n * 3 - error\n"
},
"trackerChannelIndex" : {
"type" : "integer",
"description" : "Tracker index in device set"
@@ -4947,11 +4951,26 @@ margin-bottom: 20px;
"AFCReport" : {
"$ref" : "#/definitions/AFCReport"
},
"GS232ControllerReport" : {
"$ref" : "#/definitions/GS232ControllerReport"
},
"PERTesterReport" : {
"$ref" : "#/definitions/PERTesterReport"
},
"RigCtlServerReport" : {
"$ref" : "#/definitions/RigCtlServerReport"
},
"SatelliteTrackerReport" : {
"$ref" : "#/definitions/SatelliteTrackerReport"
},
"SimplePTTReport" : {
"$ref" : "#/definitions/SimplePTTReport"
},
"GS232ControllerReport" : {
"$ref" : "#/definitions/GS232ControllerReport"
"StarTrackerReport" : {
"$ref" : "#/definitions/StarTrackerReport"
},
"VORLocalizerReport" : {
"$ref" : "#/definitions/VORLocalizerReport"
}
},
"description" : "Base feature report. Only the feature report corresponding to the feature specified in the featureType field is or should be present."
@@ -5824,6 +5843,10 @@ margin-bottom: 20px;
};
defs.GS232ControllerReport = {
"properties" : {
"runningState" : {
"type" : "integer",
"description" : "Running state\n * 0 - not started\n * 1 - idle\n * 2 - running\n * 3 - error\n"
},
"sources" : {
"type" : "array",
"description" : "Names of pipe sources",
@@ -7934,6 +7957,15 @@ margin-bottom: 20px;
}
},
"description" : "Acquisition of signal"
};
defs.PERTesterReport = {
"properties" : {
"runningState" : {
"type" : "integer",
"description" : "Running state\n * 0 - not started\n * 1 - idle\n * 2 - running\n * 3 - error\n"
}
},
"description" : "PERTester"
};
defs.PERTesterSettings = {
"properties" : {
@@ -9613,6 +9645,15 @@ margin-bottom: 20px;
}
},
"description" : "RigCtl server actions"
};
defs.RigCtlServerReport = {
"properties" : {
"runningState" : {
"type" : "integer",
"description" : "Running state\n * 0 - not started\n * 1 - idle\n * 2 - running\n * 3 - error\n"
}
},
"description" : "RigCtl server report"
};
defs.RigCtlServerSettings = {
"properties" : {
@@ -10289,6 +10330,15 @@ margin-bottom: 20px;
}
},
"description" : "Satellite Tracker actions"
};
defs.SatelliteTrackerReport = {
"properties" : {
"runningState" : {
"type" : "integer",
"description" : "Running state\n * 0 - not started\n * 1 - idle\n * 2 - running\n * 3 - error\n"
}
},
"description" : "Satellite Tracker report"
};
defs.SatelliteTrackerSettings = {
"properties" : {
@@ -10698,6 +10748,10 @@ margin-bottom: 20px;
};
defs.SimplePTTReport = {
"properties" : {
"runningState" : {
"type" : "integer",
"description" : "Running state\n * 0 - not started\n * 1 - idle\n * 2 - running\n * 3 - error\n"
},
"ptt" : {
"type" : "integer",
"description" : "PTT status\n * 0 - released\n * 1 - engaged\n"
@@ -11158,6 +11212,15 @@ margin-bottom: 20px;
}
},
"description" : "Settings to display in Star Tracker. Can be sent by other plugins to startracker.display message queue."
};
defs.StarTrackerReport = {
"properties" : {
"runningState" : {
"type" : "integer",
"description" : "Running state\n * 0 - not started\n * 1 - idle\n * 2 - running\n * 3 - error\n"
}
},
"description" : "RigCtl server report"
};
defs.StarTrackerSettings = {
"properties" : {
@@ -12383,6 +12446,15 @@ margin-bottom: 20px;
}
},
"description" : "VORLocalizer"
};
defs.VORLocalizerReport = {
"properties" : {
"runningState" : {
"type" : "integer",
"description" : "Running state\n * 0 - not started\n * 1 - idle\n * 2 - running\n * 3 - error\n"
}
},
"description" : "VORLocalizers"
};
defs.VORLocalizerSettings = {
"properties" : {
@@ -51090,7 +51162,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2021-10-22T01:02:48.375+02:00
Generated 2021-10-23T19:53:41.859+02:00
</div>
</div>
</div>
@@ -48,6 +48,14 @@ AFCSettings:
AFCReport:
description: "AFC report"
properties:
runningState:
type: integer
description: >
Running state
* 0 - not started
* 1 - idle
* 2 - running
* 3 - error
trackerChannelIndex:
description: Tracker index in device set
type: integer
@@ -9,7 +9,17 @@ FeatureReport:
type: string
AFCReport:
$ref: "/doc/swagger/include/AFC.yaml#/AFCReport"
SimplePTTReport:
$ref: "/doc/swagger/include/SimplePTT.yaml#/SimplePTTReport"
GS232ControllerReport:
$ref: "/doc/swagger/include/GS232Controller.yaml#/GS232ControllerReport"
PERTesterReport:
$ref: "/doc/swagger/include/PERTester.yaml#/PERTesterReport"
RigCtlServerReport:
$ref: "/doc/swagger/include/RigCtlServer.yaml#/RigCtlServerReport"
SatelliteTrackerReport:
$ref: "/doc/swagger/include/SatelliteTracker.yaml#/SatelliteTrackerReport"
SimplePTTReport:
$ref: "/doc/swagger/include/SimplePTT.yaml#/SimplePTTReport"
StarTrackerReport:
$ref: "/doc/swagger/include/StarTracker.yaml#/StarTrackerReport"
VORLocalizerReport:
$ref: "/doc/swagger/include/VORLocalizer.yaml#/VORLocalizerReport"
@@ -65,6 +65,14 @@ GS232ControllerSettings:
GS232ControllerReport:
description: "GS-232 Controller report"
properties:
runningState:
type: integer
description: >
Running state
* 0 - not started
* 1 - idle
* 2 - running
* 3 - error
sources:
description: Names of pipe sources
type: array
@@ -49,6 +49,18 @@ PERTesterSettings:
reverseAPIFeatureIndex:
type: integer
PERTesterReport:
description: PERTester
properties:
runningState:
type: integer
description: >
Running state
* 0 - not started
* 1 - idle
* 2 - running
* 3 - error
PERTesterActions:
description: PERTester
properties:
@@ -34,6 +34,18 @@ RigCtlServerSettings:
reverseAPIFeatureIndex:
type: integer
RigCtlServerReport:
description: RigCtl server report
properties:
runningState:
type: integer
description: >
Running state
* 0 - not started
* 1 - idle
* 2 - running
* 3 - error
RigCtlServerActions:
description: RigCtl server actions
properties:
@@ -166,6 +166,18 @@ SatelliteDeviceSettings:
description: "Command to execute on LOS"
type: string
SatelliteTrackerReport:
description: "Satellite Tracker report"
properties:
runningState:
type: integer
description: >
Running state
* 0 - not started
* 1 - idle
* 2 - running
* 3 - error
SatelliteTrackerActions:
description: "Satellite Tracker actions"
properties:
@@ -32,6 +32,14 @@ SimplePTTSettings:
SimplePTTReport:
description: "Simple PTT report"
properties:
runningState:
type: integer
description: >
Running state
* 0 - not started
* 1 - idle
* 2 - running
* 3 - error
ptt:
type: integer
description: >
@@ -202,6 +202,18 @@ StarTrackerDisplayLoSSettings:
type: number
format: float
StarTrackerReport:
description: RigCtl server report
properties:
runningState:
type: integer
description: >
Running state
* 0 - not started
* 1 - idle
* 2 - running
* 3 - error
StarTrackerActions:
description: "Star Tracker actions"
properties:
@@ -32,6 +32,18 @@ VORLocalizerSettings:
description: Shift of center frequency in Hz
type: integer
VORLocalizerReport:
description: VORLocalizers
properties:
runningState:
type: integer
description: >
Running state
* 0 - not started
* 1 - idle
* 2 - running
* 3 - error
VORLocalizerActions:
description: VORLocalizer
properties: