instanceDVSerialGet
- -Get DV serial processing parameters for AMBE frames decoding in digital voice modes
- --
/sdrangel/dvserial
- -
Usage and SDK Samples
- - - -curl -X GET "http://localhost/sdrangel/dvserial"
- import SWGSDRangel.*;
-import SWGSDRangel.auth.*;
-import SWGSDRangel.model.*;
-import SWGSDRangel.api.InstanceApi;
-
-import java.io.File;
-import java.util.*;
-
-public class InstanceApiExample {
-
- public static void main(String[] args) {
-
- InstanceApi apiInstance = new InstanceApi();
- try {
- DVSeralDevices result = apiInstance.instanceDVSerialGet();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling InstanceApi#instanceDVSerialGet");
- e.printStackTrace();
- }
- }
-}
- import SWGSDRangel.api.InstanceApi;
-
-public class InstanceApiExample {
-
- public static void main(String[] args) {
- InstanceApi apiInstance = new InstanceApi();
- try {
- DVSeralDevices result = apiInstance.instanceDVSerialGet();
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling InstanceApi#instanceDVSerialGet");
- e.printStackTrace();
- }
- }
-}
-
-InstanceApi *apiInstance = [[InstanceApi alloc] init];
-
-[apiInstance instanceDVSerialGetWithCompletionHandler:
- ^(DVSeralDevices 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.instanceDVSerialGet(callback);
-
- using System;
-using System.Diagnostics;
-using SWGSDRangel.Api;
-using SWGSDRangel.Client;
-using SWGSDRangel.Model;
-
-namespace Example
-{
- public class instanceDVSerialGetExample
- {
- public void main()
- {
-
- var apiInstance = new InstanceApi();
-
- try
- {
- DVSeralDevices result = apiInstance.instanceDVSerialGet();
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling InstanceApi.instanceDVSerialGet: " + e.Message );
- }
- }
- }
-}
-
- <?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\Api\InstanceApi();
-
-try {
- $result = $api_instance->instanceDVSerialGet();
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling InstanceApi->instanceDVSerialGet: ', $e->getMessage(), PHP_EOL;
-}
-?>
- use Data::Dumper;
-use SWGSDRangel::Configuration;
-use SWGSDRangel::InstanceApi;
-
-my $api_instance = SWGSDRangel::InstanceApi->new();
-
-eval {
- my $result = $api_instance->instanceDVSerialGet();
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling InstanceApi->instanceDVSerialGet: $@\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_dv_serial_get()
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling InstanceApi->instanceDVSerialGet: %s\n" % e)
-