Terminal Connections - Cisco TelePresence SX20 Codec Reference Manual

Application programming interface (api)
Hide thumbs Also See for TelePresence SX20 Codec:
Table of Contents

Advertisement

Cisco TelePresence SX20 Codec
Contents
Introduction

Terminal connections

Managing feedback subscriptions
To register, list and deregister feedback expressions you
use the command xFeedback and its corresponding sub
commands.
The registered expressions are only valid for the currently
active connection. If you open two Telnet sessions and
register to get feedback in one session, you do not receive
feedback in the other serssion. This also means that if
you disconnect from a session, you have to re-register all
expressions after reconnecting.
You can register up to 38 expressions.
SX20 Codec API Reference Guide TC6.2, JULY 2013.
D14949.04
About the API
About the API
xConfiguration
Feedback output
The feedback output is exactly the same as you get
when querying the system using the xConfiguration
and xStatus commands. E.g., if you issue the command
xStatus Standby Active on the command line the result is:
*s Standby Active: On
** end
If you have registered for feedback on status changes the
feedback you get when the system goes to standby-mode
will be exactly the same:
*s Standby Active: On
** end
This means that when you are programming against the
device you only need to handle one format.
19
xCommand
xStatus
Example: Managing feedback subscriptions
A: Register feedback expressions.
Write in: xFeedback register /Status/Audio
Result:
** end
OK
Write in: xFeedback register /Event/CallDisconnect
** end
Result:
OK
Write in: xFeedback register /Configuration/Video/
MainVideoSource
Result:
** end
OK
B: List out currently registered expressions.
Write in: xFeedback list
/Configuration/Video/MainVideoSource
Result:
/Event/CallDisconnect
/Status/Audio
** end
OK
C: Deregister feedback expressions.
Write in: xFeedback deregister /Event/CallDisconnect
** end
Result:
OK
Write in: xFeedback deregister /Status/Audio
** end
Result:
OK
D: List the new feedback expressions.
Write in: xFeedback list
Result:
/Configuration/Video/MainVideoSource
** end
OK
Copyright © 2013 Cisco Systems, Inc. All rights reserved.
API Reference Guide
Appendices

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents