Sending Message Via Udp Port; Sending Message Via An Rs-232 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.10.1.3. Binary Message Sending (tcpBinary)
ThecommandisforsendingabinarymessageinHEXformat.
INFO:

EscapingwillnotbeprocessedusingthetcpBinary command.
Command and Response
 CALL·/MEDIA/ETHERNET:tcpBinary(<IP_address>:<port_no>=<message>)
 mO·/MEDIA/ETHERNET:tcpBinary
Example
 CALL/MEDIA/ETHERNET:tcpBinary(192.168.0.20:5555=0100000061620000cdcc2c40)
 mO/MEDIA/ETHERNET:tcpBinary
7.10.2. Sending Message via UDP Port
ThedevicecanbeusedforsendingamessagetoacertainIP:port address. The three different commands
allowcontrollingtheconnected(third-party)devices.
7.10.2.1. Command Sending (udpMessage)
ThecommandisforsendingacommandinASCII-formatwithanoptionforescapingspecialcharacters.
Command and Response
 CALL·/MEDIA/ETHERNET:udpMessage(<IP_address>:<port_no>=<message>)
 mO·/MEDIA/ETHERNET:udpMessage
Example
 CALL/MEDIA/ETHERNET:udpMessage(192.168.0.20:5555=PWR0\x0d\x0a)
 mO/MEDIA/ETHERNET:udpMessage
Escaping in the Message
Whencommandsneedtobeseparatedby<CR><LF>characterstoberecognizedbythecontrolleddevice,
thentheyneedtobeescaped.Youcanusethefollowingformatforescaping:
<command
><\x0d\x0a><command
1
><\x0d\x0a>...<command
><\x0d\x0a>
2
n
Appliedfirmwarepackage:v1.2.0 | LDCsoftware:v2.2.0
HDMI-TPS-TX200series–User'sManual
7.10.2.2. Text Message Sending (udpText)
ThecommandisforsendingatextmessageinASCII-format.
INFO:

EscapingwillnotbeprocessedusingtheudpText command.
Command and Response
 CALL·/MEDIA/ETHERNET:udpText(<IP_address>:<port_no>=<message>)
 mO·/MEDIA/ETHERNET:udpText
Example
 CALL/MEDIA/ETHERNET:udpText(192.168.0.20:5555=pwr_on)
 mO/MEDIA/ETHERNET:udpText
7.10.2.3. Binary Message Sending (udpBinary)
ThecommandisforsendingabinarymessageinHEXformat.

INFO:
EscapingwillnotbeprocessedusingtheudpBinary command.
Command and Response
 CALL·/MEDIA/ETHERNET:udpBinary(<IP_address>:<port_no>=<message>)
 mO·/MEDIA/ETHERNET:udpBinary
Example
 CALL/MEDIA/ETHERNET:udpBinary(192.168.0.20:5555=pwr_on)
 mO/MEDIA/ETHERNET:udpBinary
7.10.3. Sending Message via an RS-232 Port
TheRS-232portscanbeusedforsendingacommandmessagetoadevicewhichcanbecontrolledover
serialport.BothlocalRS-232andextendedlinkRS-232portscanbeused.Thethreedifferentcommands
allowtousedifferentmessageformats.
7.10.3.1. Command Sending (sendMessage)
ThecommandisforsendingacommandinASCII-formatwithanoptionforescapingspecialcharacters.
Command and Response
 CALL·/MEDIA/UART/<port>:sendMessage(<message>)
 mO·/MEDIA/UART/<port>:sendMessage
Example
 CALL/MEDIA/UART/P1.sendMessage(PWR0\x0d\x0a)
 mO/MEDIA/UART/P1:sendMessage
Escaping in the Message
Whencommandsneedtobeseparatedby<CR><LF>characterstoberecognizedbythecontrolleddevice,
thentheyneedtobeescaped.Youcanusethefollowingformatforescaping:
<command
><\x0d\x0a><command
><\x0d\x0a>...<command
1
2
86
><\x0d\x0a>
n

Advertisement

Table of Contents
loading

Table of Contents