7. LW3 Programmers’ Reference
MMX4x2 series – User's Manual
126
Applied firmware package: v1.6.0b19 | LDC software: v2.5.13b5
7.20.4.
Sending CEC Commands in Hex Format
ç
CALL·/MEDIA/CEC/
<port>
:sendHex(
<hex_code>
)
æ
mO·/MEDIA/CEC/
<port>
:sendHex
Parameters
Parameter
Parameter description
Values
Value description
<port>
Video input or video output
port
I1-I4
Video inputs
O1-O2
Video outputs
<hex_code>
The desired CEC command
Max. 30 characters (15 bytes) in hexadecimal format.
Example
ç
CALL /MEDIA/CEC/I2:sendHex(8700E091)
æ
mO /MEDIA/CEC/I2:sendHex
7.20.5. Querying the Last Received CEC Message
ç
GET /MEDIA/CEC/
<port>
.LastReceivedMessage
æ
pr /MEDIA/CEC/
<port>
.LastReceivedMessage=
<CEC_message>
Parameters
Parameter
Parameter description
Values
Value description
<port>
Video port
I1-I4
or
O1-O2
<CEC_message>
The last incoming CEC message
from the connected device.
Example
ç
GET /MEDIA/CEC/I2.LastReceivedMessage
æ
pr /MEDIA/CEC/I2.LastReceivedMessage=give_power_status
TIPS AND TRICKS:
This property can be a condition in the
. When the connected device
sends status information via CEC, it could be a trigger for an action.