1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-25 03:24:18 -04:00

SigMF file sink: REST API

This commit is contained in:
f4exb
2020-11-10 10:13:34 +01:00
parent ea213bf6cc
commit aad91f0aef
24 changed files with 1694 additions and 2 deletions
+118 -1
View File
@@ -2279,6 +2279,9 @@ margin-bottom: 20px;
},
"PacketModActions" : {
"$ref" : "#/definitions/PacketModActions"
},
"SigMFFileSinkActions" : {
"$ref" : "#/definitions/SigMFFileSinkActions"
}
},
"description" : "Base channel actions. Only the channel actions corresponding to the channel specified in the channelType field is or should be present."
@@ -2457,6 +2460,9 @@ margin-bottom: 20px;
"PacketModReport" : {
"$ref" : "#/definitions/PacketModReport"
},
"SigMFFileSinkReport" : {
"$ref" : "#/definitions/SigMFFileSinkReport"
},
"SSBModReport" : {
"$ref" : "#/definitions/SSBModReport"
},
@@ -2567,6 +2573,9 @@ margin-bottom: 20px;
"RemoteSourceSettings" : {
"$ref" : "#/definitions/RemoteSourceSettings"
},
"SigMFFileSinkSettings" : {
"$ref" : "#/definitions/SigMFFileSinkSettings"
},
"SSBModSettings" : {
"$ref" : "#/definitions/SSBModSettings"
},
@@ -7540,6 +7549,114 @@ margin-bottom: 20px;
}
},
"description" : "SigMFFileInput"
};
defs.SigMFFileSinkActions = {
"properties" : {
"record" : {
"type" : "integer",
"description" : "Record action\n * 0 - stop recording\n * 1 - start recording\n"
}
},
"description" : "SigMFFileSink"
};
defs.SigMFFileSinkReport = {
"properties" : {
"spectrumSquelch" : {
"type" : "integer",
"description" : "Spectrum squelch status * 0 - closed * 1 - open\n"
},
"spectrumMax" : {
"type" : "number",
"format" : "float",
"description" : "Current spectrum max in squared magnitude (power)"
},
"sinkSampleRate" : {
"type" : "integer"
},
"channelSampleRate" : {
"type" : "integer"
},
"recording" : {
"type" : "integer",
"description" : "Recording status * 0 - not recording * 1 - recording\n"
},
"recordTimeMs" : {
"type" : "integer",
"description" : "Record total time in milliseconds"
},
"recordSize" : {
"type" : "integer",
"format" : "int64",
"description" : "Record data size in bytes"
},
"recordCaptures" : {
"type" : "integer",
"description" : "Number of record captures not including current if recording"
}
},
"description" : "SigMFFileSink"
};
defs.SigMFFileSinkSettings = {
"properties" : {
"inputFrequencyOffset" : {
"type" : "integer"
},
"fileRecordName" : {
"type" : "string",
"description" : "full path of the meta file"
},
"rgbColor" : {
"type" : "integer"
},
"title" : {
"type" : "string"
},
"log2Decim" : {
"type" : "integer"
},
"spectrumSquelchMode" : {
"type" : "integer",
"description" : "Spectrum squelch system * 0 - deactivated * 1 - activated\n"
},
"spectrumSquelch" : {
"type" : "number",
"format" : "float",
"description" : "Squelch level in power dB"
},
"preRecordTime" : {
"type" : "integer",
"description" : "Number of seconds to record before recording is triggered (manual or squelch)"
},
"squelchPostRecordTime" : {
"type" : "integer",
"description" : "Number of seconds to record after spectrum squelch cloeses"
},
"squelchRecordingEnable" : {
"type" : "integer",
"description" : "Automatic recording triggered by spectrum squalch * 0 - disabled * 1 - enabled\n"
},
"streamIndex" : {
"type" : "integer",
"description" : "MIMO channel. Not relevant when connected to SI (single Rx)."
},
"useReverseAPI" : {
"type" : "integer",
"description" : "Synchronize with reverse API (1 for yes, 0 for no)"
},
"reverseAPIAddress" : {
"type" : "string"
},
"reverseAPIPort" : {
"type" : "integer"
},
"reverseAPIDeviceIndex" : {
"type" : "integer"
},
"reverseAPIChannelIndex" : {
"type" : "integer"
}
},
"description" : "SigMFFileSink"
};
defs.SimplePTTActions = {
"properties" : {
@@ -40799,7 +40916,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2020-11-10T00:25:24.966+01:00
Generated 2020-11-10T09:45:26.359+01:00
</div>
</div>
</div>