SDRangel

DeviceSet

devicesetChannelDelete

delete channel (server only)


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

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of channel in the channels list
        try {
            ChannelSettings result = apiInstance.devicesetChannelDelete(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of channel in the channels list
        try {
            ChannelSettings result = apiInstance.devicesetChannelDelete(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelDelete");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of channel in the channels list

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var channelIndex = 56; // {Integer} Index of channel in the channels list


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

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

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$channelIndex = 56; // Integer | Index of channel in the channels list

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $channelIndex = 56; # Integer | Index of channel in the channels list

eval { 
    my $result = $api_instance->devicesetChannelDelete(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
channelIndex = 56 # Integer | Index of channel in the channels list

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

Parameters

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

Responses

Status: 200 - On success return deleted channel settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelPost

add a channel


/sdrangel/deviceset/{deviceSetIndex}/channel

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

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

public class DeviceSetApiExample {

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

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var body = ; // {ChannelSettings} Channel identification (no settings data)


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

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

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // ChannelSettings | Channel identification (no settings data)

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::ChannelSettings->new(); # ChannelSettings | Channel identification (no settings data)

eval { 
    my $result = $api_instance->devicesetChannelPost(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body =  # ChannelSettings | Channel identification (no settings data)

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

Parameters

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

Responses

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

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelReportGet

get a channel report


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

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/report"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelReport result = apiInstance.devicesetChannelReportGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelReportGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelReport result = apiInstance.devicesetChannelReportGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelReportGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set


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

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

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set

eval { 
    my $result = $api_instance->devicesetChannelReportGet(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelReportGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set

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

Parameters

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

Responses

Status: 200 - On success return channel report

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelSettingsGet

get a channel settings


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

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set


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

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

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set

eval { 
    my $result = $api_instance->devicesetChannelSettingsGet(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelSettingsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set

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

Parameters

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

Responses

Status: 200 - On success return channel settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelSettingsPatch

apply settings differentially (no force)


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

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPatch");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set
ChannelSettings *body = ; // Channel settings to apply

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

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


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

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

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
$body = ; // ChannelSettings | Channel settings to apply

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set
my $body = SWGSDRangel::Object::ChannelSettings->new(); # ChannelSettings | Channel settings to apply

eval { 
    my $result = $api_instance->devicesetChannelSettingsPatch(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelSettingsPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set
body =  # ChannelSettings | Channel settings to apply

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

Parameters

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

Responses

Status: 200 - On success return channel new settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelSettingsPut

apply all settings unconditionally (force)


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

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPut");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set
ChannelSettings *body = ; // Channel settings to apply

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

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


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

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

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
$body = ; // ChannelSettings | Channel settings to apply

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set
my $body = SWGSDRangel::Object::ChannelSettings->new(); # ChannelSettings | Channel settings to apply

eval { 
    my $result = $api_instance->devicesetChannelSettingsPut(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelSettingsPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set
body =  # ChannelSettings | Channel settings to apply

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

Parameters

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

Responses

Status: 200 - On success return channel new settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelsReportGet

get channels report


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

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channels/report"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

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

public class DeviceSetApiExample {

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

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

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

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

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

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

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

eval { 
    my $result = $api_instance->devicesetChannelsReportGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelsReportGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

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

Parameters

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

Responses

Status: 200 - On success return channels report information

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDevicePut

Set the device used in the device set


/sdrangel/deviceset/{deviceSetIndex}/device

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.
        try {
            DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDevicePut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.
        try {
            DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDevicePut");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceListItem *body = ; // Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var body = ; // {DeviceListItem} Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.


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

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

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::DeviceListItem->new(); # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

eval { 
    my $result = $api_instance->devicesetDevicePut(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDevicePut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body =  # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and deviceŃbStreams are ignored. Rx is assumed by default.

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

Parameters

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

Responses

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

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

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

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceReportGet

get the device report


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

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/report"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

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

public class DeviceSetApiExample {

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

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

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

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

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

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

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

eval { 
    my $result = $api_instance->devicesetDeviceReportGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceReportGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

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

Parameters

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

Responses

Status: 200 - On success return device report

Status: 400 - Invalid device set

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceRunDelete

stop device


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

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunDelete");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSettings *body = ; // Originator information in the reverse API case (optional)

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

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

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

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

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // DeviceSettings | Originator information in the reverse API case

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Originator information in the reverse API case

eval { 
    my $result = $api_instance->devicesetDeviceRunDelete(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceRunDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body =  # DeviceSettings | Originator information in the reverse API case (optional)

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

Parameters

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

Responses

Status: 200 - On success return state before change

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceRunGet

get device rune status


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

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

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

public class DeviceSetApiExample {

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

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

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

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

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

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

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

eval { 
    my $result = $api_instance->devicesetDeviceRunGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceRunGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

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

Parameters

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

Responses

Status: 200 - On success return current state

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceRunPost

start device


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

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunPost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
        try {
            DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunPost");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSettings *body = ; // Originator information in the reverse API case (optional)

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

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

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

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

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // DeviceSettings | Originator information in the reverse API case

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Originator information in the reverse API case

eval { 
    my $result = $api_instance->devicesetDeviceRunPost(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceRunPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body =  # DeviceSettings | Originator information in the reverse API case (optional)

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

Parameters

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

Responses

Status: 200 - On success return state before change

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceSettingsGet

Get device settings


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

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

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

public class DeviceSetApiExample {

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

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

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

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

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

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

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

eval { 
    my $result = $api_instance->devicesetDeviceSettingsGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

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

Parameters

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

Responses

Status: 200 - On success returns current settings values

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

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceSettingsPatch

Apply settings differentially (no force)


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

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPatch(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPatch(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPatch");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSettings *body = ; // Device settings to apply

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var body = ; // {DeviceSettings} Device settings to apply


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

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

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // DeviceSettings | Device settings to apply

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Device settings to apply

eval { 
    my $result = $api_instance->devicesetDeviceSettingsPatch(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body =  # DeviceSettings | Device settings to apply

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

Parameters

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

Responses

Status: 200 - On success returns new settings values

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

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceSettingsPut

Apply all settings unconditionally (force)


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

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPut");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSettings *body = ; // Device settings to apply

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var body = ; // {DeviceSettings} Device settings to apply


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

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

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // DeviceSettings | Device settings to apply

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Device settings to apply

eval { 
    my $result = $api_instance->devicesetDeviceSettingsPut(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body =  # DeviceSettings | Device settings to apply

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

Parameters

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

Responses

Status: 200 - On success returns new settings values

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

Status: 500 - Error

Status: 501 - Function not implemented


devicesetFocusPatch

Set focus on device set (GUI only)


/sdrangel/deviceset/{deviceSetIndex}/focus

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/focus"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

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

public class DeviceSetApiExample {

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

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

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

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

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

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

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

eval { 
    my $result = $api_instance->devicesetFocusPatch(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetFocusPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

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

Parameters

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

Responses

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

Status: 400 - Unsupported (srver instance)

Status: 404 - Invalid index

Status: 500 - Error

Status: 501 - Function not implemented


devicesetGet

Get device set information


/sdrangel/deviceset/{deviceSetIndex}

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

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

public class DeviceSetApiExample {

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

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

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

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

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

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

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

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

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

eval { 
    my $result = $api_instance->devicesetGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

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

Parameters

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

Responses

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

Status: 404 - Invalid index

Status: 500 - Error

Status: 501 - Function not implemented


instanceDeviceSetDelete

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


/sdrangel/deviceset

Usage and SDK Samples

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

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

public class DeviceSetApiExample {

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

public class DeviceSetApiExample {

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

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

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

var api = new SdRangel.DeviceSetApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceDeviceSetDelete();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->instanceDeviceSetDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()

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

Parameters

Responses

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

Status: 404 - No more device sets to be deleted

Status: 500 - Error

Status: 501 - Function not implemented


instanceDeviceSetPost

Add (append) a new device set with default values


/sdrangel/deviceset

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset?direction="
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

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

public class DeviceSetApiExample {

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

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

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

var api = new SdRangel.DeviceSetApi()

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

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceDeviceSetPost(direction => $direction);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->instanceDeviceSetPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

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

Parameters

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

Responses

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

Status: 500 - Error

Status: 501 - Function not implemented


Instance

instanceAMBEDevicesDelete

Emtpy the active devices thus effectively closing down AMBE devices support


/sdrangel/ambe/devices

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAMBEDevicesDelete();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAMBEDevicesDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

Status: 200 - Success.

Status: 500 - Error

Status: 501 - Function not implemented


instanceAMBEDevicesGet

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


/sdrangel/ambe/devices

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAMBEDevicesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAMBEDevicesGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

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

Status: 500 - Error

Status: 501 - Function not implemented


instanceAMBEDevicesPatch

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


/sdrangel/ambe/devices

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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


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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAMBEDevicesPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAMBEDevicesPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # AMBEDevices | List of AMBE devices (serial or address)

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return list of devices

Status: 500 - Error

Status: 501 - Function not implemented


instanceAMBEDevicesPut

Replace the list of active devices


/sdrangel/ambe/devices

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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


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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAMBEDevicesPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAMBEDevicesPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # AMBEDevices | List of AMBE devices (serial or address)

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return list of devices

Status: 500 - Error

Status: 501 - Function not implemented


instanceAMBESerialGet

get a list of available DV serial devices


/sdrangel/ambe/serial

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAMBESerialGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAMBESerialGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

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

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioGet

Get audio devices list available to this instance


/sdrangel/audio

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAudioGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioInputCleanupPatch

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


/sdrangel/audio/input/cleanup

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAudioInputCleanupPatch();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioInputCleanupPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

Status: 200 - Success.

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioInputDelete

Delete audio input device paramaters and return to defaults


/sdrangel/audio/input/parameters

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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


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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAudioInputDelete(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioInputDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # AudioInputDevice | Audio input parameters. Index is used to identify the device.

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success. Returns default parameters.

Status: 404 - Audio input device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioInputPatch

Set audio input device paramaters


/sdrangel/audio/input/parameters

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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


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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAudioInputPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioInputPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

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

Parameters

Body parameters
Name Description
body *

Responses

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

Status: 404 - Audio input device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioOutputCleanupPatch

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


/sdrangel/audio/output/cleanup

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAudioOutputCleanupPatch();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioOutputCleanupPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

Status: 200 - Success.

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioOutputDelete

Delete audio output device paramaters and return to defaults


/sdrangel/audio/output/parameters

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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


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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAudioOutputDelete(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioOutputDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # AudioOutputDevice | Audio output parameters. Index is used to identify the device.

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

Parameters

Body parameters
Name Description
body *

Responses

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

Status: 404 - Audio output device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioOutputPatch

Set audio output device parameters


/sdrangel/audio/output/parameters

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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


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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceAudioOutputPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioOutputPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

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

Parameters

Body parameters
Name Description
body *

Responses

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

Status: 404 - Audio output device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceChannels

Get a list of channel plugins available in this instance


/sdrangel/channels

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceChannels(direction => $direction);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceChannels: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

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

Parameters

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

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceConfigGet

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


/sdrangel/config

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceConfigGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceConfigGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceConfigPatch

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


/sdrangel/config

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

var body = ; // {InstanceConfigResponse} Config information


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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceConfigPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceConfigPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # InstanceConfigResponse | Config information

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceConfigPut

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


/sdrangel/config

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

var body = ; // {InstanceConfigResponse} Config information


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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceConfigPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceConfigPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # InstanceConfigResponse | Config information

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceDelete

Stop SDRangel instance (server only)


/sdrangel

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceDelete();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

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

Status: 400 - Unsupported (GUI instance)

Status: 500 - Error

Status: 501 - Function not implemented


instanceDeviceSetsGet

Get summary information about device sets opened in the instance


/sdrangel/devicesets

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceDeviceSetsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDeviceSetsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

Status: 200 - On success return device set list

Status: 500 - Error

Status: 501 - Function not implemented


instanceDevices

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


/sdrangel/devices

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceDevices(direction => $direction);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDevices: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
direction = 56 # Integer | 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0) (optional)

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

Parameters

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

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceLocationGet

Get instance geolocation information


/sdrangel/location

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceLocationGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLocationGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

Status: 200 - On success return location

Status: 500 - Error

Status: 501 - Function not implemented


instanceLocationPut

Set instance geolocation information


/sdrangel/location

Usage and SDK Samples

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

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        LocationInformation body = ; // LocationInformation | Location of instance in latitude and longitude
        try {
            LocationInformation result = apiInstance.instanceLocationPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLocationPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        LocationInformation body = ; // LocationInformation | Location of instance in latitude and longitude
        try {
            LocationInformation result = apiInstance.instanceLocationPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLocationPut");
            e.printStackTrace();
        }
    }
}
LocationInformation *body = ; // Location of instance in latitude and longitude

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

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

var api = new SdRangel.InstanceApi()

var body = ; // {LocationInformation} Location of instance in latitude and longitude


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

namespace Example
{
    public class instanceLocationPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new LocationInformation(); // LocationInformation | Location of instance in latitude and longitude

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // LocationInformation | Location of instance in latitude and longitude

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

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::LocationInformation->new(); # LocationInformation | Location of instance in latitude and longitude

eval { 
    my $result = $api_instance->instanceLocationPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLocationPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # LocationInformation | Location of instance in latitude and longitude

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return location

Status: 400 - Location invalid

Status: 500 - Error

Status: 501 - Function not implemented


instanceLoggingGet

Get logging information for this instance


/sdrangel/logging

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceLoggingGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLoggingGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceLoggingPut

Change logging parmeters for this instance


/sdrangel/logging

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

var body = ; // {LoggingInfo} Logging information


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

namespace Example
{
    public class instanceLoggingPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new LoggingInfo(); // LoggingInfo | Logging information

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

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

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

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

eval { 
    my $result = $api_instance->instanceLoggingPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLoggingPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # LoggingInfo | Logging information

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Return new data on success

Status: 400 - Invalid data

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetDelete

Deletes a preset


/sdrangel/preset

Usage and SDK Samples

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

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetIdentifier body = ; // PresetIdentifier | delete this preset
        try {
            PresetIdentifier result = apiInstance.instancePresetDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetIdentifier body = ; // PresetIdentifier | delete this preset
        try {
            PresetIdentifier result = apiInstance.instancePresetDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetDelete");
            e.printStackTrace();
        }
    }
}
PresetIdentifier *body = ; // delete this preset

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

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

var api = new SdRangel.InstanceApi()

var body = ; // {PresetIdentifier} delete this preset


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

namespace Example
{
    public class instancePresetDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetIdentifier(); // PresetIdentifier | delete this preset

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetIdentifier | delete this preset

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

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetIdentifier->new(); # PresetIdentifier | delete this preset

eval { 
    my $result = $api_instance->instancePresetDelete(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetIdentifier | delete this preset

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the selected preset identification is returned

Status: 400 - Invalid JSON request

Status: 404 - Preset not found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetFilePost

export a preset to file (server only).


/sdrangel/preset/file

Usage and SDK Samples

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

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetExport body = ; // PresetExport | export details
        try {
            PresetIdentifier result = apiInstance.instancePresetFilePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetFilePost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetExport body = ; // PresetExport | export details
        try {
            PresetIdentifier result = apiInstance.instancePresetFilePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetFilePost");
            e.printStackTrace();
        }
    }
}
PresetExport *body = ; // export details

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

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

var api = new SdRangel.InstanceApi()

var body = ; // {PresetExport} export details


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

namespace Example
{
    public class instancePresetFilePostExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetExport(); // PresetExport | export details

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetExport | export details

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

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetExport->new(); # PresetExport | export details

eval { 
    my $result = $api_instance->instancePresetFilePost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetFilePost: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetExport | export details

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return preset identification

Status: 400 - Invalid JSON request

Status: 404 - Preset or file path not found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetFilePut

import a preset from file as a new preset (server only).


/sdrangel/preset/file

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetImport body = ; // PresetImport | import details
        try {
            PresetIdentifier result = apiInstance.instancePresetFilePut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetFilePut");
            e.printStackTrace();
        }
    }
}
PresetImport *body = ; // import details

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

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

var api = new SdRangel.InstanceApi()

var body = ; // {PresetImport} import details


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

namespace Example
{
    public class instancePresetFilePutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetImport(); // PresetImport | import details

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetImport | import details

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

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetImport->new(); # PresetImport | import details

eval { 
    my $result = $api_instance->instancePresetFilePut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetFilePut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetImport | import details

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return preset identification

Status: 400 - Invalid JSON request

Status: 404 - File not found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetGet

List all presets in the instance


/sdrangel/presets

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instancePresetGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

Status: 200 - On success return preset list

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetPatch

Load a preset in a device set


/sdrangel/preset

Usage and SDK Samples

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

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | Load preset settings to the device set
        try {
            PresetIdentifier result = apiInstance.instancePresetPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | Load preset settings to the device set
        try {
            PresetIdentifier result = apiInstance.instancePresetPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPatch");
            e.printStackTrace();
        }
    }
}
PresetTransfer *body = ; // Load preset settings to the device set

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

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

var api = new SdRangel.InstanceApi()

var body = ; // {PresetTransfer} Load preset settings to the device set


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

namespace Example
{
    public class instancePresetPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetTransfer(); // PresetTransfer | Load preset settings to the device set

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetTransfer | Load preset settings to the device set

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

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | Load preset settings to the device set

eval { 
    my $result = $api_instance->instancePresetPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetTransfer | Load preset settings to the device set

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the selected preset identification is returned

Status: 400 - Invalid JSON request or preset type and device set type mismatch

Status: 404 - No preset or device set found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetPost

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


/sdrangel/preset

Usage and SDK Samples

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

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings on a new preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings on a new preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPost");
            e.printStackTrace();
        }
    }
}
PresetTransfer *body = ; // save device set settings on a new preset

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

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

var api = new SdRangel.InstanceApi()

var body = ; // {PresetTransfer} save device set settings on a new preset


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

namespace Example
{
    public class instancePresetPostExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetTransfer(); // PresetTransfer | save device set settings on a new preset

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetTransfer | save device set settings on a new preset

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

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | save device set settings on a new preset

eval { 
    my $result = $api_instance->instancePresetPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetTransfer | save device set settings on a new preset

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the created preset identification is returned

Status: 400 - Invalid JSON request

Status: 404 - Device set not found

Status: 409 - Preset already exists

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetPut

Update an existing preset with device set settings.


/sdrangel/preset

Usage and SDK Samples

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

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings to the preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings to the preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPut");
            e.printStackTrace();
        }
    }
}
PresetTransfer *body = ; // save device set settings to the preset

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

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

var api = new SdRangel.InstanceApi()

var body = ; // {PresetTransfer} save device set settings to the preset


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

namespace Example
{
    public class instancePresetPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetTransfer(); // PresetTransfer | save device set settings to the preset

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetTransfer | save device set settings to the preset

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

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | save device set settings to the preset

eval { 
    my $result = $api_instance->instancePresetPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetTransfer | save device set settings to the preset

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

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the selected preset identification is returned

Status: 400 - Invalid JSON request

Status: 404 - No preset or device set found

Status: 500 - Error

Status: 501 - Function not implemented


instanceSummary

SDRangel instance summary


/sdrangel

Usage and SDK Samples

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

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

public class InstanceApiExample {

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

public class InstanceApiExample {

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

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

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

var api = new SdRangel.InstanceApi()

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

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

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

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

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

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

eval { 
    my $result = $api_instance->instanceSummary();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceSummary: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

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

Parameters

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


Generated 2019-09-22T20:19:36.344+02:00