Http Messaging; Setting The Target Ip Address; Setting The Tcp Port; Setting The Target Path - Lightware HDMI-TPS-TX226 User Manual

Hdbasettm multimedia extender
Table of Contents

Advertisement

 
7.LW3Programmer'sReference
7.14. HTTP Messaging
DIFFERENCE:

ThefeaturesandcommandsbelowareavailableonlyforSW4-TPS-TX240-PlusfromFW
packagev1.3.0b6.
Http post and put messages can be sent from the Lightware device for more integration with third-party
devices.
#http
ATTENTION!

ThisfeaturemeanspostingorputtingHTTPmessagesfromtheLightwaredevicetoanother
device. Encrypted transmission (HTTPS) is not supported.
7.14.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.14.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.14.3. Setting the Target Path
Thispropertysetsthepathinthetargetdevicewherethepost/putmessagetobesent.
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
HDMI-TPS-TX200series–User'sManual
7.14.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=
7.14.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
7.14.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
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
109

Advertisement

Table of Contents
loading

Table of Contents