devicesetSpectrumReportGet
+devicesetSpectrumHistoryGet
Get the latest main spectrum measurement results
+Statistics over the spectrum history the GUI keeps for scrolling: per bin maximum, mean and occupancy over a period, and the signals found. Only rows taken with the device tuned and sampling as it is now are used. Needs scrolling enabled in the spectrum settings (scrollBar, scrollLength); the server keeps no history +
-
/sdrangel/deviceset/{deviceSetIndex}/spectrum/report
+ /sdrangel/deviceset/{deviceSetIndex}/spectrum/history
Usage and SDK Samples
curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/report"
+ curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/history?seconds=&bins=&startFrequency=&stopFrequency=&threshold="
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
@@ -38887,18 +39077,23 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ Float seconds = 3.4; // Float | How far back to look, in seconds (default 60)
+ Integer bins = 56; // Integer | Number of bins to reduce the spectrum to, 1 to 4096 (default 128)
+ Long startFrequency = 789; // Long | Lowest frequency to include in Hz. Default is the start of the spectrum
+ Long stopFrequency = 789; // Long | Highest frequency to include in Hz. Default is the end of the spectrum
+ Float threshold = 3.4; // Float | How far above the measured floor a bin must rise to count as occupied, in dB (default 6)
try {
- GLSpectrumReport result = apiInstance.devicesetSpectrumReportGet(deviceSetIndex);
+ GLSpectrumHistory result = apiInstance.devicesetSpectrumHistoryGet(deviceSetIndex, seconds, bins, startFrequency, stopFrequency, threshold);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumReportGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumHistoryGet");
e.printStackTrace();
}
}
}
import SWGSDRangel.api.DeviceSetApi;
public class DeviceSetApiExample {
@@ -38906,27 +39101,42 @@ public class DeviceSetApiExample {
public static void main(String[] args) {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ Float seconds = 3.4; // Float | How far back to look, in seconds (default 60)
+ Integer bins = 56; // Integer | Number of bins to reduce the spectrum to, 1 to 4096 (default 128)
+ Long startFrequency = 789; // Long | Lowest frequency to include in Hz. Default is the start of the spectrum
+ Long stopFrequency = 789; // Long | Highest frequency to include in Hz. Default is the end of the spectrum
+ Float threshold = 3.4; // Float | How far above the measured floor a bin must rise to count as occupied, in dB (default 6)
try {
- GLSpectrumReport result = apiInstance.devicesetSpectrumReportGet(deviceSetIndex);
+ GLSpectrumHistory result = apiInstance.devicesetSpectrumHistoryGet(deviceSetIndex, seconds, bins, startFrequency, stopFrequency, threshold);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumReportGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumHistoryGet");
e.printStackTrace();
}
}
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
+Float *seconds = 3.4; // How far back to look, in seconds (default 60) (optional)
+Integer *bins = 56; // Number of bins to reduce the spectrum to, 1 to 4096 (default 128) (optional)
+Long *startFrequency = 789; // Lowest frequency to include in Hz. Default is the start of the spectrum (optional)
+Long *stopFrequency = 789; // Highest frequency to include in Hz. Default is the end of the spectrum (optional)
+Float *threshold = 3.4; // How far above the measured floor a bin must rise to count as occupied, in dB (default 6) (optional)
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
-[apiInstance devicesetSpectrumReportGetWith:deviceSetIndex
- completionHandler: ^(GLSpectrumReport output, NSError* error) {
+[apiInstance devicesetSpectrumHistoryGetWith:deviceSetIndex
+ seconds:seconds
+ bins:bins
+ startFrequency:startFrequency
+ stopFrequency:stopFrequency
+ threshold:threshold
+ completionHandler: ^(GLSpectrumHistory output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -38937,13 +39147,20 @@ DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
var SdRangel = require('sd_rangel');
var api = new SdRangel.DeviceSetApi()
var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
+var opts = {
+ 'seconds': 3.4, // {Float} How far back to look, in seconds (default 60)
+ 'bins': 56, // {Integer} Number of bins to reduce the spectrum to, 1 to 4096 (default 128)
+ 'startFrequency': 789, // {Long} Lowest frequency to include in Hz. Default is the start of the spectrum
+ 'stopFrequency': 789, // {Long} Highest frequency to include in Hz. Default is the end of the spectrum
+ 'threshold': 3.4 // {Float} How far above the measured floor a bin must rise to count as occupied, in dB (default 6)
+};
var callback = function(error, data, response) {
if (error) {
@@ -38952,14 +39169,14 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.devicesetSpectrumReportGet(deviceSetIndex, callback);
+api.devicesetSpectrumHistoryGet(deviceSetIndex, opts, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
@@ -38968,22 +39185,27 @@ using SWGSDRangel.Model;
namespace Example
{
- public class devicesetSpectrumReportGetExample
+ public class devicesetSpectrumHistoryGetExample
{
public void main()
{
var apiInstance = new DeviceSetApi();
var deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ var seconds = 3.4; // Float | How far back to look, in seconds (default 60) (optional)
+ var bins = 56; // Integer | Number of bins to reduce the spectrum to, 1 to 4096 (default 128) (optional)
+ var startFrequency = 789; // Long | Lowest frequency to include in Hz. Default is the start of the spectrum (optional)
+ var stopFrequency = 789; // Long | Highest frequency to include in Hz. Default is the end of the spectrum (optional)
+ var threshold = 3.4; // Float | How far above the measured floor a bin must rise to count as occupied, in dB (default 6) (optional)
try
{
- GLSpectrumReport result = apiInstance.devicesetSpectrumReportGet(deviceSetIndex);
+ GLSpectrumHistory result = apiInstance.devicesetSpectrumHistoryGet(deviceSetIndex, seconds, bins, startFrequency, stopFrequency, threshold);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumReportGet: " + e.Message );
+ Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumHistoryGet: " + e.Message );
}
}
}
@@ -38991,40 +39213,50 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
+$seconds = 3.4; // Float | How far back to look, in seconds (default 60)
+$bins = 56; // Integer | Number of bins to reduce the spectrum to, 1 to 4096 (default 128)
+$startFrequency = 789; // Long | Lowest frequency to include in Hz. Default is the start of the spectrum
+$stopFrequency = 789; // Long | Highest frequency to include in Hz. Default is the end of the spectrum
+$threshold = 3.4; // Float | How far above the measured floor a bin must rise to count as occupied, in dB (default 6)
try {
- $result = $api_instance->devicesetSpectrumReportGet($deviceSetIndex);
+ $result = $api_instance->devicesetSpectrumHistoryGet($deviceSetIndex, $seconds, $bins, $startFrequency, $stopFrequency, $threshold);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DeviceSetApi->devicesetSpectrumReportGet: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DeviceSetApi->devicesetSpectrumHistoryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;
my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
+my $seconds = 3.4; # Float | How far back to look, in seconds (default 60)
+my $bins = 56; # Integer | Number of bins to reduce the spectrum to, 1 to 4096 (default 128)
+my $startFrequency = 789; # Long | Lowest frequency to include in Hz. Default is the start of the spectrum
+my $stopFrequency = 789; # Long | Highest frequency to include in Hz. Default is the end of the spectrum
+my $threshold = 3.4; # Float | How far above the measured floor a bin must rise to count as occupied, in dB (default 6)
eval {
- my $result = $api_instance->devicesetSpectrumReportGet(deviceSetIndex => $deviceSetIndex);
+ my $result = $api_instance->devicesetSpectrumHistoryGet(deviceSetIndex => $deviceSetIndex, seconds => $seconds, bins => $bins, startFrequency => $startFrequency, stopFrequency => $stopFrequency, threshold => $threshold);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DeviceSetApi->devicesetSpectrumReportGet: $@\n";
+ warn "Exception when calling DeviceSetApi->devicesetSpectrumHistoryGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
@@ -39034,12 +39266,17 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
+seconds = 3.4 # Float | How far back to look, in seconds (default 60) (optional)
+bins = 56 # Integer | Number of bins to reduce the spectrum to, 1 to 4096 (default 128) (optional)
+startFrequency = 789 # Long | Lowest frequency to include in Hz. Default is the start of the spectrum (optional)
+stopFrequency = 789 # Long | Highest frequency to include in Hz. Default is the end of the spectrum (optional)
+threshold = 3.4 # Float | How far above the measured floor a bin must rise to count as occupied, in dB (default 6) (optional)
try:
- api_response = api_instance.deviceset_spectrum_report_get(deviceSetIndex)
+ api_response = api_instance.deviceset_spectrum_history_get(deviceSetIndex, seconds=seconds, bins=bins, startFrequency=startFrequency, stopFrequency=stopFrequency, threshold=threshold)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DeviceSetApi->devicesetSpectrumReportGet: %s\n" % e)
+ print("Exception when calling DeviceSetApi->devicesetSpectrumHistoryGet: %s\n" % e)
| Name | +Description | +
|---|---|
| seconds | +
+
+
+
+
+
+
+
+
+ Float
+
+
+ (float)
+
+
+
+
+ How far back to look, in seconds (default 60)
+
+ |
+
| bins | +
+
+
+
+
+
+
+
+
+ Integer
+
+
+
+
+ Number of bins to reduce the spectrum to, 1 to 4096 (default 128)
+
+ |
+
| startFrequency | +
+
+
+
+
+
+
+
+
+ Long
+
+
+ (int64)
+
+
+
+
+ Lowest frequency to include in Hz. Default is the start of the spectrum
+
+ |
+
| stopFrequency | +
+
+
+
+
+
+
+
+
+ Long
+
+
+ (int64)
+
+
+
+
+ Highest frequency to include in Hz. Default is the end of the spectrum
+
+ |
+
| threshold | +
+
+
+
+
+
+
+
+
+ Float
+
+
+ (float)
+
+
+
+
+ How far above the measured floor a bin must rise to count as occupied, in dB (default 6)
+
+ |
+
Responses
-Status: 200 - On success return the results of the selected measurement
+Status: 200 - On success return the statistics
Status: 404 - Invalid index
+Status: 400 - Invalid parameters
Status: 500 - Error
+Status: 404 - Invalid index, or no history
Status: 501 - Function not implemented
+Status: 500 - Error
-
devicesetSpectrumServerDelete
+devicesetSpectrumHistoryImageGet
Stop main spectrum websocket server
+The spectrum history as a greyscale PNG waterfall, one pixel per bin across and one per row down with the newest row at the bottom, black a little below the noise floor and white at the strongest bin. The frequency and time extents come back in X-Spectrum-History headers and in the JSON form of the same call +
-
/sdrangel/deviceset/{deviceSetIndex}/spectrum/server
+ /sdrangel/deviceset/{deviceSetIndex}/spectrum/history/image
Usage and SDK Samples
curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"
+ curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/history/image?seconds=&bins=&rows=&startFrequency=&stopFrequency="
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
@@ -39305,18 +39662,22 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ Float seconds = 3.4; // Float | How far back to look, in seconds (default 60)
+ Integer bins = 56; // Integer | Width in pixels, 1 to 4096 (default 512)
+ Integer rows = 56; // Integer | At most this many rows, the most recent (default 512, up to 4000)
+ Long startFrequency = 789; // Long | Lowest frequency to include in Hz. Default is the start of the spectrum
+ Long stopFrequency = 789; // Long | Highest frequency to include in Hz. Default is the end of the spectrum
try {
- SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
- System.out.println(result);
+ apiInstance.devicesetSpectrumHistoryImageGet(deviceSetIndex, seconds, bins, rows, startFrequency, stopFrequency);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerDelete");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumHistoryImageGet");
e.printStackTrace();
}
}
}
import SWGSDRangel.api.DeviceSetApi;
public class DeviceSetApiExample {
@@ -39324,30 +39685,41 @@ public class DeviceSetApiExample {
public static void main(String[] args) {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ Float seconds = 3.4; // Float | How far back to look, in seconds (default 60)
+ Integer bins = 56; // Integer | Width in pixels, 1 to 4096 (default 512)
+ Integer rows = 56; // Integer | At most this many rows, the most recent (default 512, up to 4000)
+ Long startFrequency = 789; // Long | Lowest frequency to include in Hz. Default is the start of the spectrum
+ Long stopFrequency = 789; // Long | Highest frequency to include in Hz. Default is the end of the spectrum
try {
- SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
- System.out.println(result);
+ apiInstance.devicesetSpectrumHistoryImageGet(deviceSetIndex, seconds, bins, rows, startFrequency, stopFrequency);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerDelete");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumHistoryImageGet");
e.printStackTrace();
}
}
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
+Float *seconds = 3.4; // How far back to look, in seconds (default 60) (optional)
+Integer *bins = 56; // Width in pixels, 1 to 4096 (default 512) (optional)
+Integer *rows = 56; // At most this many rows, the most recent (default 512, up to 4000) (optional)
+Long *startFrequency = 789; // Lowest frequency to include in Hz. Default is the start of the spectrum (optional)
+Long *stopFrequency = 789; // Highest frequency to include in Hz. Default is the end of the spectrum (optional)
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
-[apiInstance devicesetSpectrumServerDeleteWith:deviceSetIndex
- completionHandler: ^(SuccessResponse output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
+[apiInstance devicesetSpectrumHistoryImageGetWith:deviceSetIndex
+ seconds:seconds
+ bins:bins
+ rows:rows
+ startFrequency:startFrequency
+ stopFrequency:stopFrequency
+ completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
@@ -39355,29 +39727,36 @@ DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
var SdRangel = require('sd_rangel');
var api = new SdRangel.DeviceSetApi()
var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
+var opts = {
+ 'seconds': 3.4, // {Float} How far back to look, in seconds (default 60)
+ 'bins': 56, // {Integer} Width in pixels, 1 to 4096 (default 512)
+ 'rows': 56, // {Integer} At most this many rows, the most recent (default 512, up to 4000)
+ 'startFrequency': 789, // {Long} Lowest frequency to include in Hz. Default is the start of the spectrum
+ 'stopFrequency': 789 // {Long} Highest frequency to include in Hz. Default is the end of the spectrum
+};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
- console.log('API called successfully. Returned data: ' + data);
+ console.log('API called successfully.');
}
};
-api.devicesetSpectrumServerDelete(deviceSetIndex, callback);
+api.devicesetSpectrumHistoryImageGet(deviceSetIndex, opts, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
@@ -39386,22 +39765,26 @@ using SWGSDRangel.Model;
namespace Example
{
- public class devicesetSpectrumServerDeleteExample
+ public class devicesetSpectrumHistoryImageGetExample
{
public void main()
{
var apiInstance = new DeviceSetApi();
var deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ var seconds = 3.4; // Float | How far back to look, in seconds (default 60) (optional)
+ var bins = 56; // Integer | Width in pixels, 1 to 4096 (default 512) (optional)
+ var rows = 56; // Integer | At most this many rows, the most recent (default 512, up to 4000) (optional)
+ var startFrequency = 789; // Long | Lowest frequency to include in Hz. Default is the start of the spectrum (optional)
+ var stopFrequency = 789; // Long | Highest frequency to include in Hz. Default is the end of the spectrum (optional)
try
{
- SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
- Debug.WriteLine(result);
+ apiInstance.devicesetSpectrumHistoryImageGet(deviceSetIndex, seconds, bins, rows, startFrequency, stopFrequency);
}
catch (Exception e)
{
- Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerDelete: " + e.Message );
+ Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumHistoryImageGet: " + e.Message );
}
}
}
@@ -39409,40 +39792,48 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
+$seconds = 3.4; // Float | How far back to look, in seconds (default 60)
+$bins = 56; // Integer | Width in pixels, 1 to 4096 (default 512)
+$rows = 56; // Integer | At most this many rows, the most recent (default 512, up to 4000)
+$startFrequency = 789; // Long | Lowest frequency to include in Hz. Default is the start of the spectrum
+$stopFrequency = 789; // Long | Highest frequency to include in Hz. Default is the end of the spectrum
try {
- $result = $api_instance->devicesetSpectrumServerDelete($deviceSetIndex);
- print_r($result);
+ $api_instance->devicesetSpectrumHistoryImageGet($deviceSetIndex, $seconds, $bins, $rows, $startFrequency, $stopFrequency);
} catch (Exception $e) {
- echo 'Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DeviceSetApi->devicesetSpectrumHistoryImageGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;
my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
+my $seconds = 3.4; # Float | How far back to look, in seconds (default 60)
+my $bins = 56; # Integer | Width in pixels, 1 to 4096 (default 512)
+my $rows = 56; # Integer | At most this many rows, the most recent (default 512, up to 4000)
+my $startFrequency = 789; # Long | Lowest frequency to include in Hz. Default is the start of the spectrum
+my $stopFrequency = 789; # Long | Highest frequency to include in Hz. Default is the end of the spectrum
eval {
- my $result = $api_instance->devicesetSpectrumServerDelete(deviceSetIndex => $deviceSetIndex);
- print Dumper($result);
+ $api_instance->devicesetSpectrumHistoryImageGet(deviceSetIndex => $deviceSetIndex, seconds => $seconds, bins => $bins, rows => $rows, startFrequency => $startFrequency, stopFrequency => $stopFrequency);
};
if ($@) {
- warn "Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: $@\n";
+ warn "Exception when calling DeviceSetApi->devicesetSpectrumHistoryImageGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
@@ -39452,12 +39843,16 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
+seconds = 3.4 # Float | How far back to look, in seconds (default 60) (optional)
+bins = 56 # Integer | Width in pixels, 1 to 4096 (default 512) (optional)
+rows = 56 # Integer | At most this many rows, the most recent (default 512, up to 4000) (optional)
+startFrequency = 789 # Long | Lowest frequency to include in Hz. Default is the start of the spectrum (optional)
+stopFrequency = 789 # Long | Highest frequency to include in Hz. Default is the end of the spectrum (optional)
try:
- api_response = api_instance.deviceset_spectrum_server_delete(deviceSetIndex)
- pprint(api_response)
+ api_instance.deviceset_spectrum_history_image_get(deviceSetIndex, seconds=seconds, bins=bins, rows=rows, startFrequency=startFrequency, stopFrequency=stopFrequency)
except ApiException as e:
- print("Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: %s\n" % e)
+ print("Exception when calling DeviceSetApi->devicesetSpectrumHistoryImageGet: %s\n" % e)
| Name | +Description | +
|---|---|
| seconds | +
- Responses-Status: 200 - Server successfully stopped- |
+
| rows | +
+
+
+
+
+
+
+
+
+ Integer
+
+
+
+
+ At most this many rows, the most recent (default 512, up to 4000)
+
+ |
+
| startFrequency | +
+
+
+
+
+
+
+
+
+ Long
+
+
+ (int64)
+
+
+
+ Lowest frequency to include in Hz. Default is the start of the spectrum
+
+ |
+
| stopFrequency | +
+
+
+
+
+
+
+
+
+ Long
+
+
+ (int64)
+
+
+
+
+ Highest frequency to include in Hz. Default is the end of the spectrum
+
+ |
+
Responses
+Status: 200 - The PNG image
+ +Status: 404 - Device not found
+Status: 400 - Invalid parameters
Status: 500 - Error
+Status: 404 - Invalid index, or no history
Status: 501 - Function not implemented
+Status: 500 - Error
-
devicesetSpectrumServerGet
+devicesetSpectrumReportGet
Get main spectrum websocket server status
+Get the latest main spectrum measurement results
-
/sdrangel/deviceset/{deviceSetIndex}/spectrum/server
+ /sdrangel/deviceset/{deviceSetIndex}/spectrum/report
Usage and SDK Samples
curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"
+ curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/report"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
@@ -39767,17 +40200,17 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
- SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
+ GLSpectrumReport result = apiInstance.devicesetSpectrumReportGet(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumReportGet");
e.printStackTrace();
}
}
}
import SWGSDRangel.api.DeviceSetApi;
public class DeviceSetApiExample {
@@ -39786,26 +40219,26 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
- SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
+ GLSpectrumReport result = apiInstance.devicesetSpectrumReportGet(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumReportGet");
e.printStackTrace();
}
}
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
-[apiInstance devicesetSpectrumServerGetWith:deviceSetIndex
- completionHandler: ^(SpectrumServer output, NSError* error) {
+[apiInstance devicesetSpectrumReportGetWith:deviceSetIndex
+ completionHandler: ^(GLSpectrumReport output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -39816,7 +40249,7 @@ DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
var SdRangel = require('sd_rangel');
var api = new SdRangel.DeviceSetApi()
@@ -39831,14 +40264,14 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.devicesetSpectrumServerGet(deviceSetIndex, callback);
+api.devicesetSpectrumReportGet(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
@@ -39847,7 +40280,7 @@ using SWGSDRangel.Model;
namespace Example
{
- public class devicesetSpectrumServerGetExample
+ public class devicesetSpectrumReportGetExample
{
public void main()
{
@@ -39857,12 +40290,12 @@ namespace Example
try
{
- SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
+ GLSpectrumReport result = apiInstance.devicesetSpectrumReportGet(deviceSetIndex);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerGet: " + e.Message );
+ Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumReportGet: " + e.Message );
}
}
}
@@ -39870,7 +40303,7 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
@@ -39878,15 +40311,15 @@ $api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
- $result = $api_instance->devicesetSpectrumServerGet($deviceSetIndex);
+ $result = $api_instance->devicesetSpectrumReportGet($deviceSetIndex);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DeviceSetApi->devicesetSpectrumServerGet: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DeviceSetApi->devicesetSpectrumReportGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;
@@ -39895,15 +40328,15 @@ my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
eval {
- my $result = $api_instance->devicesetSpectrumServerGet(deviceSetIndex => $deviceSetIndex);
+ my $result = $api_instance->devicesetSpectrumReportGet(deviceSetIndex => $deviceSetIndex);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DeviceSetApi->devicesetSpectrumServerGet: $@\n";
+ warn "Exception when calling DeviceSetApi->devicesetSpectrumReportGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
@@ -39915,10 +40348,10 @@ api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
try:
- api_response = api_instance.deviceset_spectrum_server_get(deviceSetIndex)
+ api_response = api_instance.deviceset_spectrum_report_get(deviceSetIndex)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DeviceSetApi->devicesetSpectrumServerGet: %s\n" % e)
+ print("Exception when calling DeviceSetApi->devicesetSpectrumReportGet: %s\n" % e)
Responses
-Status: 200 - On success return main spectrum server status
+Status: 200 - On success return the results of the selected measurement
-
devicesetSpectrumServerPost
+devicesetSpectrumServerDelete
Start main spectrum websocket server
+Stop main spectrum websocket server
-
/sdrangel/deviceset/{deviceSetIndex}/spectrum/server
+ /sdrangel/deviceset/{deviceSetIndex}/spectrum/server
Usage and SDK Samples
curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"
+ curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
@@ -40185,17 +40618,17 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
- SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
+ SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerPost");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerDelete");
e.printStackTrace();
}
}
}
import SWGSDRangel.api.DeviceSetApi;
public class DeviceSetApiExample {
@@ -40204,25 +40637,25 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
- SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
+ SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerPost");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerDelete");
e.printStackTrace();
}
}
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
-[apiInstance devicesetSpectrumServerPostWith:deviceSetIndex
+[apiInstance devicesetSpectrumServerDeleteWith:deviceSetIndex
completionHandler: ^(SuccessResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -40234,7 +40667,7 @@ DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
var SdRangel = require('sd_rangel');
var api = new SdRangel.DeviceSetApi()
@@ -40249,14 +40682,14 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.devicesetSpectrumServerPost(deviceSetIndex, callback);
+api.devicesetSpectrumServerDelete(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
@@ -40265,7 +40698,7 @@ using SWGSDRangel.Model;
namespace Example
{
- public class devicesetSpectrumServerPostExample
+ public class devicesetSpectrumServerDeleteExample
{
public void main()
{
@@ -40275,12 +40708,12 @@ namespace Example
try
{
- SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
+ SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerPost: " + e.Message );
+ Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerDelete: " + e.Message );
}
}
}
@@ -40288,7 +40721,7 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
@@ -40296,15 +40729,15 @@ $api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
- $result = $api_instance->devicesetSpectrumServerPost($deviceSetIndex);
+ $result = $api_instance->devicesetSpectrumServerDelete($deviceSetIndex);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DeviceSetApi->devicesetSpectrumServerPost: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;
@@ -40313,15 +40746,15 @@ my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
eval {
- my $result = $api_instance->devicesetSpectrumServerPost(deviceSetIndex => $deviceSetIndex);
+ my $result = $api_instance->devicesetSpectrumServerDelete(deviceSetIndex => $deviceSetIndex);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DeviceSetApi->devicesetSpectrumServerPost: $@\n";
+ warn "Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
@@ -40333,10 +40766,10 @@ api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
try:
- api_response = api_instance.deviceset_spectrum_server_post(deviceSetIndex)
+ api_response = api_instance.deviceset_spectrum_server_delete(deviceSetIndex)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DeviceSetApi->devicesetSpectrumServerPost: %s\n" % e)
+ print("Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: %s\n" % e)
Responses
-Status: 200 - Server successfully started
+Status: 200 - Server successfully stopped
-
devicesetSpectrumSettingsGet
+devicesetSpectrumServerGet
Get main spectrum settings
+Get main spectrum websocket server status
-
/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings
+ /sdrangel/deviceset/{deviceSetIndex}/spectrum/server
Usage and SDK Samples
curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings"
+ curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
@@ -40646,17 +41079,17 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
- GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
+ SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerGet");
e.printStackTrace();
}
}
}
import SWGSDRangel.api.DeviceSetApi;
public class DeviceSetApiExample {
@@ -40665,26 +41098,26 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
- GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
+ SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerGet");
e.printStackTrace();
}
}
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
-[apiInstance devicesetSpectrumSettingsGetWith:deviceSetIndex
- completionHandler: ^(GLSpectrum output, NSError* error) {
+[apiInstance devicesetSpectrumServerGetWith:deviceSetIndex
+ completionHandler: ^(SpectrumServer output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -40695,7 +41128,7 @@ DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
var SdRangel = require('sd_rangel');
var api = new SdRangel.DeviceSetApi()
@@ -40710,14 +41143,14 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.devicesetSpectrumSettingsGet(deviceSetIndex, callback);
+api.devicesetSpectrumServerGet(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
@@ -40726,7 +41159,7 @@ using SWGSDRangel.Model;
namespace Example
{
- public class devicesetSpectrumSettingsGetExample
+ public class devicesetSpectrumServerGetExample
{
public void main()
{
@@ -40736,12 +41169,12 @@ namespace Example
try
{
- GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
+ SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumSettingsGet: " + e.Message );
+ Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerGet: " + e.Message );
}
}
}
@@ -40749,7 +41182,7 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
@@ -40757,15 +41190,15 @@ $api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
try {
- $result = $api_instance->devicesetSpectrumSettingsGet($deviceSetIndex);
+ $result = $api_instance->devicesetSpectrumServerGet($deviceSetIndex);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DeviceSetApi->devicesetSpectrumSettingsGet: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DeviceSetApi->devicesetSpectrumServerGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;
@@ -40774,15 +41207,15 @@ my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
eval {
- my $result = $api_instance->devicesetSpectrumSettingsGet(deviceSetIndex => $deviceSetIndex);
+ my $result = $api_instance->devicesetSpectrumServerGet(deviceSetIndex => $deviceSetIndex);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DeviceSetApi->devicesetSpectrumSettingsGet: $@\n";
+ warn "Exception when calling DeviceSetApi->devicesetSpectrumServerGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
@@ -40794,10 +41227,10 @@ api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
try:
- api_response = api_instance.deviceset_spectrum_settings_get(deviceSetIndex)
+ api_response = api_instance.deviceset_spectrum_server_get(deviceSetIndex)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DeviceSetApi->devicesetSpectrumSettingsGet: %s\n" % e)
+ print("Exception when calling DeviceSetApi->devicesetSpectrumServerGet: %s\n" % e)
Responses
-Status: 200 - On success return details on the main spectrum
+Status: 200 - On success return main spectrum server status
-
devicesetSpectrumSettingsPatch
+devicesetSpectrumServerPost
Apply main spectrum settings differentially (no force)
+Start main spectrum websocket server
-
/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings
+ /sdrangel/deviceset/{deviceSetIndex}/spectrum/server
Usage and SDK Samples
curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings"
+ curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
@@ -41063,19 +41496,18 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
- GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
try {
- GLSpectrum result = apiInstance.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
+ SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPatch");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerPost");
e.printStackTrace();
}
}
}
import SWGSDRangel.api.DeviceSetApi;
public class DeviceSetApiExample {
@@ -41083,30 +41515,27 @@ public class DeviceSetApiExample {
public static void main(String[] args) {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
- GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
try {
- GLSpectrum result = apiInstance.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
+ SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPatch");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerPost");
e.printStackTrace();
}
}
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
-GLSpectrum *body = ; // Spectrum settings to apply
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
-[apiInstance devicesetSpectrumSettingsPatchWith:deviceSetIndex
- body:body
- completionHandler: ^(GLSpectrum output, NSError* error) {
+[apiInstance devicesetSpectrumServerPostWith:deviceSetIndex
+ completionHandler: ^(SuccessResponse output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -41117,15 +41546,13 @@ DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
var SdRangel = require('sd_rangel');
var api = new SdRangel.DeviceSetApi()
var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
-var body = ; // {GLSpectrum} Spectrum settings to apply
-
var callback = function(error, data, response) {
if (error) {
@@ -41134,14 +41561,14 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.devicesetSpectrumSettingsPatch(deviceSetIndex, body, callback);
+api.devicesetSpectrumServerPost(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
@@ -41150,23 +41577,22 @@ using SWGSDRangel.Model;
namespace Example
{
- public class devicesetSpectrumSettingsPatchExample
+ public class devicesetSpectrumServerPostExample
{
public void main()
{
var apiInstance = new DeviceSetApi();
var deviceSetIndex = 56; // Integer | Index of device set in the device set list
- var body = new GLSpectrum(); // GLSpectrum | Spectrum settings to apply
try
{
- GLSpectrum result = apiInstance.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
+ SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumSettingsPatch: " + e.Message );
+ Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerPost: " + e.Message );
}
}
}
@@ -41174,42 +41600,40 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
-$body = ; // GLSpectrum | Spectrum settings to apply
try {
- $result = $api_instance->devicesetSpectrumSettingsPatch($deviceSetIndex, $body);
+ $result = $api_instance->devicesetSpectrumServerPost($deviceSetIndex);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DeviceSetApi->devicesetSpectrumSettingsPatch: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DeviceSetApi->devicesetSpectrumServerPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;
my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
-my $body = SWGSDRangel::Object::GLSpectrum->new(); # GLSpectrum | Spectrum settings to apply
eval {
- my $result = $api_instance->devicesetSpectrumSettingsPatch(deviceSetIndex => $deviceSetIndex, body => $body);
+ my $result = $api_instance->devicesetSpectrumServerPost(deviceSetIndex => $deviceSetIndex);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DeviceSetApi->devicesetSpectrumSettingsPatch: $@\n";
+ warn "Exception when calling DeviceSetApi->devicesetSpectrumServerPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
@@ -41219,13 +41643,12 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
-body = # GLSpectrum | Spectrum settings to apply
try:
- api_response = api_instance.deviceset_spectrum_settings_patch(deviceSetIndex, body)
+ api_response = api_instance.deviceset_spectrum_server_post(deviceSetIndex)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DeviceSetApi->devicesetSpectrumSettingsPatch: %s\n" % e)
+ print("Exception when calling DeviceSetApi->devicesetSpectrumServerPost: %s\n" % e)
| Name | -Description | -
|---|---|
| body * | -- - - | -
Status: 400 - Invalid device set index
Status: 404 - Invalid device set index or device not found
+Status: 404 - Device not found
-
devicesetSpectrumSettingsPut
+devicesetSpectrumSettingsGet
Apply main spectrum settings unconditionally (force)
+Get main spectrum settings
-
/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings
+ /sdrangel/deviceset/{deviceSetIndex}/spectrum/settings
Usage and SDK Samples
curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings"
+ curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
@@ -41533,19 +41957,18 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
- GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
try {
- GLSpectrum result = apiInstance.devicesetSpectrumSettingsPut(deviceSetIndex, body);
+ GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPut");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsGet");
e.printStackTrace();
}
}
}
import SWGSDRangel.api.DeviceSetApi;
public class DeviceSetApiExample {
@@ -41553,29 +41976,26 @@ public class DeviceSetApiExample {
public static void main(String[] args) {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
- GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
try {
- GLSpectrum result = apiInstance.devicesetSpectrumSettingsPut(deviceSetIndex, body);
+ GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPut");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsGet");
e.printStackTrace();
}
}
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
-GLSpectrum *body = ; // Spectrum settings to apply
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
-[apiInstance devicesetSpectrumSettingsPutWith:deviceSetIndex
- body:body
+[apiInstance devicesetSpectrumSettingsGetWith:deviceSetIndex
completionHandler: ^(GLSpectrum output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -41587,15 +42007,13 @@ DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
var SdRangel = require('sd_rangel');
var api = new SdRangel.DeviceSetApi()
var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
-var body = ; // {GLSpectrum} Spectrum settings to apply
-
var callback = function(error, data, response) {
if (error) {
@@ -41604,14 +42022,14 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.devicesetSpectrumSettingsPut(deviceSetIndex, body, callback);
+api.devicesetSpectrumSettingsGet(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
@@ -41620,23 +42038,22 @@ using SWGSDRangel.Model;
namespace Example
{
- public class devicesetSpectrumSettingsPutExample
+ public class devicesetSpectrumSettingsGetExample
{
public void main()
{
var apiInstance = new DeviceSetApi();
var deviceSetIndex = 56; // Integer | Index of device set in the device set list
- var body = new GLSpectrum(); // GLSpectrum | Spectrum settings to apply
try
{
- GLSpectrum result = apiInstance.devicesetSpectrumSettingsPut(deviceSetIndex, body);
+ GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumSettingsPut: " + e.Message );
+ Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumSettingsGet: " + e.Message );
}
}
}
@@ -41644,42 +42061,40 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
-$body = ; // GLSpectrum | Spectrum settings to apply
try {
- $result = $api_instance->devicesetSpectrumSettingsPut($deviceSetIndex, $body);
+ $result = $api_instance->devicesetSpectrumSettingsGet($deviceSetIndex);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DeviceSetApi->devicesetSpectrumSettingsPut: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DeviceSetApi->devicesetSpectrumSettingsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;
my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
-my $body = SWGSDRangel::Object::GLSpectrum->new(); # GLSpectrum | Spectrum settings to apply
eval {
- my $result = $api_instance->devicesetSpectrumSettingsPut(deviceSetIndex => $deviceSetIndex, body => $body);
+ my $result = $api_instance->devicesetSpectrumSettingsGet(deviceSetIndex => $deviceSetIndex);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DeviceSetApi->devicesetSpectrumSettingsPut: $@\n";
+ warn "Exception when calling DeviceSetApi->devicesetSpectrumSettingsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
@@ -41689,13 +42104,12 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
-body = # GLSpectrum | Spectrum settings to apply
try:
- api_response = api_instance.deviceset_spectrum_settings_put(deviceSetIndex, body)
+ api_response = api_instance.deviceset_spectrum_settings_get(deviceSetIndex)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DeviceSetApi->devicesetSpectrumSettingsPut: %s\n" % e)
+ print("Exception when calling DeviceSetApi->devicesetSpectrumSettingsGet: %s\n" % e)
| Name | -Description | -
|---|---|
| body * | -- - - - - | -
Responses
-Status: 200 - On success returns new settings values
+Status: 200 - On success return details on the main spectrum
Status: 404 - Invalid device set index or device not found
+Status: 404 - Invalid index
-
devicesetSpectrumWorkspaceGet
+devicesetSpectrumSettingsPatch
Get main spectrum UI workspace information (GUI)
+Apply main spectrum settings differentially (no force)
-
/sdrangel/deviceset/{deviceSetIndex}/spectrum/workspace
+ /sdrangel/deviceset/{deviceSetIndex}/spectrum/settings
Usage and SDK Samples
curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/workspace"
+ curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
@@ -42003,18 +42375,19 @@ public class DeviceSetApiExample {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
try {
- WorkspaceInfo result = apiInstance.devicesetSpectrumWorkspaceGet(deviceSetIndex);
+ GLSpectrum result = apiInstance.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumWorkspaceGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPatch");
e.printStackTrace();
}
}
}
import SWGSDRangel.api.DeviceSetApi;
public class DeviceSetApiExample {
@@ -42022,27 +42395,30 @@ public class DeviceSetApiExample {
public static void main(String[] args) {
DeviceSetApi apiInstance = new DeviceSetApi();
Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
try {
- WorkspaceInfo result = apiInstance.devicesetSpectrumWorkspaceGet(deviceSetIndex);
+ GLSpectrum result = apiInstance.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumWorkspaceGet");
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPatch");
e.printStackTrace();
}
}
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
+GLSpectrum *body = ; // Spectrum settings to apply
DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
-[apiInstance devicesetSpectrumWorkspaceGetWith:deviceSetIndex
- completionHandler: ^(WorkspaceInfo output, NSError* error) {
+[apiInstance devicesetSpectrumSettingsPatchWith:deviceSetIndex
+ body:body
+ completionHandler: ^(GLSpectrum output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
@@ -42053,13 +42429,15 @@ DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
var SdRangel = require('sd_rangel');
var api = new SdRangel.DeviceSetApi()
var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
+var body = ; // {GLSpectrum} Spectrum settings to apply
+
var callback = function(error, data, response) {
if (error) {
@@ -42068,14 +42446,14 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.devicesetSpectrumWorkspaceGet(deviceSetIndex, callback);
+api.devicesetSpectrumSettingsPatch(deviceSetIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
@@ -42084,22 +42462,23 @@ using SWGSDRangel.Model;
namespace Example
{
- public class devicesetSpectrumWorkspaceGetExample
+ public class devicesetSpectrumSettingsPatchExample
{
public void main()
{
var apiInstance = new DeviceSetApi();
var deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ var body = new GLSpectrum(); // GLSpectrum | Spectrum settings to apply
try
{
- WorkspaceInfo result = apiInstance.devicesetSpectrumWorkspaceGet(deviceSetIndex);
+ GLSpectrum result = apiInstance.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
Debug.WriteLine(result);
}
catch (Exception e)
{
- Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumWorkspaceGet: " + e.Message );
+ Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumSettingsPatch: " + e.Message );
}
}
}
@@ -42107,40 +42486,42 @@ namespace Example
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
+$body = ; // GLSpectrum | Spectrum settings to apply
try {
- $result = $api_instance->devicesetSpectrumWorkspaceGet($deviceSetIndex);
+ $result = $api_instance->devicesetSpectrumSettingsPatch($deviceSetIndex, $body);
print_r($result);
} catch (Exception $e) {
- echo 'Exception when calling DeviceSetApi->devicesetSpectrumWorkspaceGet: ', $e->getMessage(), PHP_EOL;
+ echo 'Exception when calling DeviceSetApi->devicesetSpectrumSettingsPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;
my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
+my $body = SWGSDRangel::Object::GLSpectrum->new(); # GLSpectrum | Spectrum settings to apply
eval {
- my $result = $api_instance->devicesetSpectrumWorkspaceGet(deviceSetIndex => $deviceSetIndex);
+ my $result = $api_instance->devicesetSpectrumSettingsPatch(deviceSetIndex => $deviceSetIndex, body => $body);
print Dumper($result);
};
if ($@) {
- warn "Exception when calling DeviceSetApi->devicesetSpectrumWorkspaceGet: $@\n";
+ warn "Exception when calling DeviceSetApi->devicesetSpectrumSettingsPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
@@ -42150,12 +42531,13 @@ from pprint import pprint
# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
+body = # GLSpectrum | Spectrum settings to apply
try:
- api_response = api_instance.deviceset_spectrum_workspace_get(deviceSetIndex)
+ api_response = api_instance.deviceset_spectrum_settings_patch(deviceSetIndex, body)
pprint(api_response)
except ApiException as e:
- print("Exception when calling DeviceSetApi->devicesetSpectrumWorkspaceGet: %s\n" % e)
+ print("Exception when calling DeviceSetApi->devicesetSpectrumSettingsPatch: %s\n" % e)
| Name | +Description | +
|---|---|
| body * | ++ + + + + | +
Responses
+Status: 200 - On success returns new settings values
+ + + +Status: 404 - Invalid device set index or device not found
+ + + +Status: 500 - Error
+ + + +Status: 501 - Function not implemented
+ + + ++
devicesetSpectrumSettingsPut
+ +Apply main spectrum settings unconditionally (force)
+ ++
/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings
+ +
Usage and SDK Samples
+ + + +curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings"
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.DeviceSetApi;
+
+import java.io.File;
+import java.util.*;
+
+public class DeviceSetApiExample {
+
+ public static void main(String[] args) {
+
+ DeviceSetApi apiInstance = new DeviceSetApi();
+ Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
+ try {
+ GLSpectrum result = apiInstance.devicesetSpectrumSettingsPut(deviceSetIndex, body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPut");
+ e.printStackTrace();
+ }
+ }
+}
+ import SWGSDRangel.api.DeviceSetApi;
+
+public class DeviceSetApiExample {
+
+ public static void main(String[] args) {
+ DeviceSetApi apiInstance = new DeviceSetApi();
+ Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ GLSpectrum body = ; // GLSpectrum | Spectrum settings to apply
+ try {
+ GLSpectrum result = apiInstance.devicesetSpectrumSettingsPut(deviceSetIndex, body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPut");
+ e.printStackTrace();
+ }
+ }
+}
+ Integer *deviceSetIndex = 56; // Index of device set in the device set list
+GLSpectrum *body = ; // Spectrum settings to apply
+
+DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
+
+[apiInstance devicesetSpectrumSettingsPutWith:deviceSetIndex
+ body:body
+ completionHandler: ^(GLSpectrum output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var SdRangel = require('sd_rangel');
+
+var api = new SdRangel.DeviceSetApi()
+
+var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
+
+var body = ; // {GLSpectrum} Spectrum settings to apply
+
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.devicesetSpectrumSettingsPut(deviceSetIndex, body, callback);
+
+ using System;
+using System.Diagnostics;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
+
+namespace Example
+{
+ public class devicesetSpectrumSettingsPutExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new DeviceSetApi();
+ var deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ var body = new GLSpectrum(); // GLSpectrum | Spectrum settings to apply
+
+ try
+ {
+ GLSpectrum result = apiInstance.devicesetSpectrumSettingsPut(deviceSetIndex, body);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumSettingsPut: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\Api\DeviceSetApi();
+$deviceSetIndex = 56; // Integer | Index of device set in the device set list
+$body = ; // GLSpectrum | Spectrum settings to apply
+
+try {
+ $result = $api_instance->devicesetSpectrumSettingsPut($deviceSetIndex, $body);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling DeviceSetApi->devicesetSpectrumSettingsPut: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::DeviceSetApi;
+
+my $api_instance = SWGSDRangel::DeviceSetApi->new();
+my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
+my $body = SWGSDRangel::Object::GLSpectrum->new(); # GLSpectrum | Spectrum settings to apply
+
+eval {
+ my $result = $api_instance->devicesetSpectrumSettingsPut(deviceSetIndex => $deviceSetIndex, body => $body);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling DeviceSetApi->devicesetSpectrumSettingsPut: $@\n";
+}
+ from __future__ import print_statement
+import time
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = swagger_sdrangel.DeviceSetApi()
+deviceSetIndex = 56 # Integer | Index of device set in the device set list
+body = # GLSpectrum | Spectrum settings to apply
+
+try:
+ api_response = api_instance.deviceset_spectrum_settings_put(deviceSetIndex, body)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling DeviceSetApi->devicesetSpectrumSettingsPut: %s\n" % e)
+ Parameters
+ +| Name | +Description | +
|---|---|
| deviceSetIndex* | +
+
+
+
+
+
+
+
+
+ Integer
+
+
+
+
+ Index of device set in the device set list
+
+
+ Required
+
+ |
+
| Name | +Description | +
|---|---|
| body * | ++ + + + + | +
Responses
+Status: 200 - On success returns new settings values
+ + + +Status: 404 - Invalid device set index or device not found
+ + + +Status: 500 - Error
+ + + +Status: 501 - Function not implemented
+ + + ++
devicesetSpectrumWorkspaceGet
+ +Get main spectrum UI workspace information (GUI)
+ ++
/sdrangel/deviceset/{deviceSetIndex}/spectrum/workspace
+ +
Usage and SDK Samples
+ + + +curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/workspace"
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.DeviceSetApi;
+
+import java.io.File;
+import java.util.*;
+
+public class DeviceSetApiExample {
+
+ public static void main(String[] args) {
+
+ DeviceSetApi apiInstance = new DeviceSetApi();
+ Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ try {
+ WorkspaceInfo result = apiInstance.devicesetSpectrumWorkspaceGet(deviceSetIndex);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumWorkspaceGet");
+ e.printStackTrace();
+ }
+ }
+}
+ import SWGSDRangel.api.DeviceSetApi;
+
+public class DeviceSetApiExample {
+
+ public static void main(String[] args) {
+ DeviceSetApi apiInstance = new DeviceSetApi();
+ Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ try {
+ WorkspaceInfo result = apiInstance.devicesetSpectrumWorkspaceGet(deviceSetIndex);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumWorkspaceGet");
+ e.printStackTrace();
+ }
+ }
+}
+ Integer *deviceSetIndex = 56; // Index of device set in the device set list
+
+DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
+
+[apiInstance devicesetSpectrumWorkspaceGetWith:deviceSetIndex
+ completionHandler: ^(WorkspaceInfo output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var SdRangel = require('sd_rangel');
+
+var api = new SdRangel.DeviceSetApi()
+
+var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
+
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.devicesetSpectrumWorkspaceGet(deviceSetIndex, callback);
+
+ using System;
+using System.Diagnostics;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
+
+namespace Example
+{
+ public class devicesetSpectrumWorkspaceGetExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new DeviceSetApi();
+ var deviceSetIndex = 56; // Integer | Index of device set in the device set list
+
+ try
+ {
+ WorkspaceInfo result = apiInstance.devicesetSpectrumWorkspaceGet(deviceSetIndex);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumWorkspaceGet: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\Api\DeviceSetApi();
+$deviceSetIndex = 56; // Integer | Index of device set in the device set list
+
+try {
+ $result = $api_instance->devicesetSpectrumWorkspaceGet($deviceSetIndex);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling DeviceSetApi->devicesetSpectrumWorkspaceGet: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::DeviceSetApi;
+
+my $api_instance = SWGSDRangel::DeviceSetApi->new();
+my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
+
+eval {
+ my $result = $api_instance->devicesetSpectrumWorkspaceGet(deviceSetIndex => $deviceSetIndex);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling DeviceSetApi->devicesetSpectrumWorkspaceGet: $@\n";
+}
+ from __future__ import print_statement
+import time
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = swagger_sdrangel.DeviceSetApi()
+deviceSetIndex = 56 # Integer | Index of device set in the device set list
+
+try:
+ api_response = api_instance.deviceset_spectrum_workspace_get(deviceSetIndex)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling DeviceSetApi->devicesetSpectrumWorkspaceGet: %s\n" % e)
+ Parameters
+ +| Name | +Description | +||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| deviceSetIndex* | +
+
+
+
@@ -67394,6 +68706,306 @@ except ApiException as e:
+
+
+
+
+
+
+
+ instanceWindowsGet+ +List the windows of the GUI with their workspace and whether each is hidden (GUI) + ++
+ + Usage and SDK Samples+ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Parameters+ + + + + + +Responses+Status: 200 - On success return the window list+ + + +
+
+
+
+
+
+
+
+
+ Status: 500 - Error+ + + +
+
+
+
+
+
+
+
+
+ Status: 501 - Function not implemented+ + + +
+
+
+ Workspace@@ -68594,7 +70206,7 @@ $(document).ready(function() {
- Generated 2026-09-14T12:05:38.294+02:00
+ Generated 2026-09-15T17:49:43.819+02:00
-
-
+
-
- devicesetSpectrumReportGet+devicesetSpectrumHistoryGetGet the latest main spectrum measurement results +Statistics over the spectrum history the GUI keeps for scrolling: per bin maximum, mean and occupancy over a period, and the signals found. Only rows taken with the device tuned and sampling as it is now are used. Needs scrolling enabled in the spectrum settings (scrollBar, scrollLength); the server keeps no history + -
+
Usage and SDK Samples
-
-
+
+
-
+
+
+
+
+
+
+
+
@@ -39055,7 +39292,7 @@ except ApiException as e:
+ print("Exception when calling DeviceSetApi->devicesetSpectrumHistoryGet: %s\n" % e)
- |
+
@@ -39079,26 +39316,145 @@ except ApiException as e:
+ Query parameters
+
Responses-Status: 200 - On success return the results of the selected measurement+Status: 200 - On success return the statistics
-
-
+
-
+
Status: 404 - Invalid index+Status: 400 - Invalid parameters
-
-
+
-
+
Status: 500 - Error+Status: 404 - Invalid index, or no history
-
-
+
-
+
Status: 501 - Function not implemented+Status: 500 - Error
-
-
+
+
-
-
+
-
- devicesetSpectrumServerDelete+devicesetSpectrumHistoryImageGetStop main spectrum websocket server +The spectrum history as a greyscale PNG waterfall, one pixel per bin across and one per row down with the newest row at the bottom, black a little below the noise floor and white at the strongest bin. The frequency and time extents come back in X-Spectrum-History headers and in the JSON form of the same call + -
+
Usage and SDK Samples
-
-
+
+
-
+
+
+
+
+
+
+
+
@@ -39473,7 +39868,7 @@ except ApiException as e:
+ print("Exception when calling DeviceSetApi->devicesetSpectrumHistoryImageGet: %s\n" % e)
- |
+
@@ -39497,110 +39892,148 @@ except ApiException as e:
+ Query parameters
+
Responses+Status: 200 - The PNG image+ +
-
-
-
-
-
-
- Status: 404 - Device not found+Status: 400 - Invalid parameters
-
-
+
-
+
Status: 500 - Error+Status: 404 - Invalid index, or no history
-
-
+
-
+
Status: 501 - Function not implemented+Status: 500 - Error
-
-
+
+ |