Sending Message Via Udp Port; Sending Message Via An Rs-232 Port - Lightware MMX4x2-HT200 User Manual

Standalone multimedia matrix switcher mmx4x2 series
Hide thumbs Also See for MMX4x2-HT200:
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
Sending Binary Message
The command is for sending a binary message in HEX format.
INFO: Escaping will not be processed using the tcpBinary command.
Command format:
CALL●/MEDIA/ETHERNET:tcpBinary(<IP_address>:<port_no>=<message>)
Response format:
mO●/MEDIA/ETHERNET:tcpBinary
Example:
˃
CALL /MEDIA/ETHERNET:tcpBinary(192.168.0.20:5555=0100000061620000cdcc2c40)
˂
mO /MEDIA/ETHERNET:tcpBinary
7.11.2. Sending Message via UDP Port
The device can be used for sending a message to a certain IP:port address. The three different commands
allow controlling the connected (third-party) devices.
Sending UDP Message
The command is for sending a command messages in ASCII-format with an option for escaping special charaters.
Command format:
CALL●/MEDIA/ETHERNET:udpMessage(<IP_address>:<port_no>=<message>)
Response format:
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
When commands need to be separated by <CR><LF> charaters to be recognized by the controlled device,
then they need to be escaped. You can use the following format for escaping:
<command
><\x0d\x0a><command
1
Sending Text Message
The command is for sending a text message in ASCII-format.
INFO: Escaping will not be processed using the udpText command.
Command format:
CALL●/MEDIA/ETHERNET:udpText(<IP_address>:<port_no>=<message>)
Response format:
mO●/MEDIA/ETHERNET:udpText
Example:
˃
CALL /MEDIA/ETHERNET:udpText(192.168.0.20:5555=pwr_on)
˂
mO /MEDIA/ETHERNET:udpText
><\x0d\x0a>...<command
><\x0d\x0a>
2
n
MMX4x2 series – User's Manual
Sending Binary Message
The command is for sending a binary message in HEX format.
INFO: Escaping will not be processed using the udpBinary command.
Command format:
CALL●/MEDIA/ETHERNET.udpBinary(<IP_address>:<port_no>=<message>)
Response format:
mO●/MEDIA/ETHERNET:udpBinary
Example:
˃
CALL /MEDIA/ETHERNET:udpBinary(192.168.0.20:5555=0100000061620000cdcc2c40)
˂
mO /MEDIA/ETHERNET:udpBinary
7.11.3. Sending Message via an RS-232 Port
The RS-232 ports can be used for sending a command message to a device which can be controlled over
serial port. Both local RS-232 and extended link RS-232 ports can be used. The three different commands
allow to use different message formats.
Sending Message
The command is for sending a command messages in ASCII-format with an option for escaping special charaters.
Command format:
CALL●/MEDIA/UART/<P
Response format:
mO●/MEDIA/UART/<P
Example:
˃
CALL /MEDIA/UART/P1:sendMessage(PWR0\x0d\x0a)
˂
mO /MEDIA/UART/P1:sendMessage
Escaping in the Message
When commands need to be separated by <CR><LF> charaters to be recognized by the controlled device,
then they need to be escaped. You can use the following format for escaping:
<command
><\x0d\x0a><command
1
Sending Text Message
The command is for sending a text message in ASCII-format.
INFO: Escaping will not be processed using the sendText command.
Command format:
CALL●/MEDIA/UART/<P
Response format:
mO●/MEDIA/UART/<P
Example:
˃
CALL /MEDIA/UART/P2:sendText(pwr_on)
˂
mO /MEDIA/UART/P2:sendText
>:sendMessage(<message>)
n
>:sendMessage
n
><\x0d\x0a>...<command
><\x0d\x0a>
2
n
>:sendText(<message>)
n
>:sendText
n
72

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MMX4x2-HT200 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Mmx4x2-hdmi

Table of Contents