SDRangel

DeviceSet

devicesetChannelActionsPost

post an action or actions on a channel


/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/actions

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/actions"
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
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelActions body = ; // ChannelActions | Action(s) to apply to the channel
        try {
            SuccessResponse result = apiInstance.devicesetChannelActionsPost(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelActionsPost");
            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
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelActions body = ; // ChannelActions | Action(s) to apply to the channel
        try {
            SuccessResponse result = apiInstance.devicesetChannelActionsPost(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelActionsPost");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set
ChannelActions *body = ; // Action(s) to apply to the channel

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetChannelActionsPostWith:deviceSetIndex
    channelIndex:channelIndex
    body:body
              completionHandler: ^(SuccessResponse 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 channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

var body = ; // {ChannelActions} Action(s) to apply to the channel


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetChannelActionsPost(deviceSetIndex, channelIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetChannelActionsPostExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set
            var body = new ChannelActions(); // ChannelActions | Action(s) to apply to the channel

            try
            {
                SuccessResponse result = apiInstance.devicesetChannelActionsPost(deviceSetIndex, channelIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelActionsPost: " + 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
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
$body = ; // ChannelActions | Action(s) to apply to the channel

try {
    $result = $api_instance->devicesetChannelActionsPost($deviceSetIndex, $channelIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelActionsPost: ', $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 $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set
my $body = SWGSDRangel::Object::ChannelActions->new(); # ChannelActions | Action(s) to apply to the channel

eval { 
    my $result = $api_instance->devicesetChannelActionsPost(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelActionsPost: $@\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
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set
body =  # ChannelActions | Action(s) to apply to the channel

try: 
    api_response = api_instance.deviceset_channel_actions_post(deviceSetIndex, channelIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelActionsPost: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
channelIndex*
Integer
Index of the channel in the channels list for this device set
Required
Body parameters
Name Description
body *

Responses

Status: 202 - Message to perform action was sent successfully

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelDelete

delete a channel


/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}"
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
        Integer channelIndex = 56; // Integer | Index of channel in the channels list
        try {
            ChannelSettings result = apiInstance.devicesetChannelDelete(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelDelete");
            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
        Integer channelIndex = 56; // Integer | Index of channel in the channels list
        try {
            ChannelSettings result = apiInstance.devicesetChannelDelete(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelDelete");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of channel in the channels list

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetChannelDeleteWith:deviceSetIndex
    channelIndex:channelIndex
              completionHandler: ^(ChannelSettings 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 channelIndex = 56; // {Integer} Index of channel in the channels list


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetChannelDelete(deviceSetIndex, channelIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetChannelDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var channelIndex = 56;  // Integer | Index of channel in the channels list

            try
            {
                ChannelSettings result = apiInstance.devicesetChannelDelete(deviceSetIndex, channelIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelDelete: " + 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
$channelIndex = 56; // Integer | Index of channel in the channels list

try {
    $result = $api_instance->devicesetChannelDelete($deviceSetIndex, $channelIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelDelete: ', $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 $channelIndex = 56; # Integer | Index of channel in the channels list

eval { 
    my $result = $api_instance->devicesetChannelDelete(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelDelete: $@\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
channelIndex = 56 # Integer | Index of channel in the channels list

try: 
    api_response = api_instance.deviceset_channel_delete(deviceSetIndex, channelIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelDelete: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
channelIndex*
Integer
Index of channel in the channels list
Required

Responses

Status: 200 - On success return deleted channel settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device set or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelPost

add a channel


/sdrangel/deviceset/{deviceSetIndex}/channel

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel"
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
        ChannelSettings body = ; // ChannelSettings | Channel identification (no settings data)
        try {
            SuccessResponse result = apiInstance.devicesetChannelPost(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelPost");
            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
        ChannelSettings body = ; // ChannelSettings | Channel identification (no settings data)
        try {
            SuccessResponse result = apiInstance.devicesetChannelPost(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelPost");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
ChannelSettings *body = ; // Channel identification (no settings data)

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetChannelPostWith:deviceSetIndex
    body:body
              completionHandler: ^(SuccessResponse 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 = ; // {ChannelSettings} Channel identification (no settings data)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetChannelPost(deviceSetIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetChannelPostExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var body = new ChannelSettings(); // ChannelSettings | Channel identification (no settings data)

            try
            {
                SuccessResponse result = apiInstance.devicesetChannelPost(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelPost: " + 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 = ; // ChannelSettings | Channel identification (no settings data)

try {
    $result = $api_instance->devicesetChannelPost($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelPost: ', $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::ChannelSettings->new(); # ChannelSettings | Channel identification (no settings data)

eval { 
    my $result = $api_instance->devicesetChannelPost(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelPost: $@\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 =  # ChannelSettings | Channel identification (no settings data)

try: 
    api_response = api_instance.deviceset_channel_post(deviceSetIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelPost: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
Name Description
body *

Responses

Status: 202 - Message to add a channel was sent successfully

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelReportGet

get a channel report


/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/report

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/report"
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
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelReport result = apiInstance.devicesetChannelReportGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelReportGet");
            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
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelReport result = apiInstance.devicesetChannelReportGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelReportGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetChannelReportGetWith:deviceSetIndex
    channelIndex:channelIndex
              completionHandler: ^(ChannelReport 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 channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetChannelReportGet(deviceSetIndex, channelIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetChannelReportGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set

            try
            {
                ChannelReport result = apiInstance.devicesetChannelReportGet(deviceSetIndex, channelIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelReportGet: " + 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
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set

try {
    $result = $api_instance->devicesetChannelReportGet($deviceSetIndex, $channelIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelReportGet: ', $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 $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set

eval { 
    my $result = $api_instance->devicesetChannelReportGet(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelReportGet: $@\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
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set

try: 
    api_response = api_instance.deviceset_channel_report_get(deviceSetIndex, channelIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelReportGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
channelIndex*
Integer
Index of the channel in the channels list for this device set
Required

Responses

Status: 200 - On success return channel report

Status: 400 - Invalid device set or channel index

Status: 404 - Device set or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelSettingsGet

get a channel settings


/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/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
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsGet");
            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
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetChannelSettingsGetWith:deviceSetIndex
    channelIndex:channelIndex
              completionHandler: ^(ChannelSettings 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 channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetChannelSettingsGet(deviceSetIndex, channelIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetChannelSettingsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set

            try
            {
                ChannelSettings result = apiInstance.devicesetChannelSettingsGet(deviceSetIndex, channelIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelSettingsGet: " + 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
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set

try {
    $result = $api_instance->devicesetChannelSettingsGet($deviceSetIndex, $channelIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelSettingsGet: ', $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 $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set

eval { 
    my $result = $api_instance->devicesetChannelSettingsGet(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelSettingsGet: $@\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
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set

try: 
    api_response = api_instance.deviceset_channel_settings_get(deviceSetIndex, channelIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelSettingsGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
channelIndex*
Integer
Index of the channel in the channels list for this device set
Required

Responses

Status: 200 - On success return channel settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device set or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelSettingsPatch

apply settings differentially (no force)


/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/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
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPatch");
            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
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPatch");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set
ChannelSettings *body = ; // Channel settings to apply

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetChannelSettingsPatchWith:deviceSetIndex
    channelIndex:channelIndex
    body:body
              completionHandler: ^(ChannelSettings 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 channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

var body = ; // {ChannelSettings} Channel settings to apply


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetChannelSettingsPatchExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set
            var body = new ChannelSettings(); // ChannelSettings | Channel settings to apply

            try
            {
                ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelSettingsPatch: " + 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
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
$body = ; // ChannelSettings | Channel settings to apply

try {
    $result = $api_instance->devicesetChannelSettingsPatch($deviceSetIndex, $channelIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelSettingsPatch: ', $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 $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set
my $body = SWGSDRangel::Object::ChannelSettings->new(); # ChannelSettings | Channel settings to apply

eval { 
    my $result = $api_instance->devicesetChannelSettingsPatch(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelSettingsPatch: $@\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
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set
body =  # ChannelSettings | Channel settings to apply

try: 
    api_response = api_instance.deviceset_channel_settings_patch(deviceSetIndex, channelIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelSettingsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
channelIndex*
Integer
Index of the channel in the channels list for this device set
Required
Body parameters
Name Description
body *

Responses

Status: 200 - On success return channel new settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device set or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelSettingsPut

apply all settings unconditionally (force)


/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/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
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPut");
            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
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPut");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set
ChannelSettings *body = ; // Channel settings to apply

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetChannelSettingsPutWith:deviceSetIndex
    channelIndex:channelIndex
    body:body
              completionHandler: ^(ChannelSettings 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 channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

var body = ; // {ChannelSettings} Channel settings to apply


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetChannelSettingsPutExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set
            var body = new ChannelSettings(); // ChannelSettings | Channel settings to apply

            try
            {
                ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelSettingsPut: " + 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
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
$body = ; // ChannelSettings | Channel settings to apply

try {
    $result = $api_instance->devicesetChannelSettingsPut($deviceSetIndex, $channelIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelSettingsPut: ', $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 $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set
my $body = SWGSDRangel::Object::ChannelSettings->new(); # ChannelSettings | Channel settings to apply

eval { 
    my $result = $api_instance->devicesetChannelSettingsPut(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelSettingsPut: $@\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
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set
body =  # ChannelSettings | Channel settings to apply

try: 
    api_response = api_instance.deviceset_channel_settings_put(deviceSetIndex, channelIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelSettingsPut: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
channelIndex*
Integer
Index of the channel in the channels list for this device set
Required
Body parameters
Name Description
body *

Responses

Status: 200 - On success return channel new settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device set or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelsReportGet

get channels report


/sdrangel/deviceset/{deviceSetIndex}/channels/report

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channels/report"
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 {
            ChannelsDetail result = apiInstance.devicesetChannelsReportGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelsReportGet");
            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 {
            ChannelsDetail result = apiInstance.devicesetChannelsReportGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelsReportGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetChannelsReportGetWith:deviceSetIndex
              completionHandler: ^(ChannelsDetail 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.devicesetChannelsReportGet(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetChannelsReportGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

            try
            {
                ChannelsDetail result = apiInstance.devicesetChannelsReportGet(deviceSetIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelsReportGet: " + 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->devicesetChannelsReportGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelsReportGet: ', $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->devicesetChannelsReportGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelsReportGet: $@\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_channels_report_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelsReportGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return channels report information

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceActionsPost

post an action on a device


/sdrangel/deviceset/{deviceSetIndex}/device/actions

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/actions"
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
        DeviceActions body = ; // DeviceActions | Action(s) to apply to the device
        try {
            SuccessResponse result = apiInstance.devicesetDeviceActionsPost(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceActionsPost");
            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
        DeviceActions body = ; // DeviceActions | Action(s) to apply to the device
        try {
            SuccessResponse result = apiInstance.devicesetDeviceActionsPost(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceActionsPost");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceActions *body = ; // Action(s) to apply to the device

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDeviceActionsPostWith:deviceSetIndex
    body:body
              completionHandler: ^(SuccessResponse 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 = ; // {DeviceActions} Action(s) to apply to the device


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetDeviceActionsPost(deviceSetIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDeviceActionsPostExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var body = new DeviceActions(); // DeviceActions | Action(s) to apply to the device

            try
            {
                SuccessResponse result = apiInstance.devicesetDeviceActionsPost(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceActionsPost: " + 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 = ; // DeviceActions | Action(s) to apply to the device

try {
    $result = $api_instance->devicesetDeviceActionsPost($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceActionsPost: ', $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::DeviceActions->new(); # DeviceActions | Action(s) to apply to the device

eval { 
    my $result = $api_instance->devicesetDeviceActionsPost(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceActionsPost: $@\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 =  # DeviceActions | Action(s) to apply to the device

try: 
    api_response = api_instance.deviceset_device_actions_post(deviceSetIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceActionsPost: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
Name Description
body *

Responses

Status: 202 - Message to perform action was sent successfully

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDevicePut

Set the device used in the device set


/sdrangel/deviceset/{deviceSetIndex}/device

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device"
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
        DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.
        try {
            DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDevicePut");
            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
        DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.
        try {
            DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDevicePut");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceListItem *body = ; // Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDevicePutWith:deviceSetIndex
    body:body
              completionHandler: ^(DeviceListItem 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 = ; // {DeviceListItem} Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetDevicePut(deviceSetIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDevicePutExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var body = new DeviceListItem(); // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

            try
            {
                DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDevicePut: " + 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 = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

try {
    $result = $api_instance->devicesetDevicePut($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDevicePut: ', $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::DeviceListItem->new(); # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

eval { 
    my $result = $api_instance->devicesetDevicePut(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDevicePut: $@\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 =  # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

try: 
    api_response = api_instance.deviceset_device_put(deviceSetIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDevicePut: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
Name Description
body *

Responses

Status: 202 - On successful semdomg of the message it returns the details of the device being set

Status: 400 - Device set and device type mismatch (Rx vs Tx)

Status: 404 - Invalid device set index or device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceReportGet

get the device report


/sdrangel/deviceset/{deviceSetIndex}/device/report

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/report"
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 {
            DeviceReport result = apiInstance.devicesetDeviceReportGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceReportGet");
            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 {
            DeviceReport result = apiInstance.devicesetDeviceReportGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceReportGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDeviceReportGetWith:deviceSetIndex
              completionHandler: ^(DeviceReport 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.devicesetDeviceReportGet(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDeviceReportGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

            try
            {
                DeviceReport result = apiInstance.devicesetDeviceReportGet(deviceSetIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceReportGet: " + 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->devicesetDeviceReportGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceReportGet: ', $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->devicesetDeviceReportGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceReportGet: $@\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_device_report_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceReportGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return device report

Status: 400 - Invalid device set

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceRunDelete

stop device for a single subsystem device (Rx or Tx)


/sdrangel/deviceset/{deviceSetIndex}/device/run

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"
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
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunDelete");
            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
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunDelete");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSettings *body = ; // Originator information in the reverse API case (optional)

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDeviceRunDeleteWith:deviceSetIndex
    body:body
              completionHandler: ^(DeviceState 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 opts = { 
  'body':  // {DeviceSettings} Originator information in the reverse API case
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetDeviceRunDelete(deviceSetIndex, opts, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDeviceRunDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var body = new DeviceSettings(); // DeviceSettings | Originator information in the reverse API case (optional) 

            try
            {
                DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceRunDelete: " + 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 = ; // DeviceSettings | Originator information in the reverse API case

try {
    $result = $api_instance->devicesetDeviceRunDelete($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceRunDelete: ', $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::DeviceSettings->new(); # DeviceSettings | Originator information in the reverse API case

eval { 
    my $result = $api_instance->devicesetDeviceRunDelete(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceRunDelete: $@\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 =  # DeviceSettings | Originator information in the reverse API case (optional)

try: 
    api_response = api_instance.deviceset_device_run_delete(deviceSetIndex, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceRunDelete: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
Name Description
body

Responses

Status: 200 - On success return state before change

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceRunGet

get device run status for a single subsystem device (Rx or Tx)


/sdrangel/deviceset/{deviceSetIndex}/device/run

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"
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 {
            DeviceState result = apiInstance.devicesetDeviceRunGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunGet");
            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 {
            DeviceState result = apiInstance.devicesetDeviceRunGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDeviceRunGetWith:deviceSetIndex
              completionHandler: ^(DeviceState 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.devicesetDeviceRunGet(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDeviceRunGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

            try
            {
                DeviceState result = apiInstance.devicesetDeviceRunGet(deviceSetIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceRunGet: " + 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->devicesetDeviceRunGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceRunGet: ', $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->devicesetDeviceRunGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceRunGet: $@\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_device_run_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceRunGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return current state

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceRunPost

start device for a single subsystem device (Rx or Tx)


/sdrangel/deviceset/{deviceSetIndex}/device/run

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"
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
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunPost");
            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
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunPost");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSettings *body = ; // Originator information in the reverse API case (optional)

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDeviceRunPostWith:deviceSetIndex
    body:body
              completionHandler: ^(DeviceState 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 opts = { 
  'body':  // {DeviceSettings} Originator information in the reverse API case
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetDeviceRunPost(deviceSetIndex, opts, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDeviceRunPostExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var body = new DeviceSettings(); // DeviceSettings | Originator information in the reverse API case (optional) 

            try
            {
                DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceRunPost: " + 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 = ; // DeviceSettings | Originator information in the reverse API case

try {
    $result = $api_instance->devicesetDeviceRunPost($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceRunPost: ', $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::DeviceSettings->new(); # DeviceSettings | Originator information in the reverse API case

eval { 
    my $result = $api_instance->devicesetDeviceRunPost(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceRunPost: $@\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 =  # DeviceSettings | Originator information in the reverse API case (optional)

try: 
    api_response = api_instance.deviceset_device_run_post(deviceSetIndex, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceRunPost: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
Name Description
body

Responses

Status: 200 - On success return state before change

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceSettingsGet

Get device settings


/sdrangel/deviceset/{deviceSetIndex}/device/settings

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/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
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsGet");
            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 {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDeviceSettingsGetWith:deviceSetIndex
              completionHandler: ^(DeviceSettings 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.devicesetDeviceSettingsGet(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDeviceSettingsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

            try
            {
                DeviceSettings result = apiInstance.devicesetDeviceSettingsGet(deviceSetIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSettingsGet: " + 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->devicesetDeviceSettingsGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceSettingsGet: ', $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->devicesetDeviceSettingsGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsGet: $@\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_device_settings_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceSettingsGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success returns current settings values

Status: 404 - Invalid device set index or device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceSettingsPatch

Apply settings differentially (no force)


/sdrangel/deviceset/{deviceSetIndex}/device/settings

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/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
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPatch(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPatch");
            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
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPatch(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPatch");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSettings *body = ; // Device settings to apply

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDeviceSettingsPatchWith:deviceSetIndex
    body:body
              completionHandler: ^(DeviceSettings 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 = ; // {DeviceSettings} Device settings to apply


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetDeviceSettingsPatch(deviceSetIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDeviceSettingsPatchExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var body = new DeviceSettings(); // DeviceSettings | Device settings to apply

            try
            {
                DeviceSettings result = apiInstance.devicesetDeviceSettingsPatch(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSettingsPatch: " + 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 = ; // DeviceSettings | Device settings to apply

try {
    $result = $api_instance->devicesetDeviceSettingsPatch($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceSettingsPatch: ', $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::DeviceSettings->new(); # DeviceSettings | Device settings to apply

eval { 
    my $result = $api_instance->devicesetDeviceSettingsPatch(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsPatch: $@\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 =  # DeviceSettings | Device settings to apply

try: 
    api_response = api_instance.deviceset_device_settings_patch(deviceSetIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceSettingsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
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


devicesetDeviceSettingsPut

Apply all settings unconditionally (force)


/sdrangel/deviceset/{deviceSetIndex}/device/settings

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/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
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPut");
            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
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPut");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSettings *body = ; // Device settings to apply

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDeviceSettingsPutWith:deviceSetIndex
    body:body
              completionHandler: ^(DeviceSettings 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 = ; // {DeviceSettings} Device settings to apply


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetDeviceSettingsPut(deviceSetIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDeviceSettingsPutExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var body = new DeviceSettings(); // DeviceSettings | Device settings to apply

            try
            {
                DeviceSettings result = apiInstance.devicesetDeviceSettingsPut(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSettingsPut: " + 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 = ; // DeviceSettings | Device settings to apply

try {
    $result = $api_instance->devicesetDeviceSettingsPut($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceSettingsPut: ', $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::DeviceSettings->new(); # DeviceSettings | Device settings to apply

eval { 
    my $result = $api_instance->devicesetDeviceSettingsPut(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsPut: $@\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 =  # DeviceSettings | Device settings to apply

try: 
    api_response = api_instance.deviceset_device_settings_put(deviceSetIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceSettingsPut: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
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


devicesetDeviceSubsystemRunDelete

stop device for a multi-subsystem device (Rx/Tx combination i.e. MIMO)


/sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run"
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
        Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunDelete");
            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
        Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunDelete");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *subsystemIndex = 56; // Index of subsystem (0 for Rx, 1 for Tx)
DeviceSettings *body = ; // Originator information in the reverse API case (optional)

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDeviceSubsystemRunDeleteWith:deviceSetIndex
    subsystemIndex:subsystemIndex
    body:body
              completionHandler: ^(DeviceState 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 subsystemIndex = 56; // {Integer} Index of subsystem (0 for Rx, 1 for Tx)

var opts = { 
  'body':  // {DeviceSettings} Originator information in the reverse API case
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, opts, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDeviceSubsystemRunDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var subsystemIndex = 56;  // Integer | Index of subsystem (0 for Rx, 1 for Tx)
            var body = new DeviceSettings(); // DeviceSettings | Originator information in the reverse API case (optional) 

            try
            {
                DeviceState result = apiInstance.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSubsystemRunDelete: " + 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
$subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
$body = ; // DeviceSettings | Originator information in the reverse API case

try {
    $result = $api_instance->devicesetDeviceSubsystemRunDelete($deviceSetIndex, $subsystemIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunDelete: ', $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 $subsystemIndex = 56; # Integer | Index of subsystem (0 for Rx, 1 for Tx)
my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Originator information in the reverse API case

eval { 
    my $result = $api_instance->devicesetDeviceSubsystemRunDelete(deviceSetIndex => $deviceSetIndex, subsystemIndex => $subsystemIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunDelete: $@\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
subsystemIndex = 56 # Integer | Index of subsystem (0 for Rx, 1 for Tx)
body =  # DeviceSettings | Originator information in the reverse API case (optional)

try: 
    api_response = api_instance.deviceset_device_subsystem_run_delete(deviceSetIndex, subsystemIndex, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunDelete: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
subsystemIndex*
Integer
Index of subsystem (0 for Rx, 1 for Tx)
Required
Body parameters
Name Description
body

Responses

Status: 200 - On success return state before change

Status: 400 - Invalid device set index

Status: 404 - Device or subsystem not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceSubsystemRunGet

get device run status for a multi-subsystem device (Rx/Tx combination i.e. MIMO)


/sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run"
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
        Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
        try {
            DeviceState result = apiInstance.devicesetDeviceSubsystemRunGet(deviceSetIndex, subsystemIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunGet");
            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
        Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
        try {
            DeviceState result = apiInstance.devicesetDeviceSubsystemRunGet(deviceSetIndex, subsystemIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *subsystemIndex = 56; // Index of subsystem (0 for Rx, 1 for Tx)

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDeviceSubsystemRunGetWith:deviceSetIndex
    subsystemIndex:subsystemIndex
              completionHandler: ^(DeviceState 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 subsystemIndex = 56; // {Integer} Index of subsystem (0 for Rx, 1 for Tx)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetDeviceSubsystemRunGet(deviceSetIndex, subsystemIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDeviceSubsystemRunGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var subsystemIndex = 56;  // Integer | Index of subsystem (0 for Rx, 1 for Tx)

            try
            {
                DeviceState result = apiInstance.devicesetDeviceSubsystemRunGet(deviceSetIndex, subsystemIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSubsystemRunGet: " + 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
$subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)

try {
    $result = $api_instance->devicesetDeviceSubsystemRunGet($deviceSetIndex, $subsystemIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunGet: ', $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 $subsystemIndex = 56; # Integer | Index of subsystem (0 for Rx, 1 for Tx)

eval { 
    my $result = $api_instance->devicesetDeviceSubsystemRunGet(deviceSetIndex => $deviceSetIndex, subsystemIndex => $subsystemIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunGet: $@\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
subsystemIndex = 56 # Integer | Index of subsystem (0 for Rx, 1 for Tx)

try: 
    api_response = api_instance.deviceset_device_subsystem_run_get(deviceSetIndex, subsystemIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
subsystemIndex*
Integer
Index of subsystem (0 for Rx, 1 for Tx)
Required

Responses

Status: 200 - On success return current state

Status: 400 - Invalid device set index

Status: 404 - Device or subsystem not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceSubsystemRunPost

start device for a multi-subsystem device (Rx/Tx combination i.e. MIMO)


/sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run"
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
        Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceSubsystemRunPost(deviceSetIndex, subsystemIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunPost");
            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
        Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceSubsystemRunPost(deviceSetIndex, subsystemIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunPost");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *subsystemIndex = 56; // Index of subsystem (0 for Rx, 1 for Tx)
DeviceSettings *body = ; // Originator information in the reverse API case (optional)

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetDeviceSubsystemRunPostWith:deviceSetIndex
    subsystemIndex:subsystemIndex
    body:body
              completionHandler: ^(DeviceState 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 subsystemIndex = 56; // {Integer} Index of subsystem (0 for Rx, 1 for Tx)

var opts = { 
  'body':  // {DeviceSettings} Originator information in the reverse API case
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.devicesetDeviceSubsystemRunPost(deviceSetIndex, subsystemIndex, opts, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetDeviceSubsystemRunPostExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var subsystemIndex = 56;  // Integer | Index of subsystem (0 for Rx, 1 for Tx)
            var body = new DeviceSettings(); // DeviceSettings | Originator information in the reverse API case (optional) 

            try
            {
                DeviceState result = apiInstance.devicesetDeviceSubsystemRunPost(deviceSetIndex, subsystemIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSubsystemRunPost: " + 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
$subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
$body = ; // DeviceSettings | Originator information in the reverse API case

try {
    $result = $api_instance->devicesetDeviceSubsystemRunPost($deviceSetIndex, $subsystemIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunPost: ', $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 $subsystemIndex = 56; # Integer | Index of subsystem (0 for Rx, 1 for Tx)
my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Originator information in the reverse API case

eval { 
    my $result = $api_instance->devicesetDeviceSubsystemRunPost(deviceSetIndex => $deviceSetIndex, subsystemIndex => $subsystemIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunPost: $@\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
subsystemIndex = 56 # Integer | Index of subsystem (0 for Rx, 1 for Tx)
body =  # DeviceSettings | Originator information in the reverse API case (optional)

try: 
    api_response = api_instance.deviceset_device_subsystem_run_post(deviceSetIndex, subsystemIndex, body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunPost: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
subsystemIndex*
Integer
Index of subsystem (0 for Rx, 1 for Tx)
Required
Body parameters
Name Description
body

Responses

Status: 200 - On success return state before change

Status: 400 - Invalid device set index

Status: 404 - Device or subsystem not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetFocusPatch

Set focus on device set (GUI only)


/sdrangel/deviceset/{deviceSetIndex}/focus

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/focus"
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 {
            SuccessResponse result = apiInstance.devicesetFocusPatch(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetFocusPatch");
            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 {
            SuccessResponse result = apiInstance.devicesetFocusPatch(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetFocusPatch");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetFocusPatchWith:deviceSetIndex
              completionHandler: ^(SuccessResponse 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.devicesetFocusPatch(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetFocusPatchExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

            try
            {
                SuccessResponse result = apiInstance.devicesetFocusPatch(deviceSetIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetFocusPatch: " + 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->devicesetFocusPatch($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetFocusPatch: ', $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->devicesetFocusPatch(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetFocusPatch: $@\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_focus_patch(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetFocusPatch: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 202 - Message to focus on device set was sent successfully

Status: 400 - Unsupported (srver instance)

Status: 404 - Invalid index

Status: 500 - Error

Status: 501 - Function not implemented


devicesetGet

Get device set information


/sdrangel/deviceset/{deviceSetIndex}

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}"
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 {
            DeviceSet result = apiInstance.devicesetGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetGet");
            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 {
            DeviceSet result = apiInstance.devicesetGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetGetWith:deviceSetIndex
              completionHandler: ^(DeviceSet 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.devicesetGet(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

            try
            {
                DeviceSet result = apiInstance.devicesetGet(deviceSetIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetGet: " + 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->devicesetGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetGet: ', $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->devicesetGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetGet: $@\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_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return details on the device set

Status: 404 - Invalid index

Status: 500 - Error

Status: 501 - Function not implemented


devicesetSpectrumServerDelete

Stop main spectrum websocket server


/sdrangel/deviceset/{deviceSetIndex}/spectrum/server

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"
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 {
            SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerDelete");
            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 {
            SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            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 devicesetSpectrumServerDeleteWith:deviceSetIndex
              completionHandler: ^(SuccessResponse 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.devicesetSpectrumServerDelete(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetSpectrumServerDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

            try
            {
                SuccessResponse result = apiInstance.devicesetSpectrumServerDelete(deviceSetIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerDelete: " + 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->devicesetSpectrumServerDelete($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: ', $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->devicesetSpectrumServerDelete(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: $@\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_server_delete(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetSpectrumServerDelete: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - Server successfully stopped

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetSpectrumServerGet

Get main spectrum websocket server status


/sdrangel/deviceset/{deviceSetIndex}/spectrum/server

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"
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 {
            SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerGet");
            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 {
            SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            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 devicesetSpectrumServerGetWith:deviceSetIndex
              completionHandler: ^(SpectrumServer 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.devicesetSpectrumServerGet(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetSpectrumServerGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

            try
            {
                SpectrumServer result = apiInstance.devicesetSpectrumServerGet(deviceSetIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerGet: " + 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->devicesetSpectrumServerGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetSpectrumServerGet: ', $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->devicesetSpectrumServerGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetSpectrumServerGet: $@\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_server_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetSpectrumServerGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return main spectrum server status

Status: 404 - Invalid index

Status: 500 - Error

Status: 501 - Function not implemented


devicesetSpectrumServerPost

Start main spectrum websocket server


/sdrangel/deviceset/{deviceSetIndex}/spectrum/server

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/spectrum/server"
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 {
            SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerPost");
            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 {
            SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumServerPost");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance devicesetSpectrumServerPostWith:deviceSetIndex
              completionHandler: ^(SuccessResponse 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.devicesetSpectrumServerPost(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetSpectrumServerPostExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

            try
            {
                SuccessResponse result = apiInstance.devicesetSpectrumServerPost(deviceSetIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumServerPost: " + 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->devicesetSpectrumServerPost($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    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

eval { 
    my $result = $api_instance->devicesetSpectrumServerPost(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetSpectrumServerPost: $@\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_server_post(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetSpectrumServerPost: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - Server successfully started

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetSpectrumSettingsGet

Get main spectrum settings


/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings

Usage and SDK Samples

curl -X GET "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
        try {
            GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsGet");
            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 {
            GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsGet");
            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) {
                            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.devicesetSpectrumSettingsGet(deviceSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class devicesetSpectrumSettingsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

            try
            {
                GLSpectrum result = apiInstance.devicesetSpectrumSettingsGet(deviceSetIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumSettingsGet: " + 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->devicesetSpectrumSettingsGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    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

eval { 
    my $result = $api_instance->devicesetSpectrumSettingsGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetSpectrumSettingsGet: $@\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_settings_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetSpectrumSettingsGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return details on the main spectrum

Status: 404 - Invalid index

Status: 500 - Error

Status: 501 - Function not implemented


devicesetSpectrumSettingsPatch

Apply main spectrun settings differentially (no force)


/sdrangel/deviceset/{deviceSetIndex}/spectrum/settings

Usage and SDK Samples

curl -X PATCH "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.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetSpectrumSettingsPatch");
            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.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            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 devicesetSpectrumSettingsPatchWith: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.devicesetSpectrumSettingsPatch(deviceSetIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    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
            {
                GLSpectrum result = apiInstance.devicesetSpectrumSettingsPatch(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetSpectrumSettingsPatch: " + 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->devicesetSpectrumSettingsPatch($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    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->devicesetSpectrumSettingsPatch(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetSpectrumSettingsPatch: $@\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_patch(deviceSetIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetSpectrumSettingsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
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 spectrun settings unconditionnaly (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

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
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


instanceDeviceSetDelete

Remove last device set. The GUI version does not remove the first device.


/sdrangel/deviceset

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/deviceset"
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();
        try {
            SuccessResponse result = apiInstance.instanceDeviceSetDelete();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        try {
            SuccessResponse result = apiInstance.instanceDeviceSetDelete();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetDelete");
            e.printStackTrace();
        }
    }
}

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance instanceDeviceSetDeleteWithCompletionHandler: 
              ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceDeviceSetDelete(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceDeviceSetDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();

            try
            {
                SuccessResponse result = apiInstance.instanceDeviceSetDelete();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.instanceDeviceSetDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceSetApi();

try {
    $result = $api_instance->instanceDeviceSetDelete();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->instanceDeviceSetDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();

eval { 
    my $result = $api_instance->instanceDeviceSetDelete();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->instanceDeviceSetDelete: $@\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()

try: 
    api_response = api_instance.instance_device_set_delete()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->instanceDeviceSetDelete: %s\n" % e)

Parameters

Responses

Status: 202 - Message to remove last device set was sent successfully

Status: 404 - No more device sets to be deleted

Status: 500 - Error

Status: 501 - Function not implemented


instanceDeviceSetPost

Add (append) a new device set with default values


/sdrangel/deviceset

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset?direction="
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 direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
        try {
            SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetPost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
        try {
            SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetPost");
            e.printStackTrace();
        }
    }
}
Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];

[apiInstance instanceDeviceSetPostWith:direction
              completionHandler: ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var opts = { 
  'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceDeviceSetPost(opts, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceDeviceSetPostExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var direction = 56;  // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional) 

            try
            {
                SuccessResponse result = apiInstance.instanceDeviceSetPost(direction);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.instanceDeviceSetPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

try {
    $result = $api_instance->instanceDeviceSetPost($direction);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->instanceDeviceSetPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

eval { 
    my $result = $api_instance->instanceDeviceSetPost(direction => $direction);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->instanceDeviceSetPost: $@\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()
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

try: 
    api_response = api_instance.instance_device_set_post(direction=direction)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->instanceDeviceSetPost: %s\n" % e)

Parameters

Query parameters
Name Description
direction
Integer
0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

Responses

Status: 202 - Message to add a new device set was sent successfully

Status: 500 - Error

Status: 501 - Function not implemented


FeatureSet

featuresetFEatureSettingsPut

apply all settings unconditionally (force)


/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.FeatureSetApi;

import java.io.File;
import java.util.*;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
        FeatureSettings body = ; // FeatureSettings | Feature settings to apply
        try {
            FeatureSettings result = apiInstance.featuresetFEatureSettingsPut(featureSetIndex, featureIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFEatureSettingsPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.FeatureSetApi;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
        FeatureSettings body = ; // FeatureSettings | Feature settings to apply
        try {
            FeatureSettings result = apiInstance.featuresetFEatureSettingsPut(featureSetIndex, featureIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFEatureSettingsPut");
            e.printStackTrace();
        }
    }
}
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
Integer *featureIndex = 56; // Index of the feature in the features list for this feature set
FeatureSettings *body = ; // Feature settings to apply

FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

[apiInstance featuresetFEatureSettingsPutWith:featureSetIndex
    featureIndex:featureIndex
    body:body
              completionHandler: ^(FeatureSettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.FeatureSetApi()

var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list

var featureIndex = 56; // {Integer} Index of the feature in the features list for this feature set

var body = ; // {FeatureSettings} Feature settings to apply


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.featuresetFEatureSettingsPut(featureSetIndex, featureIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class featuresetFEatureSettingsPutExample
    {
        public void main()
        {
            
            var apiInstance = new FeatureSetApi();
            var featureSetIndex = 56;  // Integer | Index of feature set in the feature set list
            var featureIndex = 56;  // Integer | Index of the feature in the features list for this feature set
            var body = new FeatureSettings(); // FeatureSettings | Feature settings to apply

            try
            {
                FeatureSettings result = apiInstance.featuresetFEatureSettingsPut(featureSetIndex, featureIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FeatureSetApi.featuresetFEatureSettingsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FeatureSetApi();
$featureSetIndex = 56; // Integer | Index of feature set in the feature set list
$featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
$body = ; // FeatureSettings | Feature settings to apply

try {
    $result = $api_instance->featuresetFEatureSettingsPut($featureSetIndex, $featureIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeatureSetApi->featuresetFEatureSettingsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::FeatureSetApi;

my $api_instance = SWGSDRangel::FeatureSetApi->new();
my $featureSetIndex = 56; # Integer | Index of feature set in the feature set list
my $featureIndex = 56; # Integer | Index of the feature in the features list for this feature set
my $body = SWGSDRangel::Object::FeatureSettings->new(); # FeatureSettings | Feature settings to apply

eval { 
    my $result = $api_instance->featuresetFEatureSettingsPut(featureSetIndex => $featureSetIndex, featureIndex => $featureIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FeatureSetApi->featuresetFEatureSettingsPut: $@\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.FeatureSetApi()
featureSetIndex = 56 # Integer | Index of feature set in the feature set list
featureIndex = 56 # Integer | Index of the feature in the features list for this feature set
body =  # FeatureSettings | Feature settings to apply

try: 
    api_response = api_instance.featureset_f_eature_settings_put(featureSetIndex, featureIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FeatureSetApi->featuresetFEatureSettingsPut: %s\n" % e)

Parameters

Path parameters
Name Description
featureSetIndex*
Integer
Index of feature set in the feature set list
Required
featureIndex*
Integer
Index of the feature in the features list for this feature set
Required
Body parameters
Name Description
body *

Responses

Status: 200 - On success return feature new settings

Status: 400 - Invalid feature set or feature index

Status: 404 - Feature set or feature not found

Status: 500 - Error

Status: 501 - Function not implemented


featuresetFeatureActionsPost

post an action or actions on a channel


/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/actions

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/actions"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.FeatureSetApi;

import java.io.File;
import java.util.*;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
        FeatureActions body = ; // FeatureActions | Action(s) to apply to the feature
        try {
            SuccessResponse result = apiInstance.featuresetFeatureActionsPost(featureSetIndex, featureIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureActionsPost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.FeatureSetApi;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
        FeatureActions body = ; // FeatureActions | Action(s) to apply to the feature
        try {
            SuccessResponse result = apiInstance.featuresetFeatureActionsPost(featureSetIndex, featureIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureActionsPost");
            e.printStackTrace();
        }
    }
}
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
Integer *featureIndex = 56; // Index of the feature in the features list for this feature set
FeatureActions *body = ; // Action(s) to apply to the feature

FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

[apiInstance featuresetFeatureActionsPostWith:featureSetIndex
    featureIndex:featureIndex
    body:body
              completionHandler: ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.FeatureSetApi()

var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list

var featureIndex = 56; // {Integer} Index of the feature in the features list for this feature set

var body = ; // {FeatureActions} Action(s) to apply to the feature


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.featuresetFeatureActionsPost(featureSetIndex, featureIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class featuresetFeatureActionsPostExample
    {
        public void main()
        {
            
            var apiInstance = new FeatureSetApi();
            var featureSetIndex = 56;  // Integer | Index of feature set in the feature set list
            var featureIndex = 56;  // Integer | Index of the feature in the features list for this feature set
            var body = new FeatureActions(); // FeatureActions | Action(s) to apply to the feature

            try
            {
                SuccessResponse result = apiInstance.featuresetFeatureActionsPost(featureSetIndex, featureIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureActionsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FeatureSetApi();
$featureSetIndex = 56; // Integer | Index of feature set in the feature set list
$featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
$body = ; // FeatureActions | Action(s) to apply to the feature

try {
    $result = $api_instance->featuresetFeatureActionsPost($featureSetIndex, $featureIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeatureSetApi->featuresetFeatureActionsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::FeatureSetApi;

my $api_instance = SWGSDRangel::FeatureSetApi->new();
my $featureSetIndex = 56; # Integer | Index of feature set in the feature set list
my $featureIndex = 56; # Integer | Index of the feature in the features list for this feature set
my $body = SWGSDRangel::Object::FeatureActions->new(); # FeatureActions | Action(s) to apply to the feature

eval { 
    my $result = $api_instance->featuresetFeatureActionsPost(featureSetIndex => $featureSetIndex, featureIndex => $featureIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FeatureSetApi->featuresetFeatureActionsPost: $@\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.FeatureSetApi()
featureSetIndex = 56 # Integer | Index of feature set in the feature set list
featureIndex = 56 # Integer | Index of the feature in the features list for this feature set
body =  # FeatureActions | Action(s) to apply to the feature

try: 
    api_response = api_instance.featureset_feature_actions_post(featureSetIndex, featureIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FeatureSetApi->featuresetFeatureActionsPost: %s\n" % e)

Parameters

Path parameters
Name Description
featureSetIndex*
Integer
Index of feature set in the feature set list
Required
featureIndex*
Integer
Index of the feature in the features list for this feature set
Required
Body parameters
Name Description
body *

Responses

Status: 202 - Message to perform action was sent successfully

Status: 400 - Invalid feature set or feature index

Status: 404 - Feature set or feature not found

Status: 500 - Error

Status: 501 - Function not implemented


featuresetFeatureDelete

delete a feature


/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.FeatureSetApi;

import java.io.File;
import java.util.*;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of feature in the features list
        try {
            FeatureSettings result = apiInstance.featuresetFeatureDelete(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.FeatureSetApi;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of feature in the features list
        try {
            FeatureSettings result = apiInstance.featuresetFeatureDelete(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureDelete");
            e.printStackTrace();
        }
    }
}
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
Integer *featureIndex = 56; // Index of feature in the features list

FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

[apiInstance featuresetFeatureDeleteWith:featureSetIndex
    featureIndex:featureIndex
              completionHandler: ^(FeatureSettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.FeatureSetApi()

var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list

var featureIndex = 56; // {Integer} Index of feature in the features list


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.featuresetFeatureDelete(featureSetIndex, featureIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class featuresetFeatureDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new FeatureSetApi();
            var featureSetIndex = 56;  // Integer | Index of feature set in the feature set list
            var featureIndex = 56;  // Integer | Index of feature in the features list

            try
            {
                FeatureSettings result = apiInstance.featuresetFeatureDelete(featureSetIndex, featureIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FeatureSetApi();
$featureSetIndex = 56; // Integer | Index of feature set in the feature set list
$featureIndex = 56; // Integer | Index of feature in the features list

try {
    $result = $api_instance->featuresetFeatureDelete($featureSetIndex, $featureIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeatureSetApi->featuresetFeatureDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::FeatureSetApi;

my $api_instance = SWGSDRangel::FeatureSetApi->new();
my $featureSetIndex = 56; # Integer | Index of feature set in the feature set list
my $featureIndex = 56; # Integer | Index of feature in the features list

eval { 
    my $result = $api_instance->featuresetFeatureDelete(featureSetIndex => $featureSetIndex, featureIndex => $featureIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FeatureSetApi->featuresetFeatureDelete: $@\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.FeatureSetApi()
featureSetIndex = 56 # Integer | Index of feature set in the feature set list
featureIndex = 56 # Integer | Index of feature in the features list

try: 
    api_response = api_instance.featureset_feature_delete(featureSetIndex, featureIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FeatureSetApi->featuresetFeatureDelete: %s\n" % e)

Parameters

Path parameters
Name Description
featureSetIndex*
Integer
Index of feature set in the feature set list
Required
featureIndex*
Integer
Index of feature in the features list
Required

Responses

Status: 200 - On success return deleted feature settings

Status: 400 - Invalid feature set or feature index

Status: 404 - Feature set or feature not found

Status: 500 - Error

Status: 501 - Function not implemented


featuresetFeaturePost

add a feature


/sdrangel/featureset/{featureSetIndex}/feature

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/featureset/{featureSetIndex}/feature"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.FeatureSetApi;

import java.io.File;
import java.util.*;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        FeatureSettings body = ; // FeatureSettings | Feature identification (no settings data)
        try {
            SuccessResponse result = apiInstance.featuresetFeaturePost(featureSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeaturePost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.FeatureSetApi;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        FeatureSettings body = ; // FeatureSettings | Feature identification (no settings data)
        try {
            SuccessResponse result = apiInstance.featuresetFeaturePost(featureSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeaturePost");
            e.printStackTrace();
        }
    }
}
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
FeatureSettings *body = ; // Feature identification (no settings data)

FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

[apiInstance featuresetFeaturePostWith:featureSetIndex
    body:body
              completionHandler: ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.FeatureSetApi()

var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list

var body = ; // {FeatureSettings} Feature identification (no settings data)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.featuresetFeaturePost(featureSetIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class featuresetFeaturePostExample
    {
        public void main()
        {
            
            var apiInstance = new FeatureSetApi();
            var featureSetIndex = 56;  // Integer | Index of feature set in the feature set list
            var body = new FeatureSettings(); // FeatureSettings | Feature identification (no settings data)

            try
            {
                SuccessResponse result = apiInstance.featuresetFeaturePost(featureSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FeatureSetApi.featuresetFeaturePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FeatureSetApi();
$featureSetIndex = 56; // Integer | Index of feature set in the feature set list
$body = ; // FeatureSettings | Feature identification (no settings data)

try {
    $result = $api_instance->featuresetFeaturePost($featureSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeatureSetApi->featuresetFeaturePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::FeatureSetApi;

my $api_instance = SWGSDRangel::FeatureSetApi->new();
my $featureSetIndex = 56; # Integer | Index of feature set in the feature set list
my $body = SWGSDRangel::Object::FeatureSettings->new(); # FeatureSettings | Feature identification (no settings data)

eval { 
    my $result = $api_instance->featuresetFeaturePost(featureSetIndex => $featureSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FeatureSetApi->featuresetFeaturePost: $@\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.FeatureSetApi()
featureSetIndex = 56 # Integer | Index of feature set in the feature set list
body =  # FeatureSettings | Feature identification (no settings data)

try: 
    api_response = api_instance.featureset_feature_post(featureSetIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FeatureSetApi->featuresetFeaturePost: %s\n" % e)

Parameters

Path parameters
Name Description
featureSetIndex*
Integer
Index of feature set in the feature set list
Required
Body parameters
Name Description
body *

Responses

Status: 202 - Message to add a feature was sent successfully

Status: 400 - Invalid feature set index

Status: 404 - Feature not found

Status: 500 - Error

Status: 501 - Function not implemented


featuresetFeatureReportGet

get a feature report


/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/report

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/report"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.FeatureSetApi;

import java.io.File;
import java.util.*;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
        try {
            FeatureReport result = apiInstance.featuresetFeatureReportGet(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureReportGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.FeatureSetApi;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
        try {
            FeatureReport result = apiInstance.featuresetFeatureReportGet(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureReportGet");
            e.printStackTrace();
        }
    }
}
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
Integer *featureIndex = 56; // Index of the feature in the features list for this feature set

FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

[apiInstance featuresetFeatureReportGetWith:featureSetIndex
    featureIndex:featureIndex
              completionHandler: ^(FeatureReport output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.FeatureSetApi()

var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list

var featureIndex = 56; // {Integer} Index of the feature in the features list for this feature set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.featuresetFeatureReportGet(featureSetIndex, featureIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class featuresetFeatureReportGetExample
    {
        public void main()
        {
            
            var apiInstance = new FeatureSetApi();
            var featureSetIndex = 56;  // Integer | Index of feature set in the feature set list
            var featureIndex = 56;  // Integer | Index of the feature in the features list for this feature set

            try
            {
                FeatureReport result = apiInstance.featuresetFeatureReportGet(featureSetIndex, featureIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureReportGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FeatureSetApi();
$featureSetIndex = 56; // Integer | Index of feature set in the feature set list
$featureIndex = 56; // Integer | Index of the feature in the features list for this feature set

try {
    $result = $api_instance->featuresetFeatureReportGet($featureSetIndex, $featureIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeatureSetApi->featuresetFeatureReportGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::FeatureSetApi;

my $api_instance = SWGSDRangel::FeatureSetApi->new();
my $featureSetIndex = 56; # Integer | Index of feature set in the feature set list
my $featureIndex = 56; # Integer | Index of the feature in the features list for this feature set

eval { 
    my $result = $api_instance->featuresetFeatureReportGet(featureSetIndex => $featureSetIndex, featureIndex => $featureIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FeatureSetApi->featuresetFeatureReportGet: $@\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.FeatureSetApi()
featureSetIndex = 56 # Integer | Index of feature set in the feature set list
featureIndex = 56 # Integer | Index of the feature in the features list for this feature set

try: 
    api_response = api_instance.featureset_feature_report_get(featureSetIndex, featureIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FeatureSetApi->featuresetFeatureReportGet: %s\n" % e)

Parameters

Path parameters
Name Description
featureSetIndex*
Integer
Index of feature set in the feature set list
Required
featureIndex*
Integer
Index of the feature in the features list for this feature set
Required

Responses

Status: 200 - On success return feature report

Status: 400 - Invalid feature set or feature index

Status: 404 - Feature set or feature not found

Status: 500 - Error

Status: 501 - Function not implemented


featuresetFeatureRunDelete

stop feature


/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/run

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/run"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.FeatureSetApi;

import java.io.File;
import java.util.*;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of feature in the features list
        try {
            DeviceState result = apiInstance.featuresetFeatureRunDelete(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.FeatureSetApi;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of feature in the features list
        try {
            DeviceState result = apiInstance.featuresetFeatureRunDelete(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunDelete");
            e.printStackTrace();
        }
    }
}
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
Integer *featureIndex = 56; // Index of feature in the features list

FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

[apiInstance featuresetFeatureRunDeleteWith:featureSetIndex
    featureIndex:featureIndex
              completionHandler: ^(DeviceState output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.FeatureSetApi()

var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list

var featureIndex = 56; // {Integer} Index of feature in the features list


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.featuresetFeatureRunDelete(featureSetIndex, featureIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class featuresetFeatureRunDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new FeatureSetApi();
            var featureSetIndex = 56;  // Integer | Index of feature set in the feature set list
            var featureIndex = 56;  // Integer | Index of feature in the features list

            try
            {
                DeviceState result = apiInstance.featuresetFeatureRunDelete(featureSetIndex, featureIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureRunDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FeatureSetApi();
$featureSetIndex = 56; // Integer | Index of feature set in the feature set list
$featureIndex = 56; // Integer | Index of feature in the features list

try {
    $result = $api_instance->featuresetFeatureRunDelete($featureSetIndex, $featureIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeatureSetApi->featuresetFeatureRunDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::FeatureSetApi;

my $api_instance = SWGSDRangel::FeatureSetApi->new();
my $featureSetIndex = 56; # Integer | Index of feature set in the feature set list
my $featureIndex = 56; # Integer | Index of feature in the features list

eval { 
    my $result = $api_instance->featuresetFeatureRunDelete(featureSetIndex => $featureSetIndex, featureIndex => $featureIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FeatureSetApi->featuresetFeatureRunDelete: $@\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.FeatureSetApi()
featureSetIndex = 56 # Integer | Index of feature set in the feature set list
featureIndex = 56 # Integer | Index of feature in the features list

try: 
    api_response = api_instance.featureset_feature_run_delete(featureSetIndex, featureIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FeatureSetApi->featuresetFeatureRunDelete: %s\n" % e)

Parameters

Path parameters
Name Description
featureSetIndex*
Integer
Index of feature set in the feature set list
Required
featureIndex*
Integer
Index of feature in the features list
Required

Responses

Status: 200 - On success return state before change

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


featuresetFeatureRunGet

get feature run status


/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/run

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/run"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.FeatureSetApi;

import java.io.File;
import java.util.*;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of feature in the features list
        try {
            DeviceState result = apiInstance.featuresetFeatureRunGet(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.FeatureSetApi;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of feature in the features list
        try {
            DeviceState result = apiInstance.featuresetFeatureRunGet(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunGet");
            e.printStackTrace();
        }
    }
}
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
Integer *featureIndex = 56; // Index of feature in the features list

FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

[apiInstance featuresetFeatureRunGetWith:featureSetIndex
    featureIndex:featureIndex
              completionHandler: ^(DeviceState output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.FeatureSetApi()

var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list

var featureIndex = 56; // {Integer} Index of feature in the features list


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.featuresetFeatureRunGet(featureSetIndex, featureIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class featuresetFeatureRunGetExample
    {
        public void main()
        {
            
            var apiInstance = new FeatureSetApi();
            var featureSetIndex = 56;  // Integer | Index of feature set in the feature set list
            var featureIndex = 56;  // Integer | Index of feature in the features list

            try
            {
                DeviceState result = apiInstance.featuresetFeatureRunGet(featureSetIndex, featureIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureRunGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FeatureSetApi();
$featureSetIndex = 56; // Integer | Index of feature set in the feature set list
$featureIndex = 56; // Integer | Index of feature in the features list

try {
    $result = $api_instance->featuresetFeatureRunGet($featureSetIndex, $featureIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeatureSetApi->featuresetFeatureRunGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::FeatureSetApi;

my $api_instance = SWGSDRangel::FeatureSetApi->new();
my $featureSetIndex = 56; # Integer | Index of feature set in the feature set list
my $featureIndex = 56; # Integer | Index of feature in the features list

eval { 
    my $result = $api_instance->featuresetFeatureRunGet(featureSetIndex => $featureSetIndex, featureIndex => $featureIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FeatureSetApi->featuresetFeatureRunGet: $@\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.FeatureSetApi()
featureSetIndex = 56 # Integer | Index of feature set in the feature set list
featureIndex = 56 # Integer | Index of feature in the features list

try: 
    api_response = api_instance.featureset_feature_run_get(featureSetIndex, featureIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FeatureSetApi->featuresetFeatureRunGet: %s\n" % e)

Parameters

Path parameters
Name Description
featureSetIndex*
Integer
Index of feature set in the feature set list
Required
featureIndex*
Integer
Index of feature in the features list
Required

Responses

Status: 200 - On success return current feature run state

Status: 400 - Invalid feature set index

Status: 404 - Feature not found

Status: 500 - Error

Status: 501 - Function not implemented


featuresetFeatureRunPost

start feature


/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/run

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/run"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.FeatureSetApi;

import java.io.File;
import java.util.*;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of feature in the features list
        try {
            DeviceState result = apiInstance.featuresetFeatureRunPost(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunPost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.FeatureSetApi;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of feature in the features list
        try {
            DeviceState result = apiInstance.featuresetFeatureRunPost(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureRunPost");
            e.printStackTrace();
        }
    }
}
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
Integer *featureIndex = 56; // Index of feature in the features list

FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

[apiInstance featuresetFeatureRunPostWith:featureSetIndex
    featureIndex:featureIndex
              completionHandler: ^(DeviceState output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.FeatureSetApi()

var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list

var featureIndex = 56; // {Integer} Index of feature in the features list


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.featuresetFeatureRunPost(featureSetIndex, featureIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class featuresetFeatureRunPostExample
    {
        public void main()
        {
            
            var apiInstance = new FeatureSetApi();
            var featureSetIndex = 56;  // Integer | Index of feature set in the feature set list
            var featureIndex = 56;  // Integer | Index of feature in the features list

            try
            {
                DeviceState result = apiInstance.featuresetFeatureRunPost(featureSetIndex, featureIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureRunPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FeatureSetApi();
$featureSetIndex = 56; // Integer | Index of feature set in the feature set list
$featureIndex = 56; // Integer | Index of feature in the features list

try {
    $result = $api_instance->featuresetFeatureRunPost($featureSetIndex, $featureIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeatureSetApi->featuresetFeatureRunPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::FeatureSetApi;

my $api_instance = SWGSDRangel::FeatureSetApi->new();
my $featureSetIndex = 56; # Integer | Index of feature set in the feature set list
my $featureIndex = 56; # Integer | Index of feature in the features list

eval { 
    my $result = $api_instance->featuresetFeatureRunPost(featureSetIndex => $featureSetIndex, featureIndex => $featureIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FeatureSetApi->featuresetFeatureRunPost: $@\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.FeatureSetApi()
featureSetIndex = 56 # Integer | Index of feature set in the feature set list
featureIndex = 56 # Integer | Index of feature in the features list

try: 
    api_response = api_instance.featureset_feature_run_post(featureSetIndex, featureIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FeatureSetApi->featuresetFeatureRunPost: %s\n" % e)

Parameters

Path parameters
Name Description
featureSetIndex*
Integer
Index of feature set in the feature set list
Required
featureIndex*
Integer
Index of feature in the features list
Required

Responses

Status: 200 - On success return state before change

Status: 400 - Invalid feature set index

Status: 404 - Feature not found

Status: 500 - Error

Status: 501 - Function not implemented


featuresetFeatureSettingsGet

get a feature settings


/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.FeatureSetApi;

import java.io.File;
import java.util.*;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
        try {
            FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.FeatureSetApi;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
        try {
            FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureSetIndex, featureIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsGet");
            e.printStackTrace();
        }
    }
}
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
Integer *featureIndex = 56; // Index of the feature in the features list for this feature set

FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

[apiInstance featuresetFeatureSettingsGetWith:featureSetIndex
    featureIndex:featureIndex
              completionHandler: ^(FeatureSettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.FeatureSetApi()

var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list

var featureIndex = 56; // {Integer} Index of the feature in the features list for this feature set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.featuresetFeatureSettingsGet(featureSetIndex, featureIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class featuresetFeatureSettingsGetExample
    {
        public void main()
        {
            
            var apiInstance = new FeatureSetApi();
            var featureSetIndex = 56;  // Integer | Index of feature set in the feature set list
            var featureIndex = 56;  // Integer | Index of the feature in the features list for this feature set

            try
            {
                FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureSetIndex, featureIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureSettingsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FeatureSetApi();
$featureSetIndex = 56; // Integer | Index of feature set in the feature set list
$featureIndex = 56; // Integer | Index of the feature in the features list for this feature set

try {
    $result = $api_instance->featuresetFeatureSettingsGet($featureSetIndex, $featureIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeatureSetApi->featuresetFeatureSettingsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::FeatureSetApi;

my $api_instance = SWGSDRangel::FeatureSetApi->new();
my $featureSetIndex = 56; # Integer | Index of feature set in the feature set list
my $featureIndex = 56; # Integer | Index of the feature in the features list for this feature set

eval { 
    my $result = $api_instance->featuresetFeatureSettingsGet(featureSetIndex => $featureSetIndex, featureIndex => $featureIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FeatureSetApi->featuresetFeatureSettingsGet: $@\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.FeatureSetApi()
featureSetIndex = 56 # Integer | Index of feature set in the feature set list
featureIndex = 56 # Integer | Index of the feature in the features list for this feature set

try: 
    api_response = api_instance.featureset_feature_settings_get(featureSetIndex, featureIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FeatureSetApi->featuresetFeatureSettingsGet: %s\n" % e)

Parameters

Path parameters
Name Description
featureSetIndex*
Integer
Index of feature set in the feature set list
Required
featureIndex*
Integer
Index of the feature in the features list for this feature set
Required

Responses

Status: 200 - On success return feature settings

Status: 400 - Invalid feature set or feature index

Status: 404 - Feature set or feature not found

Status: 500 - Error

Status: 501 - Function not implemented


featuresetFeatureSettingsPatch

apply settings differentially (no force)


/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.FeatureSetApi;

import java.io.File;
import java.util.*;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
        FeatureSettings body = ; // FeatureSettings | Feature settings to apply
        try {
            FeatureSettings result = apiInstance.featuresetFeatureSettingsPatch(featureSetIndex, featureIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.FeatureSetApi;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
        Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
        FeatureSettings body = ; // FeatureSettings | Feature settings to apply
        try {
            FeatureSettings result = apiInstance.featuresetFeatureSettingsPatch(featureSetIndex, featureIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsPatch");
            e.printStackTrace();
        }
    }
}
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
Integer *featureIndex = 56; // Index of the feature in the features list for this feature set
FeatureSettings *body = ; // Feature settings to apply

FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

[apiInstance featuresetFeatureSettingsPatchWith:featureSetIndex
    featureIndex:featureIndex
    body:body
              completionHandler: ^(FeatureSettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.FeatureSetApi()

var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list

var featureIndex = 56; // {Integer} Index of the feature in the features list for this feature set

var body = ; // {FeatureSettings} Feature settings to apply


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.featuresetFeatureSettingsPatch(featureSetIndex, featureIndex, body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class featuresetFeatureSettingsPatchExample
    {
        public void main()
        {
            
            var apiInstance = new FeatureSetApi();
            var featureSetIndex = 56;  // Integer | Index of feature set in the feature set list
            var featureIndex = 56;  // Integer | Index of the feature in the features list for this feature set
            var body = new FeatureSettings(); // FeatureSettings | Feature settings to apply

            try
            {
                FeatureSettings result = apiInstance.featuresetFeatureSettingsPatch(featureSetIndex, featureIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FeatureSetApi.featuresetFeatureSettingsPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FeatureSetApi();
$featureSetIndex = 56; // Integer | Index of feature set in the feature set list
$featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
$body = ; // FeatureSettings | Feature settings to apply

try {
    $result = $api_instance->featuresetFeatureSettingsPatch($featureSetIndex, $featureIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeatureSetApi->featuresetFeatureSettingsPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::FeatureSetApi;

my $api_instance = SWGSDRangel::FeatureSetApi->new();
my $featureSetIndex = 56; # Integer | Index of feature set in the feature set list
my $featureIndex = 56; # Integer | Index of the feature in the features list for this feature set
my $body = SWGSDRangel::Object::FeatureSettings->new(); # FeatureSettings | Feature settings to apply

eval { 
    my $result = $api_instance->featuresetFeatureSettingsPatch(featureSetIndex => $featureSetIndex, featureIndex => $featureIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FeatureSetApi->featuresetFeatureSettingsPatch: $@\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.FeatureSetApi()
featureSetIndex = 56 # Integer | Index of feature set in the feature set list
featureIndex = 56 # Integer | Index of the feature in the features list for this feature set
body =  # FeatureSettings | Feature settings to apply

try: 
    api_response = api_instance.featureset_feature_settings_patch(featureSetIndex, featureIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FeatureSetApi->featuresetFeatureSettingsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
featureSetIndex*
Integer
Index of feature set in the feature set list
Required
featureIndex*
Integer
Index of the feature in the features list for this feature set
Required
Body parameters
Name Description
body *

Responses

Status: 200 - On success return feature new settings

Status: 400 - Invalid feature set or feature index

Status: 404 - Feature set or feature not found

Status: 500 - Error

Status: 501 - Function not implemented


featuresetGet

Get feature set information


/sdrangel/featureset/{featureSetIndex}

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/featureset/{featureSetIndex}"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.FeatureSetApi;

import java.io.File;
import java.util.*;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the device set list
        try {
            FeatureSet result = apiInstance.featuresetGet(featureSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.FeatureSetApi;

public class FeatureSetApiExample {

    public static void main(String[] args) {
        FeatureSetApi apiInstance = new FeatureSetApi();
        Integer featureSetIndex = 56; // Integer | Index of feature set in the device set list
        try {
            FeatureSet result = apiInstance.featuresetGet(featureSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FeatureSetApi#featuresetGet");
            e.printStackTrace();
        }
    }
}
Integer *featureSetIndex = 56; // Index of feature set in the device set list

FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];

[apiInstance featuresetGetWith:featureSetIndex
              completionHandler: ^(FeatureSet output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.FeatureSetApi()

var featureSetIndex = 56; // {Integer} Index of feature 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.featuresetGet(featureSetIndex, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class featuresetGetExample
    {
        public void main()
        {
            
            var apiInstance = new FeatureSetApi();
            var featureSetIndex = 56;  // Integer | Index of feature set in the device set list

            try
            {
                FeatureSet result = apiInstance.featuresetGet(featureSetIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FeatureSetApi.featuresetGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\FeatureSetApi();
$featureSetIndex = 56; // Integer | Index of feature set in the device set list

try {
    $result = $api_instance->featuresetGet($featureSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling FeatureSetApi->featuresetGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::FeatureSetApi;

my $api_instance = SWGSDRangel::FeatureSetApi->new();
my $featureSetIndex = 56; # Integer | Index of feature set in the device set list

eval { 
    my $result = $api_instance->featuresetGet(featureSetIndex => $featureSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FeatureSetApi->featuresetGet: $@\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.FeatureSetApi()
featureSetIndex = 56 # Integer | Index of feature set in the device set list

try: 
    api_response = api_instance.featureset_get(featureSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FeatureSetApi->featuresetGet: %s\n" % e)

Parameters

Path parameters
Name Description
featureSetIndex*
Integer
Index of feature set in the device set list
Required

Responses

Status: 200 - On success return details on the feature set

Status: 404 - Invalid index

Status: 500 - Error

Status: 501 - Function not implemented


Instance

instanceAMBEDevicesDelete

Emtpy the active devices thus effectively closing down AMBE devices support


/sdrangel/ambe/devices

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/ambe/devices"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            SuccessResponse result = apiInstance.instanceAMBEDevicesDelete();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAMBEDevicesDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            SuccessResponse result = apiInstance.instanceAMBEDevicesDelete();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAMBEDevicesDelete");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAMBEDevicesDeleteWithCompletionHandler: 
              ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAMBEDevicesDelete(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAMBEDevicesDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                SuccessResponse result = apiInstance.instanceAMBEDevicesDelete();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAMBEDevicesDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceAMBEDevicesDelete();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAMBEDevicesDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceAMBEDevicesDelete();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAMBEDevicesDelete: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_ambe_devices_delete()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAMBEDevicesDelete: %s\n" % e)

Parameters

Responses

Status: 200 - Success.

Status: 500 - Error

Status: 501 - Function not implemented


instanceAMBEDevicesGet

get the list of AMBE devices (serial or address) used for AMBE frames decoding in digital voice modes


/sdrangel/ambe/devices

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/ambe/devices"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            AMBEDevices result = apiInstance.instanceAMBEDevicesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAMBEDevicesGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            AMBEDevices result = apiInstance.instanceAMBEDevicesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAMBEDevicesGet");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAMBEDevicesGetWithCompletionHandler: 
              ^(AMBEDevices output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAMBEDevicesGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAMBEDevicesGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                AMBEDevices result = apiInstance.instanceAMBEDevicesGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAMBEDevicesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceAMBEDevicesGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAMBEDevicesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceAMBEDevicesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAMBEDevicesGet: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_ambe_devices_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAMBEDevicesGet: %s\n" % e)

Parameters

Responses

Status: 200 - On success return list of devices possibly empty

Status: 500 - Error

Status: 501 - Function not implemented


instanceAMBEDevicesPatch

Add and/or delete devices to/from the active list


/sdrangel/ambe/devices

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/ambe/devices"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        AMBEDevices body = ; // AMBEDevices | List of AMBE devices (serial or address)
        try {
            AMBEDevices result = apiInstance.instanceAMBEDevicesPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAMBEDevicesPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        AMBEDevices body = ; // AMBEDevices | List of AMBE devices (serial or address)
        try {
            AMBEDevices result = apiInstance.instanceAMBEDevicesPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAMBEDevicesPatch");
            e.printStackTrace();
        }
    }
}
AMBEDevices *body = ; // List of AMBE devices (serial or address)

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAMBEDevicesPatchWith:body
              completionHandler: ^(AMBEDevices output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {AMBEDevices} List of AMBE devices (serial or address)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAMBEDevicesPatch(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAMBEDevicesPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new AMBEDevices(); // AMBEDevices | List of AMBE devices (serial or address)

            try
            {
                AMBEDevices result = apiInstance.instanceAMBEDevicesPatch(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAMBEDevicesPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AMBEDevices | List of AMBE devices (serial or address)

try {
    $result = $api_instance->instanceAMBEDevicesPatch($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAMBEDevicesPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::AMBEDevices->new(); # AMBEDevices | List of AMBE devices (serial or address)

eval { 
    my $result = $api_instance->instanceAMBEDevicesPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAMBEDevicesPatch: $@\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.InstanceApi()
body =  # AMBEDevices | List of AMBE devices (serial or address)

try: 
    api_response = api_instance.instance_ambe_devices_patch(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAMBEDevicesPatch: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return list of devices

Status: 500 - Error

Status: 501 - Function not implemented


instanceAMBEDevicesPut

Replace the list of active devices


/sdrangel/ambe/devices

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/ambe/devices"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        AMBEDevices body = ; // AMBEDevices | List of AMBE devices (serial or address)
        try {
            AMBEDevices result = apiInstance.instanceAMBEDevicesPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAMBEDevicesPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        AMBEDevices body = ; // AMBEDevices | List of AMBE devices (serial or address)
        try {
            AMBEDevices result = apiInstance.instanceAMBEDevicesPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAMBEDevicesPut");
            e.printStackTrace();
        }
    }
}
AMBEDevices *body = ; // List of AMBE devices (serial or address)

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAMBEDevicesPutWith:body
              completionHandler: ^(AMBEDevices output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {AMBEDevices} List of AMBE devices (serial or address)


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAMBEDevicesPut(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAMBEDevicesPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new AMBEDevices(); // AMBEDevices | List of AMBE devices (serial or address)

            try
            {
                AMBEDevices result = apiInstance.instanceAMBEDevicesPut(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAMBEDevicesPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AMBEDevices | List of AMBE devices (serial or address)

try {
    $result = $api_instance->instanceAMBEDevicesPut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAMBEDevicesPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::AMBEDevices->new(); # AMBEDevices | List of AMBE devices (serial or address)

eval { 
    my $result = $api_instance->instanceAMBEDevicesPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAMBEDevicesPut: $@\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.InstanceApi()
body =  # AMBEDevices | List of AMBE devices (serial or address)

try: 
    api_response = api_instance.instance_ambe_devices_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAMBEDevicesPut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return list of devices

Status: 500 - Error

Status: 501 - Function not implemented


instanceAMBESerialGet

get a list of available DV serial devices


/sdrangel/ambe/serial

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/ambe/serial"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            DVSerialDevices result = apiInstance.instanceAMBESerialGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAMBESerialGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            DVSerialDevices result = apiInstance.instanceAMBESerialGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAMBESerialGet");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAMBESerialGetWithCompletionHandler: 
              ^(DVSerialDevices output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAMBESerialGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAMBESerialGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                DVSerialDevices result = apiInstance.instanceAMBESerialGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAMBESerialGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceAMBESerialGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAMBESerialGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceAMBESerialGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAMBESerialGet: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_ambe_serial_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAMBESerialGet: %s\n" % e)

Parameters

Responses

Status: 200 - On success return list of device paths possibly empty

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioGet

Get audio devices list available to this instance


/sdrangel/audio

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/audio"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            AudioDevices result = apiInstance.instanceAudioGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            AudioDevices result = apiInstance.instanceAudioGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioGet");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAudioGetWithCompletionHandler: 
              ^(AudioDevices output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAudioGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAudioGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                AudioDevices result = apiInstance.instanceAudioGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAudioGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceAudioGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAudioGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceAudioGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioGet: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_audio_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioInputCleanupPatch

Remove registered parameters for devices not in list of available input devices for this instance


/sdrangel/audio/input/cleanup

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/audio/input/cleanup"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            SuccessResponse result = apiInstance.instanceAudioInputCleanupPatch();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioInputCleanupPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            SuccessResponse result = apiInstance.instanceAudioInputCleanupPatch();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioInputCleanupPatch");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAudioInputCleanupPatchWithCompletionHandler: 
              ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAudioInputCleanupPatch(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAudioInputCleanupPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                SuccessResponse result = apiInstance.instanceAudioInputCleanupPatch();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAudioInputCleanupPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceAudioInputCleanupPatch();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAudioInputCleanupPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceAudioInputCleanupPatch();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioInputCleanupPatch: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_audio_input_cleanup_patch()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioInputCleanupPatch: %s\n" % e)

Parameters

Responses

Status: 200 - Success.

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioInputDelete

Delete audio input device paramaters and return to defaults


/sdrangel/audio/input/parameters

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/audio/input/parameters"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device.
        try {
            AudioInputDevice result = apiInstance.instanceAudioInputDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioInputDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device.
        try {
            AudioInputDevice result = apiInstance.instanceAudioInputDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioInputDelete");
            e.printStackTrace();
        }
    }
}
AudioInputDevice *body = ; // Audio input parameters. Index is used to identify the device.

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAudioInputDeleteWith:body
              completionHandler: ^(AudioInputDevice output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {AudioInputDevice} Audio input parameters. Index is used to identify the device.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAudioInputDelete(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAudioInputDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new AudioInputDevice(); // AudioInputDevice | Audio input parameters. Index is used to identify the device.

            try
            {
                AudioInputDevice result = apiInstance.instanceAudioInputDelete(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAudioInputDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device.

try {
    $result = $api_instance->instanceAudioInputDelete($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAudioInputDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::AudioInputDevice->new(); # AudioInputDevice | Audio input parameters. Index is used to identify the device.

eval { 
    my $result = $api_instance->instanceAudioInputDelete(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioInputDelete: $@\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.InstanceApi()
body =  # AudioInputDevice | Audio input parameters. Index is used to identify the device.

try: 
    api_response = api_instance.instance_audio_input_delete(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioInputDelete: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success. Returns default parameters.

Status: 404 - Audio input device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioInputPatch

Set audio input device paramaters


/sdrangel/audio/input/parameters

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/audio/input/parameters"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.
        try {
            AudioInputDevice result = apiInstance.instanceAudioInputPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioInputPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.
        try {
            AudioInputDevice result = apiInstance.instanceAudioInputPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioInputPatch");
            e.printStackTrace();
        }
    }
}
AudioInputDevice *body = ; // Audio input parameters. Index is used to identify the device. Only settable fields are considered.

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAudioInputPatchWith:body
              completionHandler: ^(AudioInputDevice output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {AudioInputDevice} Audio input parameters. Index is used to identify the device. Only settable fields are considered.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAudioInputPatch(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAudioInputPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new AudioInputDevice(); // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

            try
            {
                AudioInputDevice result = apiInstance.instanceAudioInputPatch(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAudioInputPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

try {
    $result = $api_instance->instanceAudioInputPatch($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAudioInputPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::AudioInputDevice->new(); # AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

eval { 
    my $result = $api_instance->instanceAudioInputPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioInputPatch: $@\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.InstanceApi()
body =  # AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

try: 
    api_response = api_instance.instance_audio_input_patch(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioInputPatch: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success. Returns actual data in particular the actual sample rate.

Status: 404 - Audio input device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioOutputCleanupPatch

Remove registered parameters for devices not in list of available output devices for this instance


/sdrangel/audio/output/cleanup

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/audio/output/cleanup"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            SuccessResponse result = apiInstance.instanceAudioOutputCleanupPatch();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioOutputCleanupPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            SuccessResponse result = apiInstance.instanceAudioOutputCleanupPatch();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioOutputCleanupPatch");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAudioOutputCleanupPatchWithCompletionHandler: 
              ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAudioOutputCleanupPatch(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAudioOutputCleanupPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                SuccessResponse result = apiInstance.instanceAudioOutputCleanupPatch();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAudioOutputCleanupPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceAudioOutputCleanupPatch();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAudioOutputCleanupPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceAudioOutputCleanupPatch();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioOutputCleanupPatch: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_audio_output_cleanup_patch()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioOutputCleanupPatch: %s\n" % e)

Parameters

Responses

Status: 200 - Success.

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioOutputDelete

Delete audio output device paramaters and return to defaults


/sdrangel/audio/output/parameters

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/audio/output/parameters"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device.
        try {
            AudioOutputDevice result = apiInstance.instanceAudioOutputDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioOutputDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device.
        try {
            AudioOutputDevice result = apiInstance.instanceAudioOutputDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioOutputDelete");
            e.printStackTrace();
        }
    }
}
AudioOutputDevice *body = ; // Audio output parameters. Index is used to identify the device.

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAudioOutputDeleteWith:body
              completionHandler: ^(AudioOutputDevice output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {AudioOutputDevice} Audio output parameters. Index is used to identify the device.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAudioOutputDelete(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAudioOutputDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new AudioOutputDevice(); // AudioOutputDevice | Audio output parameters. Index is used to identify the device.

            try
            {
                AudioOutputDevice result = apiInstance.instanceAudioOutputDelete(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAudioOutputDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device.

try {
    $result = $api_instance->instanceAudioOutputDelete($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAudioOutputDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::AudioOutputDevice->new(); # AudioOutputDevice | Audio output parameters. Index is used to identify the device.

eval { 
    my $result = $api_instance->instanceAudioOutputDelete(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioOutputDelete: $@\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.InstanceApi()
body =  # AudioOutputDevice | Audio output parameters. Index is used to identify the device.

try: 
    api_response = api_instance.instance_audio_output_delete(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioOutputDelete: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success. Returns actual data in particular the actual sample rate.

Status: 404 - Audio output device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioOutputPatch

Set audio output device parameters


/sdrangel/audio/output/parameters

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/audio/output/parameters"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.
        try {
            AudioOutputDevice result = apiInstance.instanceAudioOutputPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioOutputPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.
        try {
            AudioOutputDevice result = apiInstance.instanceAudioOutputPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioOutputPatch");
            e.printStackTrace();
        }
    }
}
AudioOutputDevice *body = ; // Audio output parameters. Index is used to identify the device. Only settable fields are considered.

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceAudioOutputPatchWith:body
              completionHandler: ^(AudioOutputDevice output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {AudioOutputDevice} Audio output parameters. Index is used to identify the device. Only settable fields are considered.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceAudioOutputPatch(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceAudioOutputPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new AudioOutputDevice(); // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

            try
            {
                AudioOutputDevice result = apiInstance.instanceAudioOutputPatch(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceAudioOutputPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

try {
    $result = $api_instance->instanceAudioOutputPatch($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAudioOutputPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::AudioOutputDevice->new(); # AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

eval { 
    my $result = $api_instance->instanceAudioOutputPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioOutputPatch: $@\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.InstanceApi()
body =  # AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

try: 
    api_response = api_instance.instance_audio_output_patch(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioOutputPatch: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success. Returns actual data in particular the actual sample rate.

Status: 404 - Audio output device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceChannels

Get a list of channel plugins available in this instance


/sdrangel/channels

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/channels?direction="
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
        try {
            InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceChannels");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
        try {
            InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceChannels");
            e.printStackTrace();
        }
    }
}
Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceChannelsWith:direction
              completionHandler: ^(InstanceChannelsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var opts = { 
  'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceChannels(opts, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceChannelsExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var direction = 56;  // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional) 

            try
            {
                InstanceChannelsResponse result = apiInstance.instanceChannels(direction);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceChannels: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

try {
    $result = $api_instance->instanceChannels($direction);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceChannels: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

eval { 
    my $result = $api_instance->instanceChannels(direction => $direction);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceChannels: $@\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.InstanceApi()
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

try: 
    api_response = api_instance.instance_channels(direction=direction)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceChannels: %s\n" % e)

Parameters

Query parameters
Name Description
direction
Integer
0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceConfigGet

Get the Preferences, Presets and Commands of the MainSettings saved by Qt. Supports config backup.


/sdrangel/config

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/config"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            InstanceConfigResponse result = apiInstance.instanceConfigGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceConfigGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            InstanceConfigResponse result = apiInstance.instanceConfigGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceConfigGet");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceConfigGetWithCompletionHandler: 
              ^(InstanceConfigResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceConfigGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceConfigGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                InstanceConfigResponse result = apiInstance.instanceConfigGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceConfigGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceConfigGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceConfigGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceConfigGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceConfigGet: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_config_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceConfigGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceConfigPatch

Replace the Preferences, Working preset, Presets and Commands of the MainSettings object with the contents of the payload. Presets and Commands if available in the payload are added. Channels in the working preset are added. Devices in the working preset are patched or added (upsert).


/sdrangel/config

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/config"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        InstanceConfigResponse body = ; // InstanceConfigResponse | Config information
        try {
            SuccessResponse result = apiInstance.instanceConfigPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceConfigPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        InstanceConfigResponse body = ; // InstanceConfigResponse | Config information
        try {
            SuccessResponse result = apiInstance.instanceConfigPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceConfigPatch");
            e.printStackTrace();
        }
    }
}
InstanceConfigResponse *body = ; // Config information

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceConfigPatchWith:body
              completionHandler: ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {InstanceConfigResponse} Config information


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceConfigPatch(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceConfigPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new InstanceConfigResponse(); // InstanceConfigResponse | Config information

            try
            {
                SuccessResponse result = apiInstance.instanceConfigPatch(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceConfigPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // InstanceConfigResponse | Config information

try {
    $result = $api_instance->instanceConfigPatch($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceConfigPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::InstanceConfigResponse->new(); # InstanceConfigResponse | Config information

eval { 
    my $result = $api_instance->instanceConfigPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceConfigPatch: $@\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.InstanceApi()
body =  # InstanceConfigResponse | Config information

try: 
    api_response = api_instance.instance_config_patch(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceConfigPatch: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceConfigPut

Replace the Preferences, Working preset, Presets and Commands of the MainSettings object with the contents of the payload. Supports config restore.


/sdrangel/config

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/config"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        InstanceConfigResponse body = ; // InstanceConfigResponse | Config information
        try {
            SuccessResponse result = apiInstance.instanceConfigPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceConfigPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        InstanceConfigResponse body = ; // InstanceConfigResponse | Config information
        try {
            SuccessResponse result = apiInstance.instanceConfigPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceConfigPut");
            e.printStackTrace();
        }
    }
}
InstanceConfigResponse *body = ; // Config information

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceConfigPutWith:body
              completionHandler: ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {InstanceConfigResponse} Config information


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceConfigPut(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceConfigPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new InstanceConfigResponse(); // InstanceConfigResponse | Config information

            try
            {
                SuccessResponse result = apiInstance.instanceConfigPut(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceConfigPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // InstanceConfigResponse | Config information

try {
    $result = $api_instance->instanceConfigPut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceConfigPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::InstanceConfigResponse->new(); # InstanceConfigResponse | Config information

eval { 
    my $result = $api_instance->instanceConfigPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceConfigPut: $@\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.InstanceApi()
body =  # InstanceConfigResponse | Config information

try: 
    api_response = api_instance.instance_config_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceConfigPut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceDelete

Stop SDRangel instance (server only)


/sdrangel

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            InstanceSummaryResponse result = apiInstance.instanceDelete();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            InstanceSummaryResponse result = apiInstance.instanceDelete();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDelete");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceDeleteWithCompletionHandler: 
              ^(InstanceSummaryResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceDelete(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                InstanceSummaryResponse result = apiInstance.instanceDelete();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceDelete();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceDelete();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDelete: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_delete()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceDelete: %s\n" % e)

Parameters

Responses

Status: 202 - Message to stop the SDRangel instance was sent successfully

Status: 400 - Unsupported (GUI instance)

Status: 500 - Error

Status: 501 - Function not implemented


instanceDeviceSetsGet

Get summary information about device sets opened in the instance


/sdrangel/devicesets

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/devicesets"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            DeviceSetList result = apiInstance.instanceDeviceSetsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDeviceSetsGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            DeviceSetList result = apiInstance.instanceDeviceSetsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDeviceSetsGet");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceDeviceSetsGetWithCompletionHandler: 
              ^(DeviceSetList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceDeviceSetsGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceDeviceSetsGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                DeviceSetList result = apiInstance.instanceDeviceSetsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceDeviceSetsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceDeviceSetsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceDeviceSetsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceDeviceSetsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDeviceSetsGet: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_device_sets_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceDeviceSetsGet: %s\n" % e)

Parameters

Responses

Status: 200 - On success return device set list

Status: 500 - Error

Status: 501 - Function not implemented


instanceDevices

Get a list of sampling devices that can be used to take part in a device set


/sdrangel/devices

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/devices?direction="
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
        try {
            InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDevices");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        Integer direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
        try {
            InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDevices");
            e.printStackTrace();
        }
    }
}
Integer *direction = 56; // 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceDevicesWith:direction
              completionHandler: ^(InstanceDevicesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var opts = { 
  'direction': 56 // {Integer} 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceDevices(opts, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceDevicesExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var direction = 56;  // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional) 

            try
            {
                InstanceDevicesResponse result = apiInstance.instanceDevices(direction);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceDevices: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$direction = 56; // Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

try {
    $result = $api_instance->instanceDevices($direction);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceDevices: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $direction = 56; # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

eval { 
    my $result = $api_instance->instanceDevices(direction => $direction);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDevices: $@\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.InstanceApi()
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

try: 
    api_response = api_instance.instance_devices(direction=direction)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceDevices: %s\n" % e)

Parameters

Query parameters
Name Description
direction
Integer
0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceFeatureSetsGet

Get summary information about feature sets opened in the instance


/sdrangel/featuresets

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/featuresets"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            FeatureSetList result = apiInstance.instanceFeatureSetsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceFeatureSetsGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            FeatureSetList result = apiInstance.instanceFeatureSetsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceFeatureSetsGet");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceFeatureSetsGetWithCompletionHandler: 
              ^(FeatureSetList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceFeatureSetsGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceFeatureSetsGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                FeatureSetList result = apiInstance.instanceFeatureSetsGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceFeatureSetsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceFeatureSetsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceFeatureSetsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceFeatureSetsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceFeatureSetsGet: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_feature_sets_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceFeatureSetsGet: %s\n" % e)

Parameters

Responses

Status: 200 - On success return feature set list

Status: 500 - Error

Status: 501 - Function not implemented


instanceLimeRFEConfigGet

get LimeRFE configuration


/sdrangel/limerfe/config

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/limerfe/config?serial="
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        String serial = serial_example; // String | device serial path
        try {
            LimeRFESettings result = apiInstance.instanceLimeRFEConfigGet(serial);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLimeRFEConfigGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        String serial = serial_example; // String | device serial path
        try {
            LimeRFESettings result = apiInstance.instanceLimeRFEConfigGet(serial);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLimeRFEConfigGet");
            e.printStackTrace();
        }
    }
}
String *serial = serial_example; // device serial path

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceLimeRFEConfigGetWith:serial
              completionHandler: ^(LimeRFESettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var serial = serial_example; // {String} device serial path


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceLimeRFEConfigGet(serial, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceLimeRFEConfigGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var serial = serial_example;  // String | device serial path

            try
            {
                LimeRFESettings result = apiInstance.instanceLimeRFEConfigGet(serial);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceLimeRFEConfigGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$serial = serial_example; // String | device serial path

try {
    $result = $api_instance->instanceLimeRFEConfigGet($serial);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceLimeRFEConfigGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $serial = serial_example; # String | device serial path

eval { 
    my $result = $api_instance->instanceLimeRFEConfigGet(serial => $serial);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLimeRFEConfigGet: $@\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.InstanceApi()
serial = serial_example # String | device serial path

try: 
    api_response = api_instance.instance_lime_rfe_config_get(serial)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLimeRFEConfigGet: %s\n" % e)

Parameters

Query parameters
Name Description
serial*
String
device serial path
Required

Responses

Status: 200 - On success return configuration information for the given device in input

Status: 500 - Error

Status: 501 - Function not implemented


instanceLimeRFEConfigPut

replace LimeRFE configuration


/sdrangel/limerfe/config

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/limerfe/config"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        LimeRFESettings body = ; // LimeRFESettings | Give device serial path in devicePath field. To switch Rx and/or Tx on or off use the run API.
        try {
            SuccessResponse result = apiInstance.instanceLimeRFEConfigPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLimeRFEConfigPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        LimeRFESettings body = ; // LimeRFESettings | Give device serial path in devicePath field. To switch Rx and/or Tx on or off use the run API.
        try {
            SuccessResponse result = apiInstance.instanceLimeRFEConfigPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLimeRFEConfigPut");
            e.printStackTrace();
        }
    }
}
LimeRFESettings *body = ; // Give device serial path in devicePath field. To switch Rx and/or Tx on or off use the run API.

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceLimeRFEConfigPutWith:body
              completionHandler: ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {LimeRFESettings} Give device serial path in devicePath field. To switch Rx and/or Tx on or off use the run API.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceLimeRFEConfigPut(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceLimeRFEConfigPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new LimeRFESettings(); // LimeRFESettings | Give device serial path in devicePath field. To switch Rx and/or Tx on or off use the run API.

            try
            {
                SuccessResponse result = apiInstance.instanceLimeRFEConfigPut(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceLimeRFEConfigPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // LimeRFESettings | Give device serial path in devicePath field. To switch Rx and/or Tx on or off use the run API.

try {
    $result = $api_instance->instanceLimeRFEConfigPut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceLimeRFEConfigPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::LimeRFESettings->new(); # LimeRFESettings | Give device serial path in devicePath field. To switch Rx and/or Tx on or off use the run API.

eval { 
    my $result = $api_instance->instanceLimeRFEConfigPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLimeRFEConfigPut: $@\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.InstanceApi()
body =  # LimeRFESettings | Give device serial path in devicePath field. To switch Rx and/or Tx on or off use the run API.

try: 
    api_response = api_instance.instance_lime_rfe_config_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLimeRFEConfigPut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Error

Status: 500 - Error

Status: 501 - Function not implemented


instanceLimeRFEPowerGet

get forward and reflected relative powers in centi-Bels


/sdrangel/limerfe/power

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/limerfe/power?serial="
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        String serial = serial_example; // String | device serial path
        try {
            LimeRFEPower result = apiInstance.instanceLimeRFEPowerGet(serial);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLimeRFEPowerGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        String serial = serial_example; // String | device serial path
        try {
            LimeRFEPower result = apiInstance.instanceLimeRFEPowerGet(serial);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLimeRFEPowerGet");
            e.printStackTrace();
        }
    }
}
String *serial = serial_example; // device serial path

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceLimeRFEPowerGetWith:serial
              completionHandler: ^(LimeRFEPower output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var serial = serial_example; // {String} device serial path


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceLimeRFEPowerGet(serial, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceLimeRFEPowerGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var serial = serial_example;  // String | device serial path

            try
            {
                LimeRFEPower result = apiInstance.instanceLimeRFEPowerGet(serial);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceLimeRFEPowerGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$serial = serial_example; // String | device serial path

try {
    $result = $api_instance->instanceLimeRFEPowerGet($serial);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceLimeRFEPowerGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $serial = serial_example; # String | device serial path

eval { 
    my $result = $api_instance->instanceLimeRFEPowerGet(serial => $serial);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLimeRFEPowerGet: $@\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.InstanceApi()
serial = serial_example # String | device serial path

try: 
    api_response = api_instance.instance_lime_rfe_power_get(serial)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLimeRFEPowerGet: %s\n" % e)

Parameters

Query parameters
Name Description
serial*
String
device serial path
Required

Responses

Status: 200 - On success return forward and reflected powers in centi-Bels

Status: 400 - Error

Status: 500 - Error

Status: 501 - Function not implemented


instanceLimeRFERunPut

set Rx and Tx on or off


/sdrangel/limerfe/run

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/limerfe/run"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        LimeRFESettings body = ; // LimeRFESettings | Give device serial path in devicePath field and run status in rxOn and txOn
        try {
            SuccessResponse result = apiInstance.instanceLimeRFERunPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLimeRFERunPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        LimeRFESettings body = ; // LimeRFESettings | Give device serial path in devicePath field and run status in rxOn and txOn
        try {
            SuccessResponse result = apiInstance.instanceLimeRFERunPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLimeRFERunPut");
            e.printStackTrace();
        }
    }
}
LimeRFESettings *body = ; // Give device serial path in devicePath field and run status in rxOn and txOn

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceLimeRFERunPutWith:body
              completionHandler: ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {LimeRFESettings} Give device serial path in devicePath field and run status in rxOn and txOn


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceLimeRFERunPut(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceLimeRFERunPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new LimeRFESettings(); // LimeRFESettings | Give device serial path in devicePath field and run status in rxOn and txOn

            try
            {
                SuccessResponse result = apiInstance.instanceLimeRFERunPut(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceLimeRFERunPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // LimeRFESettings | Give device serial path in devicePath field and run status in rxOn and txOn

try {
    $result = $api_instance->instanceLimeRFERunPut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceLimeRFERunPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::LimeRFESettings->new(); # LimeRFESettings | Give device serial path in devicePath field and run status in rxOn and txOn

eval { 
    my $result = $api_instance->instanceLimeRFERunPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLimeRFERunPut: $@\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.InstanceApi()
body =  # LimeRFESettings | Give device serial path in devicePath field and run status in rxOn and txOn

try: 
    api_response = api_instance.instance_lime_rfe_run_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLimeRFERunPut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 400 - Error

Status: 500 - Error

Status: 501 - Function not implemented


instanceLimeRFESerialGet

get a list of available serial interfaces to LimeRFE device


/sdrangel/limerfe/serial

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/limerfe/serial"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            LimeRFEDevices result = apiInstance.instanceLimeRFESerialGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLimeRFESerialGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            LimeRFEDevices result = apiInstance.instanceLimeRFESerialGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLimeRFESerialGet");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceLimeRFESerialGetWithCompletionHandler: 
              ^(LimeRFEDevices output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceLimeRFESerialGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceLimeRFESerialGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                LimeRFEDevices result = apiInstance.instanceLimeRFESerialGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceLimeRFESerialGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceLimeRFESerialGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceLimeRFESerialGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceLimeRFESerialGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLimeRFESerialGet: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_lime_rfe_serial_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLimeRFESerialGet: %s\n" % e)

Parameters

Responses

Status: 200 - On success return list of device paths possibly empty

Status: 500 - Error

Status: 501 - Function not implemented


instanceLocationGet

Get instance geolocation information


/sdrangel/location

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/location"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            LocationInformation result = apiInstance.instanceLocationGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLocationGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            LocationInformation result = apiInstance.instanceLocationGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLocationGet");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceLocationGetWithCompletionHandler: 
              ^(LocationInformation output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceLocationGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceLocationGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                LocationInformation result = apiInstance.instanceLocationGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceLocationGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceLocationGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceLocationGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceLocationGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLocationGet: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_location_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLocationGet: %s\n" % e)

Parameters

Responses

Status: 200 - On success return location

Status: 500 - Error

Status: 501 - Function not implemented


instanceLocationPut

Set instance geolocation information


/sdrangel/location

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/location"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        LocationInformation body = ; // LocationInformation | Location of instance in latitude and longitude
        try {
            LocationInformation result = apiInstance.instanceLocationPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLocationPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        LocationInformation body = ; // LocationInformation | Location of instance in latitude and longitude
        try {
            LocationInformation result = apiInstance.instanceLocationPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLocationPut");
            e.printStackTrace();
        }
    }
}
LocationInformation *body = ; // Location of instance in latitude and longitude

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceLocationPutWith:body
              completionHandler: ^(LocationInformation output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {LocationInformation} Location of instance in latitude and longitude


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceLocationPut(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceLocationPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new LocationInformation(); // LocationInformation | Location of instance in latitude and longitude

            try
            {
                LocationInformation result = apiInstance.instanceLocationPut(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceLocationPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // LocationInformation | Location of instance in latitude and longitude

try {
    $result = $api_instance->instanceLocationPut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceLocationPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::LocationInformation->new(); # LocationInformation | Location of instance in latitude and longitude

eval { 
    my $result = $api_instance->instanceLocationPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLocationPut: $@\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.InstanceApi()
body =  # LocationInformation | Location of instance in latitude and longitude

try: 
    api_response = api_instance.instance_location_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLocationPut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return location

Status: 400 - Location invalid

Status: 500 - Error

Status: 501 - Function not implemented


instanceLoggingGet

Get logging information for this instance


/sdrangel/logging

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/logging"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            LoggingInfo result = apiInstance.instanceLoggingGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLoggingGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            LoggingInfo result = apiInstance.instanceLoggingGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLoggingGet");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceLoggingGetWithCompletionHandler: 
              ^(LoggingInfo output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceLoggingGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceLoggingGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                LoggingInfo result = apiInstance.instanceLoggingGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceLoggingGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceLoggingGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceLoggingGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceLoggingGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLoggingGet: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_logging_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLoggingGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceLoggingPut

Change logging parmeters for this instance


/sdrangel/logging

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/logging"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        LoggingInfo body = ; // LoggingInfo | Logging information
        try {
            LoggingInfo result = apiInstance.instanceLoggingPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLoggingPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        LoggingInfo body = ; // LoggingInfo | Logging information
        try {
            LoggingInfo result = apiInstance.instanceLoggingPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLoggingPut");
            e.printStackTrace();
        }
    }
}
LoggingInfo *body = ; // Logging information

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceLoggingPutWith:body
              completionHandler: ^(LoggingInfo output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {LoggingInfo} Logging information


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceLoggingPut(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceLoggingPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new LoggingInfo(); // LoggingInfo | Logging information

            try
            {
                LoggingInfo result = apiInstance.instanceLoggingPut(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceLoggingPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // LoggingInfo | Logging information

try {
    $result = $api_instance->instanceLoggingPut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceLoggingPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::LoggingInfo->new(); # LoggingInfo | Logging information

eval { 
    my $result = $api_instance->instanceLoggingPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLoggingPut: $@\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.InstanceApi()
body =  # LoggingInfo | Logging information

try: 
    api_response = api_instance.instance_logging_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLoggingPut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Return new data on success

Status: 400 - Invalid data

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetDelete

Deletes a preset


/sdrangel/preset

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/preset"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetIdentifier body = ; // PresetIdentifier | delete this preset
        try {
            PresetIdentifier result = apiInstance.instancePresetDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetIdentifier body = ; // PresetIdentifier | delete this preset
        try {
            PresetIdentifier result = apiInstance.instancePresetDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetDelete");
            e.printStackTrace();
        }
    }
}
PresetIdentifier *body = ; // delete this preset

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instancePresetDeleteWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetIdentifier} delete this preset


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instancePresetDelete(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instancePresetDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetIdentifier(); // PresetIdentifier | delete this preset

            try
            {
                PresetIdentifier result = apiInstance.instancePresetDelete(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instancePresetDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetIdentifier | delete this preset

try {
    $result = $api_instance->instancePresetDelete($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetIdentifier->new(); # PresetIdentifier | delete this preset

eval { 
    my $result = $api_instance->instancePresetDelete(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetDelete: $@\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.InstanceApi()
body =  # PresetIdentifier | delete this preset

try: 
    api_response = api_instance.instance_preset_delete(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetDelete: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the selected preset identification is returned

Status: 400 - Invalid JSON request

Status: 404 - Preset not found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetFilePost

export a preset to file (server only).


/sdrangel/preset/file

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/preset/file"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetExport body = ; // PresetExport | export details
        try {
            PresetIdentifier result = apiInstance.instancePresetFilePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetFilePost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetExport body = ; // PresetExport | export details
        try {
            PresetIdentifier result = apiInstance.instancePresetFilePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetFilePost");
            e.printStackTrace();
        }
    }
}
PresetExport *body = ; // export details

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instancePresetFilePostWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetExport} export details


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instancePresetFilePost(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instancePresetFilePostExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetExport(); // PresetExport | export details

            try
            {
                PresetIdentifier result = apiInstance.instancePresetFilePost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instancePresetFilePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetExport | export details

try {
    $result = $api_instance->instancePresetFilePost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetFilePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetExport->new(); # PresetExport | export details

eval { 
    my $result = $api_instance->instancePresetFilePost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetFilePost: $@\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.InstanceApi()
body =  # PresetExport | export details

try: 
    api_response = api_instance.instance_preset_file_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetFilePost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return preset identification

Status: 400 - Invalid JSON request

Status: 404 - Preset or file path not found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetFilePut

import a preset from file as a new preset (server only).


/sdrangel/preset/file

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/preset/file"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetImport body = ; // PresetImport | import details
        try {
            PresetIdentifier result = apiInstance.instancePresetFilePut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetFilePut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetImport body = ; // PresetImport | import details
        try {
            PresetIdentifier result = apiInstance.instancePresetFilePut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetFilePut");
            e.printStackTrace();
        }
    }
}
PresetImport *body = ; // import details

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instancePresetFilePutWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetImport} import details


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instancePresetFilePut(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instancePresetFilePutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetImport(); // PresetImport | import details

            try
            {
                PresetIdentifier result = apiInstance.instancePresetFilePut(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instancePresetFilePut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetImport | import details

try {
    $result = $api_instance->instancePresetFilePut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetFilePut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetImport->new(); # PresetImport | import details

eval { 
    my $result = $api_instance->instancePresetFilePut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetFilePut: $@\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.InstanceApi()
body =  # PresetImport | import details

try: 
    api_response = api_instance.instance_preset_file_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetFilePut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return preset identification

Status: 400 - Invalid JSON request

Status: 404 - File not found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetGet

List all presets in the instance


/sdrangel/presets

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/presets"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            Presets result = apiInstance.instancePresetGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            Presets result = apiInstance.instancePresetGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetGet");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instancePresetGetWithCompletionHandler: 
              ^(Presets output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instancePresetGet(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instancePresetGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                Presets result = apiInstance.instancePresetGet();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instancePresetGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instancePresetGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instancePresetGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetGet: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_preset_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetGet: %s\n" % e)

Parameters

Responses

Status: 200 - On success return preset list

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetPatch

Load a preset in a device set


/sdrangel/preset

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/preset"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | Load preset settings to the device set
        try {
            PresetIdentifier result = apiInstance.instancePresetPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | Load preset settings to the device set
        try {
            PresetIdentifier result = apiInstance.instancePresetPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPatch");
            e.printStackTrace();
        }
    }
}
PresetTransfer *body = ; // Load preset settings to the device set

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instancePresetPatchWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetTransfer} Load preset settings to the device set


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instancePresetPatch(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instancePresetPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetTransfer(); // PresetTransfer | Load preset settings to the device set

            try
            {
                PresetIdentifier result = apiInstance.instancePresetPatch(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instancePresetPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetTransfer | Load preset settings to the device set

try {
    $result = $api_instance->instancePresetPatch($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | Load preset settings to the device set

eval { 
    my $result = $api_instance->instancePresetPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetPatch: $@\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.InstanceApi()
body =  # PresetTransfer | Load preset settings to the device set

try: 
    api_response = api_instance.instance_preset_patch(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetPatch: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the selected preset identification is returned

Status: 400 - Invalid JSON request or preset type and device set type mismatch

Status: 404 - No preset or device set found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetPost

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


/sdrangel/preset

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/preset"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings on a new preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings on a new preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPost");
            e.printStackTrace();
        }
    }
}
PresetTransfer *body = ; // save device set settings on a new preset

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instancePresetPostWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetTransfer} save device set settings on a new preset


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instancePresetPost(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instancePresetPostExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetTransfer(); // PresetTransfer | save device set settings on a new preset

            try
            {
                PresetIdentifier result = apiInstance.instancePresetPost(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instancePresetPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetTransfer | save device set settings on a new preset

try {
    $result = $api_instance->instancePresetPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | save device set settings on a new preset

eval { 
    my $result = $api_instance->instancePresetPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetPost: $@\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.InstanceApi()
body =  # PresetTransfer | save device set settings on a new preset

try: 
    api_response = api_instance.instance_preset_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the created preset identification is returned

Status: 400 - Invalid JSON request

Status: 404 - Device set not found

Status: 409 - Preset already exists

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetPut

Update an existing preset with device set settings.


/sdrangel/preset

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/preset"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings to the preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings to the preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPut");
            e.printStackTrace();
        }
    }
}
PresetTransfer *body = ; // save device set settings to the preset

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instancePresetPutWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetTransfer} save device set settings to the preset


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instancePresetPut(body, callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instancePresetPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetTransfer(); // PresetTransfer | save device set settings to the preset

            try
            {
                PresetIdentifier result = apiInstance.instancePresetPut(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instancePresetPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetTransfer | save device set settings to the preset

try {
    $result = $api_instance->instancePresetPut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | save device set settings to the preset

eval { 
    my $result = $api_instance->instancePresetPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetPut: $@\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.InstanceApi()
body =  # PresetTransfer | save device set settings to the preset

try: 
    api_response = api_instance.instance_preset_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetPut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the selected preset identification is returned

Status: 400 - Invalid JSON request

Status: 404 - No preset or device set found

Status: 500 - Error

Status: 501 - Function not implemented


instanceSummary

SDRangel instance summary


/sdrangel

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

import java.io.File;
import java.util.*;

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            InstanceSummaryResponse result = apiInstance.instanceSummary();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceSummary");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        try {
            InstanceSummaryResponse result = apiInstance.instanceSummary();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceSummary");
            e.printStackTrace();
        }
    }
}

InstanceApi *apiInstance = [[InstanceApi alloc] init];

[apiInstance instanceSummaryWithCompletionHandler: 
              ^(InstanceSummaryResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.instanceSummary(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

namespace Example
{
    public class instanceSummaryExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

            try
            {
                InstanceSummaryResponse result = apiInstance.instanceSummary();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling InstanceApi.instanceSummary: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\InstanceApi();

try {
    $result = $api_instance->instanceSummary();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceSummary: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceSummary();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceSummary: $@\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.InstanceApi()

try: 
    api_response = api_instance.instance_summary()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceSummary: %s\n" % e)

Parameters

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


Generated 2021-07-12T19:39:02.669+02:00