D14869.11
Codec C20 API Reference Guide TC7.0, JANUARY 2014.
Copyright © 2010–2014 Cisco Systems, Inc. All rights reserved.
11
Cisco TelePresence System Codec C20
API Reference Guide
Searching
You can use
//
to search for elements anywhere in the status or
configuration hierarchy (Example 1).
You can also combine multiple
//
’s (Example 2).
WARNING:
The search shortcuts work well for inspecting the API, but
should not be used in applications. We recommend that you always
use the complete paths to avoid command ambiguity when upgrading
to newer firmware releases.
Value types and formats
The system supports the following value types (Example 3):
•
Integer values: <x..y>
Defines the valid range for an integer input. x = min value, y = max
value.
•
Literal values: <X/Y/../Z>
Defines the possible values for a given configuration.
•
String values: <S: x, y>
Defines that the valid input for this configuration is a string with
minimum length of x and maximum length of y characters. Strings
can have rules that further specify their format and length.
Input values that contain spaces need to be quoted
Any values for configurations and commands containing spaces must
be enclosed in quotes. Quotes are not necessary for values without
spaces.
Examples:
xCommand dial number: “my number contains spaces”
xCommand dial number: 12345
Case sensitivity
All commands are case-insensitive. All of the following commands will
work.
XCOMMAND DIAL NUMBER: [email protected]
xcommand dial number: [email protected]
xCommand Dial Number: [email protected]
Example 1: List all configurations that include a word that starts with DVI:
xConfiguration //dvi
*c xConfiguration Video Input DVI 2 RGBQuantizationRange: Full
*c xConfiguration Video Input DVI 2 Type: AutoDetect
** end
Example 2: Get the resolution width of all connected sources for both inputs and outputs:
xStatus //vid//res//wid
*s Video Input Source 1 Resolution Width: 0
*s Video Input Source 2 Resolution Width: 0
*s Video Output HDMI 1 Resolution Width: 1280
*s Video Output HDMI 2 Resolution Width: 1680
** end
Example 3: List the value types and formats
xConfiguration ??
*? xConfiguration Audio EcReferenceDelay Mode: <Off/Fixed>
*? xConfiguration Audio EcReferenceDelay Delay: <0..250>
*? xConfiguration Audio Microphones Mute Enabled: <True/InCallOnly>
.
.
.
*? xConfiguration Video Output HDMI [1..2] OverscanLevel: <Medium/High/None>
*? xConfiguration Video Output HDMI [1..2] CEC Mode: <Off/On>
*? xConfiguration Video Output HDMI[2] MonitorRole: <Auto/First/Second/PresentationOnly>
OK
Contents
Introduction
About the API
xConfiguration
Appendices
xCommand
xStatus
About the API