Http Messaging; Setting The Target Ip Address; Setting The Tcp Port; Setting The Target Path - Lightware MMX8x4-HT420M User Manual

Multiport matrix switcher
Hide thumbs Also See for MMX8x4-HT420M:
Table of Contents

Advertisement

 
8. LW3 Programmers' Reference
8.19. HTTP Messaging
DIFFERENCE:

This feature and below commands are available from FW package v1.3.0.
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.
8.19.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
8.19.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
8.19.3. Setting the Target Path
This property sets the path in the target device where the post/put message 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
MMX8x4-HT series – User's Manual
8.19.4. Setting the Message Header
Command and Response
SET·/CTRL/HTTP/C1.Header=<header_text>
ç
pw·/CTRL/HTTP/C1.Header=<header_text>
æ
Example
ç SET /CTRL/HTTP/C1.Header=Host: 192.168.0.220\r\nContent-Type: text/xml\r\nAuthorization: Basic
YWRtaW46TGlnaHR3YXJlMDE=
æ pw /CTRL/HTTP/C1.Header=Host: 192.168.0.220\r\nContent-Type: text/xml\r\nAuthorization: Basic
YWRtaW46TGlnaHR3YXJlMDE=
8.19.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></
Message></Command>)
æ mO /CTRL/HTTP/C1:post
8.19.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></
Command>)
æ mO /CTRL/HTTP/C1:put
Applied firmware package: v1.3.0 | LDC software: v2.4.2
141

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mmx8x4-ht400mcMmx8x8-hdmi-4k-aMmx8x8-hdmi-4k-a-usb20

Table of Contents