Http Messaging; Setting The Target Ip Address; Setting The Tcp Port; Setting The Target Path - Lightware MMX4x2 Series User Manual

Standalone multimedia matrix switcher
Hide thumbs Also See for MMX4x2 Series:
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
7.15. HTTP Messaging
DIFFERENCE:

This feature and the commands below are available from firmware v1.6.0b19.
Http post and put messages can be sent from the Lightware device for more integration with third-party
devices.
#http

ATTENTION!
This feature means posting or putting HTTP messages from the Lightware device to another
device. Encrypted transmission (HTTPS) is not supported.
7.15.1. Setting the Target IP Address
Command and Response
SET·/CTRL/HTTP/C1.ServerIP=<IP_address>
ç
pw·/CTRL/HTTP/C1.ServerIP=<IP_address>
æ
Example
ç SET /CTRL/HTTP/C1.ServerIP=192.168.0.220
æ pw /CTRL/HTTP/C1.ServerIP=192.168.0.220
7.15.2. Setting the TCP Port
Command and Response
SET·/CTRL/HTTP/C1.ServerPort=<port_no>
ç
pw·/CTRL/HTTP/C1.ServerPort=<port_no>
æ
Example
ç SET /CTRL/HTTP/C1.ServerPort=80
æ pw /CTRL/HTTP/C1.ServerIP=80
7.15.3. Setting the Target Path
This property sets the path in the target device where the post/put message is to be sent.
Command and Response
SET·/CTRL/HTTP/C1.File=<path>
ç
pw·/CTRL/HTTP/C1.File=<path>
æ
Example
ç SET /CTRL/HTTP/C1.File=/putxml
æ pw /CTRL/HTTP/C1.File=/putxml
MMX4x2 series – User's Manual
7.15.4. Setting the Message Header
Command and Response
ç
æ
Example
ç SET /CTRL/HTTP/C1.Header=Host: 192.168.0.220\r\nContent-Type: text/xml\r\nAuthorization: Basic
æ pw /CTRL/HTTP/C1.Header=Host: 192.168.0.220\r\nContent-Type: text/xml\r\nAuthorization: Basic
7.15.5. Sending a Post Message
Command and Response
ç CALL·/CTRL/HTTP/C1:post(<body_text>)
æ mO·/CTRL/HTTP/C1:post
Example
ç CALL /CTRL/HTTP/C1:post(<Command><Message><Send><Text>LI1R_P</Text></Send></
æ mO /CTRL/HTTP/C1:post
7.15.6. Sending a Put Message
Command and Response
ç CALL·/CTRL/HTTP/C1:put(<body_text>)
æ mO·/CTRL/HTTP/C1:put
Example
ç CALL /CTRL/HTTP/C1:put(<Command><Message><Send><Text>LI1R_P</Text></Send></Message></
æ mO /CTRL/HTTP/C1:put
Applied firmware package: v1.6.0b19 | LDC software: v2.5.13b5
SET·/CTRL/HTTP/C1.Header=<header_text>
pw·/CTRL/HTTP/C1.Header=<header_text>
YWRtaW46TGlnaHR3YXJlMDE=
YWRtaW46TGlnaHR3YXJlMDE=
Message></Command>)
Command>)
116

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Mmx4x2-hdmiMmx4x2-ht200Mmx4x2-hdmi-usb20-l

Table of Contents