7. LW3 Programmers' Reference
7.10.2.2. Sending a UDP Text (ASCII-format)
The command is for sending a text message in ASCII-format via UDP-protocol. This method does not allow
escaping or inserting control 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.
7.10.2.3. Sending a UDP Binary Message (HEX-format)
The command is for sending a binary message in Hexadecimal format via UDP protocol. This method does
not allow escaping or inserting control 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.10.3. Message Sending via RS-232 Serial Port
7.10.3.1. Sending a Message (ASCII-format) via RS-232
The command is for sending a command message in ASCII-format. This method allows escaping the control
characters. For more information see the
Command and Response
Î CALL·/MEDIA/UART/P1:sendMessage(<message>)
Í mO·/MEDIA/UART/P1:sendMessage
Example
Î CALL /MEDIA/UART/P1:sendMessage(PWR0)
Í mO /MEDIA/UART/P1:sendMessage
The 'PWR0' message is sent out via the P1 serial port.
Escaping
section.
UMX-HDMI-140 series– User's Manual
7.10.3.2. Sending a Text (ASCII-format) via RS-232
The command is for sending a command message in ASCII-format. This method does not allow escaping the
control characters.
Command and Response
Î CALL·/MEDIA/UART/P1:sendText(<message>)
Í mO·/MEDIA/UART/P1:sendText
Example
Î CALL /MEDIA/UART/P1:sendText(open)
Í mO /MEDIA/UART/P1:sendText
The 'open' text is sent out via the P1 serial port.
7.10.3.3. Sending a Binary Message (HEX-format) via RS-232
The command is for sending a command message in Hexadecimal-format. This method does not allow
escaping the control characters.
Command and Response
Î CALL·/MEDIA/UART/P1:sendBinaryMessage(<message>)
Í mO·/MEDIA/UART/P1:sendBinaryMessage
Example
Î CALL /MEDIA/UART/P1:sendBinaryMessage(433030)
Í mO /MEDIA/UART/P1:sendBinaryMessage
The '433030' message is sent out via the P1 serial port.
7.10.4. Using Hexadecimal Codes
Hexadecimal codes can be inserted in the ASCII message when using:
sendMessage command: CALL /MEDIA/UART/P1:sendMessage(C00\x0D)
tcpMessage command:
CALL /MEDIA/ETHERNET:tcpMessage(C00\x0D)
udpMessage command: CALL /MEDIA/ETHERNET:udpMessage(C00\x0D)
C00: the message.
▪
▪
\x: indicates that the following is a hexadecimal code.
▪
0D: the hexadecimal code (Carriage Return).
71
Need help?
Do you have a question about the UMX-HDMI-140 and is the answer not in the manual?