Sending Udp Message (Ascii-Format) Via Tcp Port; Sending A Tcp Text (Ascii-Format) Via Tcp Port; Sending A Udp Binary Message (Hex-Format) Via Tcp Port; Sending A Message (Ascii-Format) Via Serial 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.4. Sending UDP Message (ASCII-format) via TCP Port
The command is for sending a UDP message in ASCII-format. This method allows escaping the control
characters. For more information see the
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' message is sent to the indicated IP:port address.
Example with HEX codes
ç CALL /MEDIA/ETHERNET:udpMessage(192.168.0.20:9988=C00\x0a\x0d)
æ mO /MEDIA/ETHERNET:udpMessage
The 'C00' message with CrLf (Carriage return and Line feed) is sent to the indicated IP:port address. The \x
sequence indicates the HEXA code; see more information in the
7.12.5. Sending a TCP Text (ASCII-format) via TCP Port
The command is for sending a text message in ASCII-format via UDP-protocol. This method does not allow
sending message with control and non-printable characters.
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' text is sent to the indicated IP:port address.
Escaping
section.
Using Hexadecimal Codes
Applied firmware package: v1.2.0 | LDC software: v2.4.1b7
UMX-HDMI-140 series– User's Manual
7.12.6. Sending a UDP Binary Message (HEX-format) via TCP Port
The command is for sending a binary message in Hexadecimal format via UDP protocol. This method does
not require escaping the control and non-printable characters.
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' message is sent to the indicated IP:port address.

INFO:
There is no need to insert a space or other separator character between the binary messages.
7.12.7. Sending a Message (ASCII-format) via Serial Port
The command is for sending a command message in ASCII-format. This method allows escaping the control
characters. For more information see the
section.
Command and Response
ç CALL·/MEDIA/UART/<port>:sendMessage(<message>)
æ mO·/MEDIA/UART/<port>:sendMessage
Example
ç CALL /MEDIA/UART/P1:sendMessage(PWR0)
æ mO /MEDIA/UART/P1:sendMessage
The 'PWR0' message is sent out via the P1 serial port.
7.12.8. Sending a Text (ASCII-format) via Serial Port
The command is for sending a command message in ASCII-format. This method does not allow sending
message with control and non-printable characters.
Command and Response
ç CALL·/MEDIA/UART/<port>:sendText(<message>)
æ mO·/MEDIA/UART/<port>:sendText
Example
ç CALL /MEDIA/UART/P1:sendText(open)
æ mO /MEDIA/UART/P1:sendText
The 'open' text is sent out via the P1 serial port.
Escaping
section.
94

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents