diff --git a/sdrbase/resources/index.html b/sdrbase/resources/index.html index e6fc65d91..95b9c8dce 100644 --- a/sdrbase/resources/index.html +++ b/sdrbase/resources/index.html @@ -1049,9 +1049,9 @@ margin-bottom: 20px; "description" : "Name of the preset group" }, "centerFrequency" : { - "type" : "number", - "format" : "float", - "description" : "Center freqeuency in MHz" + "type" : "integer", + "format" : "int64", + "description" : "Center freqeuency in Hz" }, "type" : { "type" : "string", @@ -1068,9 +1068,9 @@ margin-bottom: 20px; "required" : [ "centerFrequency", "name", "type" ], "properties" : { "centerFrequency" : { - "type" : "number", - "format" : "float", - "description" : "Center freqeuency in MHz" + "type" : "integer", + "format" : "int64", + "description" : "Center freqeuency in Hz" }, "type" : { "type" : "string", @@ -6195,12 +6195,47 @@ $(document).ready(function() { -

Status: 400 - Invalid frequency

+

Status: 400 - Preset type and device set type mismatch

+
+
+ +
+ +

Status: 404 - No preset or device set found

@@ -6309,7 +6344,7 @@ $(document).ready(function() {

-

Create a new preset from a device set settings

+

Create a new preset from a device set settings. Frequency and type is ignored and taken from the the device set values.


/sdrangel/preset
@@ -6598,42 +6633,61 @@ $(document).ready(function() { -

Status: 400 - Invalid frequency

- - - -
-
-

Status: 404 - Device set not found

- - -
-
- -

Status: 409 - Preset already exists

- - - -
-
- -

Status: 500 - Error

-
-
-
+
+
+ +
+ +
+
+ +

Status: 409 - Error

+ + + +
+
+
- +
@@ -6685,7 +6739,7 @@ $(document).ready(function() {

-

Save device set settings on a preset

+

Update device set settings on an existing preset.


/sdrangel/preset
@@ -6974,14 +7028,6 @@ $(document).ready(function() {
-

Status: 400 - Invalid frequency

- - - -
-
-

Status: 404 - No preset or device set found