Sending Cec Commands - Lightware HDMI-TPS-TX210 User Manual

Hdbaset multimedia extender
Hide thumbs Also See for HDMI-TPS-TX210:
Table of Contents

Advertisement

 
7.LW3Programmer'sReference
7.10.3.2. Text Message Sending (sendText)
ThecommandisforsendingatextmessageinASCII-format.
INFO:

Thismethoddoesnotallowsendingmessagewithcontrolandnon-printablecharacters.
Command and Response
 CALL·/MEDIA/UART/<port>:sendText(<message>)
 mO·/MEDIA/UART/<port>:sendText
Example
 CALL/MEDIA/UART/P1:sendText(pwr_on)
 mO/MEDIA/UART/P1:sendText
7.10.3.3. Binary Message Sending (sendBinaryMessage)
ThecommandisforsendingabinarymessageinHEXformat.

INFO:
Thismethoddoesnotrequireescapingthecontrolandnon-printablecharacters.
Command and Response
 CALL·/MEDIA/UART/<port>:sendBinaryMessage(<message>)
 mO·/MEDIA/UART/<port>:sendBinaryMessage
Example
 CALL/MEDIA/UART/P1:sendBinaryMessage(0100000061620000cdcc2c40)
 mO/MEDIA/UART/P1:sendBinaryMessage
HDMI-TPS-TX200series–User'sManual
7.10.4. Sending CEC Commands
The device is able to send and receive Consumer Electronic Control (CEC) commands. This feature is for
remotecontrolofthesourceorsinkdevice.CECisabi-directionalcommunicationviaHDMIcable.

ATTENTION!
INFO:

and the addressee.Whentheportisinput,itisalways04(fromTVtoPlaybackdevice1.).Whentheport
isoutput,itisalways40(fromPlaybackdevice1.toTV).Broadcastaddressingisalsopossible(inthis
caseitis0For4F).
7.10.4.1. Sending an OSD String
SendingtheOSDstringconsistsoftwosteps.First,set the CEC.OsdString property with the desired text, after
that, call the CEC.send(set_osd) method.
Command and Response
SET·/MEDIA/CEC/<port>.OsdString=<text>
pw·/MEDIA/CEC/<port>.OsdString=<text>
Parameters
The <text> length can be 14 character and the followings are allowed: letters (A-Z) and (a-z), hyphen (-),
underscore(_),numbers(0-9),anddot(.).
Example
 SET/MEDIA/CEC/I2.OsdString=Lightware
 pw/MEDIA/CEC/I2.OsdString=Lightware
 CALL/MEDIA/CEC/I2:send(set_osd)
 mO/MEDIA/CEC/I2:send

ATTENTION!
Appliedfirmwarepackage:v1.2.0 | LDCsoftware:v2.2.0
CECissupportedonlybyvideoportswhichcancarryHDMIsignals(HDMI,DVI-D,TPS).
Thehiddenfirst2bytesoftheCECcommandisstatic,itreferstothelogicaladdressofthesender
As a second step, the send(set_osd) methodisnecessarytocalltosendthedesiredstring.
87

Advertisement

Table of Contents
loading

Table of Contents