Sending A Binary Message (Hex-Format) Via Serial Port; Using Hexadecimal Codes; Sending Pronto Hex Codes In Little-Endian Format Via Ir Port - Lightware UMX-HDMI-140 Series User Manual

Universal multimedia switcher
Hide thumbs Also See for UMX-HDMI-140 Series:
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
7.12.9. Sending a Binary Message (HEX-format) via Serial Port
The command is for sending a command message in Hexadecimal-format. This method does not require
escaping the control and non-printable characters.
Command and Response
ç CALL·/MEDIA/UART/<port>:sendBinaryMessage(<message>)
æ mO·/MEDIA/UART/<port>:sendBinaryMessage
Example
ç CALL /MEDIA/UART/P1:sendBinaryMessage(433030)
æ mO /MEDIA/UART/P1:sendBinaryMessage
The '433030' message is sent out via the P1 serial port.
7.12.10. Using Hexadecimal Codes
Hexadecimal codes can be inserted in the ASCII message when using:
sendMessage command: CALL /MEDIA/UART/P1:sendMessage(C00\x0D)
tcpMessage command:
CALL /MEDIA/ETHERNET:tcpMessage(C00\x0D)
udpMessage command: CALL /MEDIA/ETHERNET:udpMessage(C00\x0D)
C00: the message.
\x: indicates that the following is a hexadecimal code.
0D: the hexadecimal code (Carriage Return).
UMX-HDMI-140 series– User's Manual
7.12.11. Sending Pronto Hex Codes in Little-endian Format via IR Port
DIFFERENCE:

Command and Response
ç CALL·/MEDIA/IR/<out>:sendProntoHex(<hex_code>)
æ mO·/MEDIA/IR/<out>:sendProntoHex
Parameters
Parameter
<hex_code>

INFO:
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
Example
ç CALL /MEDIA/IR/D1:sendProntoHex(00006D0025000300A900A80015 003F00150 03F0
015003F0015001500150015001500150015001500150 0150015003F0015003F001500
3F00150015001500150 015001 500150015001500150015003F0015003F0015003F00150015001500
150015001500150015001500150015001500150015001500150015003F0015003F0015003F0015003
F0015003F0015000207A900A8001500150015006E0E)
æ mO /MEDIA/IR/D1:sendProntoHex

TIPS AND TRICKS:
the Internet.
Applied firmware package: v1.2.0 | LDC software: v2.4.1b7
This feature is available only in UMX-HDMI-140-Plus model.
#infra #infrared #ir
Parameter description
Output port of the
Local Infra output: D1; TPS Infra output: D2
<out>
Infrared interface
Accepts maximum 765 character-long code in hexadecimal
Pronto hex format
format (0-9; A-F; a-f) without space character in little-endian
code
system.
This command can send exactly one pronto hex message. The header of the IR code contains the
IR Interface
Download a code which belongs to your controlled device from a web database from
95
Parameter values
section.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Umx-hdmi-140Umx-hdmi-140-plus9156000191560003

Table of Contents