
A short example of how to use the subscription
In the following, an example is presented, how the subscriptions are working and how to
use them. In the example, there are two independent users controlling the device through
two independent connections (‘Connection #1’ and ‘Connection #2’). The events in the
rows occur after each other.
Connection
#1
˃
OPEN /MEDIA/VIDEO/XP
˂
o- /MEDIA/VIDEO/XP
˃
GET /MEDIA/VIDEO/XP.DestinationConnectionList
˂
pr /MEDIA/VIDEO/XP.DestinationConnectionList=I2;I3;I2;I3
Connection
#2
˃
GET /MEDIA/VIDEO/XP.DestinationConnectionList
˂
pr /MEDIA/VIDEO/XP.DestinationConnectionList=I2;I3;I2;I3
˃
CALL /MEDIA/VIDEO/XP:switch(I1:O1)
˂
mO /MEDIA/VIDEO/XP:switch
Connection
#1
˂
CHG /MEDIA/VIDEO/XP.DestinationConnectionList=I1;I3;I1;I3
Explanation
: The first user (Connection #1) set a subscription to a node. Later the other
user (Connection #2) made a change, and thanks for the subscription, the first user got a
notification about the change.
8.4.
Formal definitions
Method parameters and property values
are specified in a modified version of Backus Naur
Form (BNF). The syntax is the following:
“literal”
literals are quoted
<expression1>|<expression2>
vertical bars denote alternatives
[<expression>]
expressions in square brackets are optional
<number>*[<expression>]
expression is repeated at least <number>
times
*[<expression>]
<number> may be omitted, in this case number
defaults to 0
<number>*{<expression>}
expressions in curly brackets are repeated
exactly <number> times
In
Input port number
Om
Output port number
8.5. Video port and crosspoint settings
INFO
The settings described in the coming sections depend on the device as the output port
numbers are different. Port numbers are listed in section
on page
8.5.1. Query the video crosspoint setting
Command format
: GET●/MEDIA/VIDEO/XP.DestinationConnectionList
Response format
: pr●/MEDIA/VIDEO/XP.DestinationConnectionList=<I
1
>:<O
1
>;
<I
n
>:<O
m
>
Legend
:
<I
n
>:
Video input port number
<O
n
>:
Video output port number
Page 72 / 106
LW3 programmers' reference
Содержание HDMI-3D-OPT-TX210A
Страница 1: ...HDMI 3D OPT TX210A HDMI 3D OPT TX210RAK SW4 OPT TX240RAK User s manual ...
Страница 2: ......