Signature; Subscription; Notificationsaboutthechangesoftheproperties; Legendforthecontrolcommands - Lightware HDMI-TPS-RX110AY Series User Manual

Hdbaset multimedia extender
Table of Contents

Advertisement

 
7.LW3Programmers'Reference
7.3.7. Signature
DEFINITION:

The signature is a four-digit-long hexadecimal value that can be optionally placed before
every command to keep a command and the corresponding responses together as a group.
Eachlineisterminatedwithacarriagereturn(Cr,'\r')andlinefeed(Lf,'\n')characters.Inseveralcasesthe
number of the lines in the response cannot be determined in advance, e.g. the client intends to receive for the
whole response and also wants to be sure, that the received lines belong together and to the same command.
In these cases, a special feature the 'signature' can be used. The response to that particular command will
alsobeprecededbythesignature,andthecorrespondinglineswillbebetweenbrackets:
Î 1700#GET/EDID.*
Í {1700
Í pr/EDID.EdidStatus=D1:E1
Í m-/EDID:copy
Í m-/EDID:delete
Í m-/EDID:reset
Í m-/EDID:switch
Í m-/EDID:switchAll
Í }
INFO:

ThelinesofthesignaturearealsoCrandLfterminated.
7.3.8. Subscription

DEFINITION:
Subscriptiontoanodemeansthattheuserwillgetanotificationifapropertyofthenode
changes.
Ausercansubscribetoanynode.Thesenotificationsareasynchronousmessagesandareusefultokeepthe
clientapplicationuptodate,withouthavingtoperiodicallypollthenodetodetectachangedproperty.When
the user does not want to be informed about the changes anymore, he can simply unsubscribe from the node.
ATTENTION!

The subscriptions are handled separately for connections. Hence, if the connection is
terminated all registered subscriptions are deleted. After reopening a connection all subscribe commands
havetobesentinordertogetthenotificationsofthechangesonthatconnection.
Subscribe to a Node
Î OPEN/MEDIA/VIDEO
Í o-/MEDIA/VIDEO
Get the Active Subscriptions
Î OPEN
Í o-/MEDIA/VIDEO
Í o-/EDID
Í o-/DISCOVERY
HDMI-TPS-RX110AY series – User's Manual
Subscribe to Multiple Nodes
Î OPEN/MEDIA/VIDEO/*
Í o-/MEDIA/VIDEO/*
Unsubscribe from a Node
Î CLOSE/MEDIA/VIDEO
Í c-/MEDIA/VIDEO
Unsubscribe from Multiple Nodes
Î CLOSE/MEDIA/VIDEO/*
Í c-/MEDIA/VIDEO/*
Appliedfirmwarepackage:v1.4.0 | LDCsoftware:v2.4.0b3
7.3.9. Notifications about the Changes of the Properties
Whenthevalueofapropertyischangedandtheuserissubscribedtothenode,whichthepropertybelongs
to,anasynchronousnotificationisgenerated.Thisisnotificationiscalledasthe'changemessage'.The
format of such a message is very similar to the response for the GETcommand:
Í CHG/EDID.EdidStatus=F48:E1
A Short Example of How to Use the Subscription
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.
Î OPEN/MEDIA/AUDIO/O2
Í o-/MEDIA/AUDIO/O2
Î GET/MEDIA/AUDIO/O2.VolumePercent
Í pw/MEDIA/AUDIO/O2.VolumePercent=100.00
Î GET/MEDIA/AUDIO/O2.VolumePercent
Í pw/MEDIA/AUDIO/O2.VolumePercent=100.00
Î SET/MEDIA/AUDIO/O2.VolumePercent=50.00
Í pw/MEDIA/AUDIO/O2.VolumePercent=50.00
Í CHG/MEDIA/AUDIO/O2.VolumePercent=50.00
Explanation: Thefirstuser(Connection #1)setasubscriptiontoanode.Latertheotheruser(Connection #2)
madeachange,andthanksforthesubscription,thefirstusergotanotificationaboutthechange.
7.3.10. Legend for the Control Commands
Format
<in>
Input port number
<out>
Output port number
<port>
Input or output port number
<loc>
Locationnumber
<parameter>
Variable,whichisdefinedanddescribedinthecommand
Batchedparameters:theunderlinemeansthatmoreexpressionsorparameters
<expression>
can be placed by using a semicolon, e.g. O1;O2 or F27:U1;F47:U2
Sent command
Î
Received response
Í
·
Space character
68
}
Connection #1
}
Connection #2
Connection #1
Description

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hdmi-tps-rx110ayHdmi-tps-rx110ay-plus9154002191540070

Table of Contents