Sending A Tcp Binary Message (Hex-Format); Sending A Udp Message (Ascii-Format); Sending A Udp Text (Ascii-Format); Sending A Udp Binary Message (Hex-Format) - Lightware HDMI-TPS-TX226 User Manual

Hdbasettm multimedia extender
Table of Contents

Advertisement

 
7.LW3Programmer'sReference
7.13.3. Sending a TCP Binary Message (HEX-format)
ThecommandisforsendingabinarymessageinHexadecimalformat.Thismethoddoes not require escaping
thecontrolandnon-printablecharacters.
Command and Response
ç CALL·/MEDIA/ETHERNET.tcpBinary(<IP_address>:<port_no>=<HEX_message>)
æ mO·/MEDIA/ETHERNET:tcpBinary
Example
ç CALL/MEDIA/ETHERNET:tcpBinary(192.168.0.103:6107=0100000061620000cdcc2c40)
æ mO/MEDIA/ETHERNET:tcpBinary
The'0100000061620000cdcc2c40'messageissenttotheindicatedIP:portaddress.
INFO:

Thereisnoneedtoinsertaspaceorotherseparatorcharacterbetweenthebinarymessages.
7.13.4. Sending a UDP Message (ASCII-format)
ThecommandisforsendingaUDPmessageinASCII-format.Thismethodallowsescapingthecontrolcharacters.
For more information see the
Escaping
section.
Command and Response
ç CALL·/MEDIA/ETHERNET:udpMessage(<IP_address>:<port_no>=<message>)
æ mO·/MEDIA/ETHERNET:udpMessage
Example
ç CALL/MEDIA/ETHERNET:udpMessage(192.168.0.103:6107=C00)
æ mO/MEDIA/ETHERNET:udpMessage
The'C00'messageissenttotheindicatedIP:portaddress.
Example with HEX codes
ç CALL/MEDIA/ETHERNET:udpMessage(192.168.0.20:9988=C00\x0a\x0d)
æ mO/MEDIA/ETHERNET:udpMessage
The'C00'messagewithCrLf(CarriagereturnandLinefeed)issenttotheindicatedIP:portaddress.The\x
sequenceindicatestheHEXAcode;seemoreinformationintheEscaping
HDMI-TPS-TX200series–User'sManual
7.13.5. Sending a UDP Text (ASCII-format)
7.13.6. Sending a UDP Binary Message (HEX-format)
section.
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
ThecommandisforsendingatextmessageinASCII-formatviaUDP-protocol.Thismethoddoes not allow
escapingorinsertingcontrolcharacters.
Command and Response
ç CALL·/MEDIA/ETHERNET:udpText(<IP_address>:<port_no>=<text>)
æ mO·/MEDIA/ETHERNET:udpText
Example
ç CALL/MEDIA/ETHERNET:udpText(192.168.0.20:9988=open)
æ mO/MEDIA/ETHERNET:udpText
The'open'textissenttotheindicatedIP:portaddress.
ThecommandisforsendingabinarymessageinHexadecimalformat.Thismethoddoes not require escaping
thecontrolandnon-printablecharacters.
Command and Response
ç CALL·/MEDIA/ETHERNET:udpBinary(<IP_address>:<port_no>=<HEX_message>)
æ mO·/MEDIA/ETHERNET:udpBinary
Example
ç CALL/MEDIA/ETHERNET:udpBinary(192.168.0.20:9988=433030)
æ mO/MEDIA/ETHERNET:udpBinary
The'433030'messageissenttotheindicatedIP:portaddress.

INFO:
Thereisnoneedtoinsertaspaceorotherseparatorcharacterbetweenthebinarymessages.
108

Advertisement

Table of Contents
loading

Table of Contents