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
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 session. This also means that if you
disconnect from a session, you have to re-register all expres-
sions after reconnecting.
You can register up to 38 expressions.
SX20 Codec API Reference Guide CE8.1, APRIL 2016.
D15316.03
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
*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.
xCommand
on the command line the result is:
31
API Reference Guide
xStatus
Appendices
Example: Managing feedback subscriptions
A: Register feedback expressions.
xFeedback register /Status/Audio
Write in:
** end
Result:
OK
xFeedback register /Event/CallDisconnect
Write in:
** end
Result:
OK
xFeedback register /Configuration/Video/
Write in:
MainVideoSource
** end
Result:
OK
B: List out currently registered expressions.
xFeedback list
Write in:
/Configuration/Video/MainVideoSource
Result:
/Event/CallDisconnect
/Status/Audio
** end
OK
C: Deregister feedback expressions.
xFeedback deregister /Event/
Write in:
CallDisconnect
** end
Result:
OK
xFeedback deregister /Status/Audio
Write in:
** end
Result:
OK
D: List the new feedback expressions.
xFeedback list
Write in:
/Configuration/Video/MainVideoSource
Result:
** end
OK
Copyright © 2016 Cisco Systems, Inc. All rights reserved.

Advertisement

Table of Contents
loading

Table of Contents