7.LW3Programmers’Reference
HDMI-TPS-RX110AYseries–User'sManual
114
Appliedfirmwarepackage:v1.5.0b3 | LDCsoftware:v2.5.9b2
7.20.
Sending CEC Commands
DIFFERENCE:
ThisfeatureisavailableonlyinHDMI-TPS-RX110AY-PlusmodelfromFWpackagev1.3.1b6.
The device is able to send and receive Consumer Electronics Control (CEC) commands. This feature is for
remote controlling the source or sink device. CEC is a bi-directional communication
via the HDMI cable
.
INFO:
Thehiddenfirst2bytesoftheCECcommandisstatic,itreferstothelogicaladdressofthesenderand
the addressee
.Iftheportisinput,itisalways04(fromTVtoPlaybackdevice1.),iftheportisoutput,itis
always40(fromPlaybackdevice1.toTV).Broadcastaddressingisalsopossible(inthiscaseitis0For4F).
7.20.1.
Press&Release Commands
DIFFERENCE:
ThisfeatureisavailableonlyinHDMI-TPS-RX110AY-PlusmodelfromFWpackagev1.5.0b3.
Below CEC commands are called 'push-button commands' like a button in a remote controller, e.g. volume
up/down.WhentheCECcommandissent,the'release'commandisalsosentinthebackground.Certain
devices require this feature for the proper working, but this is necessary only for push-button commands.
Command and Response
#cec
ç
CALL·/MEDIA/CEC/
<port>
:sendClick(
<command>
)
æ
mO·/MEDIA/CEC/
<port>
:sendClick
Parameters
The
<port>
parameter means the video input or output port. The following is accepted as
<command>
:
ok
number_2
input_select
rewind
select_media_4
back
number_3
display_info
fast_forward
select_media_5
up
number_4
power_legacy
eject
power_toggle
down
number_5
page_up
skip_forward
power_on
left
number_6
page_down
skip_backward
power_off
right
number_7
volume_up
3d_mode
stop_function
root_menu
number_8
volume_down
stop_record
f1
setup_menu
number_9
mute_toggle
pause_record
f2
contents_menu
dot
mute
play_forward
f3
favorite_menu
enter
unmute
play_reverse
f4
media_top_menu
clear
play
select_next_media
media_context_menu channel_up
stop
select_media_1
number_0
channel_down
pause
select_media_2
number_1
sound_select
record
select_media_3
Example
ç
CALL/MEDIA/CEC/I2:sendClick(play)
æ
mO/MEDIA/CEC/I2:sendClick
7.20.2.
Further Commands
Command and Response
ç
CALL·/MEDIA/CEC/
<port>
:send(
<command>
)
æ
mO·/MEDIA/CEC/
<port>
:send
Parameters
The
<port>
parametermeansthevideoinput(I1-I4)orvideooutput(O1-O2)port.Thefollowingisaccepted
as
<command>
:
image_view_on
standby
text_view_on
active_source
get_cec_version
set_osd
clear_osd
give_power_status
The
set_osd
command requires to send also another command, see the following section.
Example
ç
CALL/MEDIA/CEC/I2:send(standby)
æ
mO/MEDIA/CEC/I2:send
7.20.3.
Sending an OSD String
The OSD string sending consists of two steps. First, set the
OsdString
property with the desired text, then call
the
send
method.
Command and Response
ç
SET·/MEDIA/CEC/
<port>.
OsdString=
<text>
æ
pw·/MEDIA/CEC/
<port>
.OsdString=
<text>
ç
CALL·/MEDIA/CEC/
<port>
:send(set_osd)
æ
mO·/MEDIA/CEC/I2:send
Parameters
Parameter
Parameter description
Values
Valuedescription
<port>
Videoinputorvideo
output port
I1-I4
Videoinputs
O1-O2
Videooutputs
<text>
The desired OSD string
Letters(A-Z)and(a-z),hyphen(-),underscore(_),
numbers(0-9),anddot(.).Maxlength:14characters.
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