7.LW3Programmer'sReference
HDMI-TPS-TX200series–User'sManual
108
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
7.13.3.
Sending a TCP Binary Message (HEX-format)
ThecommandisforsendingabinarymessageinHexadecimalformat.Thismethod
does 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
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;seemoreinformationinthe
7.13.5.
Sending a UDP Text (ASCII-format)
ThecommandisforsendingatextmessageinASCII-formatviaUDP-protocol.Thismethod
does 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.
7.13.6.
Sending a UDP Binary Message (HEX-format)
ThecommandisforsendingabinarymessageinHexadecimalformat.Thismethod
does 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.