Sending Cec Commands Towards The Sink - Lightware MX2-4x4-HDMI20-CA User Manual

Multimedia matrix switcher
Hide thumbs Also See for MX2-4x4-HDMI20-CA:
Table of Contents

Advertisement

 
9. LW3 Programmers' Reference
9.9.4. Sending CEC Commands Towards the Sink
INFO: The hidden first 2x2 bit of the CEC command is static (always 40), it refers to the logical address of
the sender and the addressee. 4: sender is a Playback Device 1. ; 4: the addressee is the TV.
9.9.4.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/PORTS/<out>/CEC.OsdString=<text>
Ý
pw·/MEDIA/PORTS/<out>/CEC.OsdString=<text>
Ü
Parameters
The following characters are allowed in the text: Letters (A-Z) and (a-z), hyphen (-), underscore (_), numbers
(0-9), and dot (.). Max length: 14 characters.
Example
Ý SET /MEDIA/PORTS/VIDEO/O1/CEC.OsdString=Lightware
Ü pw /MEDIA/PORTS/VIDEO/O1/CEC.OsdString=Lightware
Step 2 – Calling the CEC.send(set_osd) Method
Command and Response
Ý CALL·/MEDIA/PORTS/VIDEO/<out>/CEC:send(set_osd)
Ü mO·/MEDIA/PORTS/VIDEO/<out>/CEC:send=OK
Example
Ý CALL /MEDIA/PORTS/VIDEO/O1/CEC:send(set_osd)
Ü mO /MEDIA/PORTS/VIDEO/O1/CEC:send=OK
MX2-HDMI20 series – User's Manual
9.9.4.2. Sending a CEC Command in Text Format
Command and Response
#cec
Ý CALL·/MEDIA/PORTS/VIDEO/<out>/CEC:send(<command>)
Ü mO·/MEDIA/PORTS/VIDEO/<out>/CEC:send=OK
Example
Ý CALL /MEDIA/PORTS/VIDEO/O1/CEC:send(power_on)
Ü mO /MEDIA/PORTS/VIDEO/O1/CEC:send=OK
The followings are accepted as a <command>:
image_view_on
contents_menu
number_1
number_6
input_select
volume_up
fast_forward
stop_record
select_media_1
power_toggle
9.9.4.3. Sending a CEC Command in Hexadecimal Format
Command and Response
Ý CALL·/MEDIA/PORTS/VIDEO/<out>/CEC:sendHex(<hex_command>)
Ü mO·/MEDIA/PORTS/VIDEO/<out>/CEC:sendHex=OK
Parameters
Accepted
separated with a space character.
Example
Ý CALL /MEDIA/PORTS/VIDEO/O1/CEC:sendHex(87 00 E0 91)
Ü mO /MEDIA/PORTS/VIDEO/O1/CEC:sendHex=OK
Applied firmware package: v1.7.0 | LDC software: v2.5.1b5
#cec
standby
ok
down
left
right
favorite_menu
media_top_menu
number_2
number_3
number_7
number_8
enter
clear
channel_up
display_info
power_legacy
volume_down
mute_toggle
play
stop
pause
eject
skip_forward
pause_record
play_forward
select_media_2
select_media_3
power_on
power_off
f2
f3
f4
<hex_command>
value is max. 30 character long (15 byte) in hexadecimal format. The codes are
90
back
up
root_menu
setup_menu
media_context_menu
number_0
number_4
number_5
number_9
dot
channel_down
sound_select
page_up
page_down
mute
unmute
record
rewind
skip_backward
3d_mode
play_reverse
select_next_media
select_media_4
select_media_5
stop_function
f1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents