devicesetDeviceSubsystemRunDelete
+ +stop device for a multi-subsystem device (Rx/Tx combination i.e. MIMO)
+ ++
/sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run
+ +
Usage and SDK Samples
+ + + +curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/subdevice/{subsystemIndex}/run"
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.DeviceSetApi;
+
+import java.io.File;
+import java.util.*;
+
+public class DeviceSetApiExample {
+
+ public static void main(String[] args) {
+
+ DeviceSetApi apiInstance = new DeviceSetApi();
+ Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
+ DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
+ try {
+ DeviceState result = apiInstance.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunDelete");
+ e.printStackTrace();
+ }
+ }
+}
+ import SWGSDRangel.api.DeviceSetApi;
+
+public class DeviceSetApiExample {
+
+ public static void main(String[] args) {
+ DeviceSetApi apiInstance = new DeviceSetApi();
+ Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ Integer subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
+ DeviceSettings body = ; // DeviceSettings | Originator information in the reverse API case
+ try {
+ DeviceState result = apiInstance.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSubsystemRunDelete");
+ e.printStackTrace();
+ }
+ }
+}
+ Integer *deviceSetIndex = 56; // Index of device set in the device set list
+Integer *subsystemIndex = 56; // Index of subsystem (0 for Rx, 1 for Tx)
+DeviceSettings *body = ; // Originator information in the reverse API case (optional)
+
+DeviceSetApi *apiInstance = [[DeviceSetApi alloc] init];
+
+[apiInstance devicesetDeviceSubsystemRunDeleteWith:deviceSetIndex
+ subsystemIndex:subsystemIndex
+ body:body
+ completionHandler: ^(DeviceState output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var SdRangel = require('sd_rangel');
+
+var api = new SdRangel.DeviceSetApi()
+
+var deviceSetIndex = 56; // {Integer} Index of device set in the device set list
+
+var subsystemIndex = 56; // {Integer} Index of subsystem (0 for Rx, 1 for Tx)
+
+var opts = {
+ 'body': // {DeviceSettings} Originator information in the reverse API case
+};
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, opts, callback);
+
+ using System;
+using System.Diagnostics;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
+
+namespace Example
+{
+ public class devicesetDeviceSubsystemRunDeleteExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new DeviceSetApi();
+ var deviceSetIndex = 56; // Integer | Index of device set in the device set list
+ var subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
+ var body = new DeviceSettings(); // DeviceSettings | Originator information in the reverse API case (optional)
+
+ try
+ {
+ DeviceState result = apiInstance.devicesetDeviceSubsystemRunDelete(deviceSetIndex, subsystemIndex, body);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSubsystemRunDelete: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\Api\DeviceSetApi();
+$deviceSetIndex = 56; // Integer | Index of device set in the device set list
+$subsystemIndex = 56; // Integer | Index of subsystem (0 for Rx, 1 for Tx)
+$body = ; // DeviceSettings | Originator information in the reverse API case
+
+try {
+ $result = $api_instance->devicesetDeviceSubsystemRunDelete($deviceSetIndex, $subsystemIndex, $body);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunDelete: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::DeviceSetApi;
+
+my $api_instance = SWGSDRangel::DeviceSetApi->new();
+my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
+my $subsystemIndex = 56; # Integer | Index of subsystem (0 for Rx, 1 for Tx)
+my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Originator information in the reverse API case
+
+eval {
+ my $result = $api_instance->devicesetDeviceSubsystemRunDelete(deviceSetIndex => $deviceSetIndex, subsystemIndex => $subsystemIndex, body => $body);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunDelete: $@\n";
+}
+ from __future__ import print_statement
+import time
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = swagger_sdrangel.DeviceSetApi()
+deviceSetIndex = 56 # Integer | Index of device set in the device set list
+subsystemIndex = 56 # Integer | Index of subsystem (0 for Rx, 1 for Tx)
+body = # DeviceSettings | Originator information in the reverse API case (optional)
+
+try:
+ api_response = api_instance.deviceset_device_subsystem_run_delete(deviceSetIndex, subsystemIndex, body=body)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling DeviceSetApi->devicesetDeviceSubsystemRunDelete: %s\n" % e)
+ Parameters
+ +Name | +Description | +
---|---|
deviceSetIndex* | +
+
+
+
+
+
+
+
+
+ Integer
+
+
+
+
+ Index of device set in the device set list
+
+
+ Required
+
+ |
+
subsystemIndex* | +
+
+
+
+
+
+
+
+
+ Integer
+
+
+
+
+ Index of subsystem (0 for Rx, 1 for Tx)
+
+
+ Required
+
+ |
+
Name | +Description | +
---|---|
body | ++ + + + + | +