SDRangel

DeviceSet

devicesetChannelDelete

delete channel


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

Usage and SDK Samples

curl -X DELETE "http://localhost:8091/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 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:8091/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 {
            ChannelSettings 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 {
            ChannelSettings 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: ^(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 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
            {
                ChannelSettings 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: 200 - On success return new channel settings

Status: 400 - Invalid device set index

Status: 404 - Device 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:8091/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 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:8091/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.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex);
            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
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex);
            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

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

[apiInstance devicesetChannelSettingsPatchWith: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.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, 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

            try
            {
                ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex);
                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

try {
    $result = $api_instance->devicesetChannelSettingsPatch($deviceSetIndex, $channelIndex);
    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

eval { 
    my $result = $api_instance->devicesetChannelSettingsPatch(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
    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

try: 
    api_response = api_instance.deviceset_channel_settings_patch(deviceSetIndex, channelIndex)
    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

Responses

Status: 200 - On success return channel new settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device 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:8091/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.devicesetChannelSettingsPut(deviceSetIndex, channelIndex);
            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
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex);
            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

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

[apiInstance devicesetChannelSettingsPutWith: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.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, 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

            try
            {
                ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex);
                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

try {
    $result = $api_instance->devicesetChannelSettingsPut($deviceSetIndex, $channelIndex);
    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

eval { 
    my $result = $api_instance->devicesetChannelSettingsPut(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
    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

try: 
    api_response = api_instance.deviceset_channel_settings_put(deviceSetIndex, channelIndex)
    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

Responses

Status: 200 - On success return channel new settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel 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:8091/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. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.
        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. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.
        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. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.

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. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.


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. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.

            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. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.

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. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.

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. Give values for only the fields you want to search for among displayedName, hwType, serial, sequence and deviceSetIndex. For integers except tx set to -1 to ignore the field. It will match the first device found.

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: 200 - On success return details on the selected device

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


devicesetDeviceRunDelete

stop device


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

Usage and SDK Samples

curl -X DELETE "http://localhost:8091/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.devicesetDeviceRunDelete(deviceSetIndex);
            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
        try {
            DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex);
            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

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

[apiInstance devicesetDeviceRunDeleteWith: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.devicesetDeviceRunDelete(deviceSetIndex, 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

            try
            {
                DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex);
                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

try {
    $result = $api_instance->devicesetDeviceRunDelete($deviceSetIndex);
    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

eval { 
    my $result = $api_instance->devicesetDeviceRunDelete(deviceSetIndex => $deviceSetIndex);
    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

try: 
    api_response = api_instance.deviceset_device_run_delete(deviceSetIndex)
    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

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 rune status


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

Usage and SDK Samples

curl -X GET "http://localhost:8091/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


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

Usage and SDK Samples

curl -X POST "http://localhost:8091/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.devicesetDeviceRunPost(deviceSetIndex);
            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
        try {
            DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex);
            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

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

[apiInstance devicesetDeviceRunPostWith: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.devicesetDeviceRunPost(deviceSetIndex, 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

            try
            {
                DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex);
                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

try {
    $result = $api_instance->devicesetDeviceRunPost($deviceSetIndex);
    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

eval { 
    my $result = $api_instance->devicesetDeviceRunPost(deviceSetIndex => $deviceSetIndex);
    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

try: 
    api_response = api_instance.deviceset_device_run_post(deviceSetIndex)
    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

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:8091/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:8091/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:8091/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


devicesetGet

Get device set information


/sdrangel/deviceset/{deviceSetIndex}

Usage and SDK Samples

curl -X GET "http://localhost:8091/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


Instance

instanceAudioGet

Get audio devices list available to this instance


/sdrangel/audio

Usage and SDK Samples

curl -X GET "http://localhost:8091/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


instanceAudioPatch

Set audio devices


/sdrangel/audio

Usage and SDK Samples

curl -X PATCH "http://localhost:8091/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();
        AudioDevicesSelect body = ; // AudioDevicesSelect | Select audio devices to use for this instance
        try {
            AudioDevicesSelect result = apiInstance.instanceAudioPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        AudioDevicesSelect body = ; // AudioDevicesSelect | Select audio devices to use for this instance
        try {
            AudioDevicesSelect result = apiInstance.instanceAudioPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioPatch");
            e.printStackTrace();
        }
    }
}
AudioDevicesSelect *body = ; // Select audio devices to use for this instance

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

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

var api = new SdRangel.InstanceApi()

var body = ; // {AudioDevicesSelect} Select audio devices to use for this instance


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

namespace Example
{
    public class instanceAudioPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new AudioDevicesSelect(); // AudioDevicesSelect | Select audio devices to use for this instance

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AudioDevicesSelect | Select audio devices to use for this instance

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

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::AudioDevicesSelect->new(); # AudioDevicesSelect | Select audio devices to use for this instance

eval { 
    my $result = $api_instance->instanceAudioPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioPatch: $@\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 =  # AudioDevicesSelect | Select audio devices to use for this instance

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

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:8091/sdrangel/channels?tx="
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 tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
        try {
            InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
            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 tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
        try {
            InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceChannels");
            e.printStackTrace();
        }
    }
}
Integer *tx = 56; // Set to non zero (true) for Tx channels (default Rx) (optional)

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

[apiInstance instanceChannelsWith:tx
              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 = { 
  'tx': 56 // {Integer} Set to non zero (true) for Tx channels (default Rx)
};

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 tx = 56;  // Integer | Set to non zero (true) for Tx channels (default Rx) (optional) 

            try
            {
                InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
                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();
$tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)

try {
    $result = $api_instance->instanceChannels($tx);
    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 $tx = 56; # Integer | Set to non zero (true) for Tx channels (default Rx)

eval { 
    my $result = $api_instance->instanceChannels(tx => $tx);
    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()
tx = 56 # Integer | Set to non zero (true) for Tx channels (default Rx) (optional)

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

Parameters

Query parameters
Name Description
tx
Integer
Set to non zero (true) for Tx channels (default Rx)

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceDVSerialPatch

Set or reset DV serial processing for AMBE frames decoding in digital voice modes


/sdrangel/dvserial

Usage and SDK Samples

curl -X PATCH "http://localhost:8091/sdrangel/dvserial?dvserial="
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 dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing
        try {
            DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDVSerialPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        Integer dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing
        try {
            DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDVSerialPatch");
            e.printStackTrace();
        }
    }
}
Integer *dvserial = 56; // Set to non zero (true) to set DV serial processing (optional)

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

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

var api = new SdRangel.InstanceApi()

var opts = { 
  'dvserial': 56 // {Integer} Set to non zero (true) to set DV serial processing
};

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

namespace Example
{
    public class instanceDVSerialPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var dvserial = 56;  // Integer | Set to non zero (true) to set DV serial processing (optional) 

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing

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

my $api_instance = SWGSDRangel::InstanceApi->new();
my $dvserial = 56; # Integer | Set to non zero (true) to set DV serial processing

eval { 
    my $result = $api_instance->instanceDVSerialPatch(dvserial => $dvserial);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDVSerialPatch: $@\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()
dvserial = 56 # Integer | Set to non zero (true) to set DV serial processing (optional)

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

Parameters

Query parameters
Name Description
dvserial
Integer
Set to non zero (true) to set DV serial processing

Responses

Status: 200 - On success return list of devices or empty list if unset

Status: 500 - Error

Status: 501 - Function not implemented


instanceDeviceSetsDelete

Remove last device set except the first device


/sdrangel/devicesets

Usage and SDK Samples

curl -X DELETE "http://localhost:8091/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.instanceDeviceSetsDelete();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDeviceSetsDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

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

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

[apiInstance instanceDeviceSetsDeleteWithCompletionHandler: 
              ^(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.instanceDeviceSetsDelete(callback);
using System;
using System.Diagnostics;
using SWGSDRangel.Api;
using SWGSDRangel.Client;
using SWGSDRangel.Model;

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

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

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

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

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

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

Parameters

Responses

Status: 200 - On success return new list of device sets

Status: 404 - No more device sets to be deleted

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:8091/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


instanceDeviceSetsPost

Add (append) a new device set with default values


/sdrangel/devicesets

Usage and SDK Samples

curl -X POST "http://localhost:8091/sdrangel/devicesets?tx="
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 tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
        try {
            DeviceSet result = apiInstance.instanceDeviceSetsPost(tx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDeviceSetsPost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
        try {
            DeviceSet result = apiInstance.instanceDeviceSetsPost(tx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDeviceSetsPost");
            e.printStackTrace();
        }
    }
}
Integer *tx = 56; // Set to non zero (true) for a Tx device set (default Rx) (optional)

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

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

var api = new SdRangel.InstanceApi()

var opts = { 
  'tx': 56 // {Integer} Set to non zero (true) for a Tx device set (default Rx)
};

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

namespace Example
{
    public class instanceDeviceSetsPostExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var tx = 56;  // Integer | Set to non zero (true) for a Tx device set (default Rx) (optional) 

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)

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

my $api_instance = SWGSDRangel::InstanceApi->new();
my $tx = 56; # Integer | Set to non zero (true) for a Tx device set (default Rx)

eval { 
    my $result = $api_instance->instanceDeviceSetsPost(tx => $tx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDeviceSetsPost: $@\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()
tx = 56 # Integer | Set to non zero (true) for a Tx device set (default Rx) (optional)

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

Parameters

Query parameters
Name Description
tx
Integer
Set to non zero (true) for a Tx device set (default Rx)

Responses

Status: 200 - On success return new device set

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:8091/sdrangel/devices?tx="
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 tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
        try {
            InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
            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 tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
        try {
            InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDevices");
            e.printStackTrace();
        }
    }
}
Integer *tx = 56; // Set to non zero (true) for Tx direction (default Rx) (optional)

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

[apiInstance instanceDevicesWith:tx
              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 = { 
  'tx': 56 // {Integer} Set to non zero (true) for Tx direction (default Rx)
};

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 tx = 56;  // Integer | Set to non zero (true) for Tx direction (default Rx) (optional) 

            try
            {
                InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
                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();
$tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)

try {
    $result = $api_instance->instanceDevices($tx);
    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 $tx = 56; # Integer | Set to non zero (true) for Tx direction (default Rx)

eval { 
    my $result = $api_instance->instanceDevices(tx => $tx);
    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()
tx = 56 # Integer | Set to non zero (true) for Tx direction (default Rx) (optional)

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

Parameters

Query parameters
Name Description
tx
Integer
Set to non zero (true) for Tx direction (default Rx)

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceLocationGet

Get instance geolocation information


/sdrangel/location

Usage and SDK Samples

curl -X GET "http://localhost:8091/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:8091/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:8091/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:8091/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:8091/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: 200 - On success return deleted preset identification

Status: 400 - Invalid JSON request

Status: 404 - Preset not found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetGet

List all presets in the instance


/sdrangel/preset

Usage and SDK Samples

curl -X GET "http://localhost:8091/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();
        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:8091/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: 200 - On success return preset identification

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:8091/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: 200 - On success return preset identification

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 device set settings on an existing preset.


/sdrangel/preset

Usage and SDK Samples

curl -X PUT "http://localhost:8091/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: 200 - On success return preset identification

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:8091/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 2017-12-15T18:29:32.547+01:00