- Generated 2020-11-10T19:50:40.958+01:00
+ Generated 2020-11-10T21:31:22.328+01:00
diff --git a/sdrbase/resources/webapi/doc/swagger/include/BeamSteeringCWMod.yaml b/sdrbase/resources/webapi/doc/swagger/include/BeamSteeringCWMod.yaml
new file mode 100644
index 000000000..dfa50c861
--- /dev/null
+++ b/sdrbase/resources/webapi/doc/swagger/include/BeamSteeringCWMod.yaml
@@ -0,0 +1,24 @@
+BeamSteeringCWModSettings:
+ description: BeamSteeringCWMod
+ properties:
+ steerDegrees:
+ type: integer
+ rgbColor:
+ type: integer
+ title:
+ type: string
+ log2Interp:
+ type: integer
+ filterChainHash:
+ 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
+ reverseAPIChannelIndex:
+ type: integer
diff --git a/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml b/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml
index 312101552..f93b6d694 100644
--- a/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml
+++ b/sdrbase/resources/webapi/doc/swagger/include/ChannelSettings.yaml
@@ -27,6 +27,8 @@ ChannelSettings:
$ref: "/doc/swagger/include/ATVDemod.yaml#/ATVDemodSettings"
ATVModSettings:
$ref: "/doc/swagger/include/ATVMod.yaml#/ATVModSettings"
+ BeamSteeringCWModSettings:
+ $ref: "/doc/swagger/include/BeamSteeringCWMod.yaml#/BeamSteeringCWModSettings"
BFMDemodSettings:
$ref: "/doc/swagger/include/BFMDemod.yaml#/BFMDemodSettings"
ChannelAnalyzerSettings:
diff --git a/sdrbase/webapi/webapirequestmapper.cpp b/sdrbase/webapi/webapirequestmapper.cpp
index a92e9ac84..40e86e28b 100644
--- a/sdrbase/webapi/webapirequestmapper.cpp
+++ b/sdrbase/webapi/webapirequestmapper.cpp
@@ -3550,6 +3550,11 @@ bool WebAPIRequestMapper::getChannelSettings(
channelSettings->setAtvModSettings(new SWGSDRangel::SWGATVModSettings());
channelSettings->getAtvModSettings()->fromJsonObject(settingsJsonObject);
}
+ else if (channelSettingsKey == "BeamSteeringCWModSettings")
+ {
+ channelSettings->setBeamSteeringCwModSettings(new SWGSDRangel::SWGBeamSteeringCWModSettings());
+ channelSettings->getBeamSteeringCwModSettings()->fromJsonObject(settingsJsonObject);
+ }
else if (channelSettingsKey == "BFMDemodSettings")
{
channelSettings->setBfmDemodSettings(new SWGSDRangel::SWGBFMDemodSettings());
diff --git a/swagger/sdrangel/api/swagger/include/BeamSteeringCWMod.yaml b/swagger/sdrangel/api/swagger/include/BeamSteeringCWMod.yaml
new file mode 100644
index 000000000..dfa50c861
--- /dev/null
+++ b/swagger/sdrangel/api/swagger/include/BeamSteeringCWMod.yaml
@@ -0,0 +1,24 @@
+BeamSteeringCWModSettings:
+ description: BeamSteeringCWMod
+ properties:
+ steerDegrees:
+ type: integer
+ rgbColor:
+ type: integer
+ title:
+ type: string
+ log2Interp:
+ type: integer
+ filterChainHash:
+ 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
+ reverseAPIChannelIndex:
+ type: integer
diff --git a/swagger/sdrangel/api/swagger/include/ChannelSettings.yaml b/swagger/sdrangel/api/swagger/include/ChannelSettings.yaml
index a613062c2..988a60704 100644
--- a/swagger/sdrangel/api/swagger/include/ChannelSettings.yaml
+++ b/swagger/sdrangel/api/swagger/include/ChannelSettings.yaml
@@ -27,6 +27,8 @@ ChannelSettings:
$ref: "http://swgserver:8081/api/swagger/include/ATVDemod.yaml#/ATVDemodSettings"
ATVModSettings:
$ref: "http://swgserver:8081/api/swagger/include/ATVMod.yaml#/ATVModSettings"
+ BeamSteeringCWModSettings:
+ $ref: "http://swgserver:8081/api/swagger/include/BeamSteeringCWMod.yaml#/BeamSteeringCWModSettings"
BFMDemodSettings:
$ref: "http://swgserver:8081/api/swagger/include/BFMDemod.yaml#/BFMDemodSettings"
ChannelAnalyzerSettings:
diff --git a/swagger/sdrangel/code/html2/index.html b/swagger/sdrangel/code/html2/index.html
index 7d1698367..a26c78484 100644
--- a/swagger/sdrangel/code/html2/index.html
+++ b/swagger/sdrangel/code/html2/index.html
@@ -1771,6 +1771,42 @@ margin-bottom: 20px;
}
},
"description" : "A bandwidth expressed in Hertz (Hz)"
+};
+ defs.BeamSteeringCWModSettings = {
+ "properties" : {
+ "steerDegrees" : {
+ "type" : "integer"
+ },
+ "rgbColor" : {
+ "type" : "integer"
+ },
+ "title" : {
+ "type" : "string"
+ },
+ "log2Interp" : {
+ "type" : "integer"
+ },
+ "filterChainHash" : {
+ "type" : "integer"
+ },
+ "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" : "BeamSteeringCWMod"
};
defs.BladeRF1InputSettings = {
"properties" : {
@@ -2548,6 +2584,9 @@ margin-bottom: 20px;
"ATVModSettings" : {
"$ref" : "#/definitions/ATVModSettings"
},
+ "BeamSteeringCWModSettings" : {
+ "$ref" : "#/definitions/BeamSteeringCWModSettings"
+ },
"BFMDemodSettings" : {
"$ref" : "#/definitions/BFMDemodSettings"
},
@@ -41110,7 +41149,7 @@ except ApiException as e: