Sending Pronto Hex Codes In Little-Endian Format Via Ir Port; Message Sending Capabilities; Sending Message Via Tcp Port - Lightware HDMI-TPS-TX210 User Manual

Hdbaset multimedia extender
Hide thumbs Also See for HDMI-TPS-TX210:
Table of Contents

Advertisement

 
7.LW3Programmer'sReference
7.9.3. Sending Pronto Hex Codes in Little-endian Format via IR Port
Command and Response
 CALL·/MEDIA/IR/D1:sendProntoHex(<hex_code>)
 mO·/MEDIA/IR/D1:sendProntoHex
Parameters
The <hex_code>canbemax.765character-longinhexadecimalformat(0-9;A-F;a-f)withoutspacecharacter
inlittle-endianformat.
INFO:

Thiscommandcansendexactlyoneprontohexmessage.Ifthestringisdeficient,duplicated,or
contains other than the code itself, it will result a syntax error.
Example
 CALL/MEDIA/IR/D1:sendProntoHex(00006D0025000300A900A80015003F0015003F0015003F00150
015001500150015001500150015001500150015003F0015003F0015003F0015001500150015001500
1500150015001500150015003F0015003F0015003F001500150015001500150015001500150015001
50015001500150015001500150015003F0015003F0015003F0015003F0015003F0015000207A900A8
001500150015006E0E)
 mO/MEDIA/IR/D1:sendProntoHex
How to Learn an IR Code?
IRcodessentbyremotecontrollerscanbelearnedandsentasacommandbytheabovementionedLW3
command.ThegettherequestedIRcodeinhexaformat,pleasedothefollowingsteps:
Step 1. ConnectIRtransmitterandIRreceiverunitstotheIRportsofthetransmitter.
Step 2. InstallaterminalsoftwareonthecontrolPC/laptop.
Step 3. StartanewterminalinBinarymodeandconnecttotheIRinputportofthetransmitteroverLAN
(IPaddressandTCP/IPportno.9001).
Step 4. AimtheremotecontrollertowardstheIRreceiverandpressthedesiredbutton.Thereceivedcode
should be visible in the terminal.
Step 5. Copyandcleanthecodebyasimpletexteditor:
Removetheh, space, and enter characterstohaveanunintermittedhexastring.
If the string contains 0000 after the first 16 characters, delete them and all the following
characters as well.
Formoreinformationabouttheprontohexformatpleasevisitthefollowingweb-site:
http://www.remotecentral.com/features/irdisp2.htm
Step 6. Sendthehexacodeasdescribedintheprevioussection.
.
HDMI-TPS-TX200series–User'sManual
7.10. Message Sending Capabilities
7.10.1. Sending Message via TCP Port
Thedevicecanbeusedforsendingamessagetoacertain IP:port address. Three different commands allow
controllingtheconnected(third-party)devices.
7.10.1.1. Command Sending (tcpMessage)
ThecommandisforsendingacommandinASCII-format withanoptionforescapingspecialcharacters.
Command and Response
 CALL·/MEDIA/ETHERNET:tcpMessage(<IP_address>:<port_no>=<message>)
 mO·/MEDIA/ETHERNET:tcpMessage
Example
 CALL/MEDIA/ETHERNET:tcpMessage(192.168.0.20:5555=PWR0\x0d\x0a)
 mO/MEDIA/ETHERNET:tcpMessage
Escaping in the Message
Whencommandsneedtobeseparatedby<CR><LF>characterstoberecognizedbythecontrolleddevice,
thentheyneedtobeescaped.Youcanusethefollowingformatforescaping:
7.10.1.2. Text Message Sending (tcpText)
ThecommandisforsendingatextmessageinASCII-format.

INFO:
Command and Response
 CALL·/MEDIA/ETHERNET:tcpText(<IP_address>:<port_no>=<message>)
 mO·/MEDIA/ETHERNET:tcpText
Example
 CALL/MEDIA/ETHERNET.tcpText(192.168.0.20:5555=pwr_on)
 mO/MEDIA/ETHERNET:tcpText
Appliedfirmwarepackage:v1.2.0 | LDCsoftware:v2.2.0
#message
<command
><\x0d\x0a><command
><\x0d\x0a>...<command
1
2
EscapingwillnotbeprocessedusingthetcpText command.
85
><\x0d\x0a>
n

Advertisement

Table of Contents
loading

Table of Contents