7. LW3 Programmers’ Reference
UMX-HDMI-140 series– User's Manual
96
Applied firmware package: v1.2.0 | LDC software: v2.4.1b7
7.12.12. Sending Pronto Hex Codes in Big-endian Format via IR Port
DIFFERENCE:
This feature is available only in
UMX-HDMI-140-Plus
model.
Command and Response
#infra #infrared #ir
ç
CALL·/MEDIA/IR/
<out>
:sendProntoHexBigEndian(
<hex_code>
)
æ
mO·/MEDIA/IR/
<out>
:sendProntoHexBigEndian
Parameters
Parameter
Parameter description
Parameter values
<out>
Output port of the
Infrared interface
Local Infra output:
D1
; TPS Infra output:
D2
<hex_code>
Pronto hex format
code
Accepts maximum 765 character-long code in hexadecimal
format (0-9; A-F; a-f) without space character in big-endian
system.
INFO:
This command can send exactly one pronto hex message. The header of the IR code contains the
length of the whole code in hexa format. If the code is deficient or duplicated, it causes syntax error.
For more details about the pronto hex codes see
section.
Example
ç
CALL /MEDIA/IR/D1:sendProntoHexBigEndian(0000006d0025000300a900a80015 003f0015003f0015
003f00150015001500150015001500150015001500150015003f0015003f0015003f001500150015001
50015001500150015001500150015003f0015003f0015 003f001500150015001500150015001500150
01500150015001 500150015001500150015003f0015003f0015003f0015003f0015 003f0015070200a
900a80015001500150e6e)
æ
mO /MEDIA/IR/D1:sendProntoHexBigEndian
TIPS AND TRICKS:
Learning raw IR code with a terminal program:
Step 1.
Connect to the UMX-HDMI-140-Plus device with a terminal program (see the details in the
for the Terminal Application Usage
section).
Step 2.
Push the desired button of the remote control to scan the raw IR code.
Step 3.
Remove all the non-hexadecimal characters (e.g. spaces, h characters etc.) from the code.
The pronto hex code which learned by a Lightware device is big-endian format.
7.13.
Sending CEC Commands
DIFFERENCE:
This feature is available only in
UMX-HDMI-140-Plus
model.
INFO:
The hidden first 2 bytes of the CEC command is static, it refers to the logical address of the sender
and the addressee. When the port is input, it is always 04 (from TV to Playback device 1.)., when the port
is output, it is always 40 (from Playback device 1. to TV). Broadcast addressing is also possible (in this
case it is 0F or 4F).
#cec
7.13.1.
Sending an OSD String
Sending the OSD string consists of two steps. First, set the
CEC.OsdString
property with the desired text, after
that, call the
CEC.send(set_osd)
method.
Step 1 – Setting the CEC.OsdString Property
Command and Response
ç
SET·/MEDIA/CEC/
<port>.
OsdString=
<text>
æ
pw·/MEDIA/CEC/
<port>
.OsdString=
<text>
Parameters
<text>
Letters (A-Z) and (a-z), hyphen (-), underscore (_), numbers (0-9), and dot (.). Max length: 14
characters.
Example
ç
SET /MEDIA/CEC/O1.OsdString=Lightware
æ
pw /MEDIA/CEC/O1.OsdString=Lightware
Step 2 – Call the CEC.send(set_osd) method
Command and Response
ç
CALL·/MEDIA/CEC/
<port>
:send(set_osd)
æ
mO /MEDIA/CEC/
<port>
:send
Example
ç
CALL /MEDIA/CEC/I1:send(set_osd)
æ
mO /MEDIA/CEC/I1:send