8. LW3 Programmers' Reference
MMX8x4-HT series – User's Manual
122
Applied firmware package: v1.2.2b5 | LDC software: v2.2.1
8.11.2. Query the IR Command Injection Port Number
Command and Response
Ý
GET•/MEDIA/IR/
<ir_port>
.CommandInjectionPort
Ü
pw•/MEDIA/IR/
<ir_port>
.CommandInjectionPort
Example
Ý
GET /MEDIA/IR/D1.CommandInjectionPort
Ü
pw /MEDIA/IR/D1.CommandInjectionPort
8.12.
IR Port Messaging
8.12.1.
Sending Pronto Hex Codes in Little-endian Format via IR Port
Command and Response
#message
Ý
CALL /MEDIA/IR/
<ir_port>
:sendProntoHex(
<hex_code>
)
Ü
mO /MEDIA/IR/
<ir_port>
:sendProntoHex
Parameters
Identifier
Parameter
description
Parameter values
<ir_port>
IR port number
D1-D4*
<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 little-endian system.
*The number of the ports depends on the model type. The exact port numbering is listed in
section.
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/D3:sendProntoHex(00006D0025000300A900A80015003F00150 03F0
015003F0015001500150015001500150015001500150 0150015003F0015003F001500
3F00150015001500150 015001 500150015001500150015003F0015003F0015003F00150015001500
150015001500150015001500150015001500150015001500150015003F0015003F0015003F0015003
F0015003F0015000207A900A8001500150015006E0E)
Ü
mO /MEDIA/IR/D3:sendProntoHex
8.12.2.
Sending Pronto Hex Codes in Big-endian Format via IR Port
For more details about the pronto hex codes see
section.
Command and Response
Ý
CALL /MEDIA/IR/
<ir_port>
:sendProntoHexBigEndian(
<hex_code>
)
Ü
mO /MEDIA/IR/
<ir_port>
:sendProntoHexBigEndian
Parameters
Identifier
Parameter
description
Parameter values
<ir_port>
IR port number
D1-D4*
<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.
*The number of the ports depends on the model type. The exact port numbering is listed in
section.
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