5. Device Concept
UCX series – User's Manual
42
Applied firmware package: v1.2.0b9 | LDC software: v2.5.10b1
▪
Lightware REST API HTTP posts (see the details in
section)
▪
LW3 protocol commands (see the details in
section)
Step 2.
Disable the HTTP port (80) and use HTTPS (443) instead.
The setting is available with the following ways:
#new
▪
Lightware REST API HTTP posts (see the details in
Enable/Disable Network Service Port
section).
▪
LW3 protocol commands (see the details in
section).
Step 3.
Set the password and enable the authentication.
The username is always fix (admin) and the password has to be set before enable the authentication.
The setting is available with the following ways:
▪
Lightware Device Controller software (see the details in
section)
▪
Lightware REST API HTTP posts (see the details in
Set Password for Authentication
and
section).
▪
LW3 protocol commands (see the details in
Set Password for Authentication
section).
Step 4.
Disable 6107 port, use Lightware REST API HTTPS (443 port) or WSS for LW3 protocol for control the device.
ATTENTION!
Lightware Device Controller software operates on 6107 port, in this case the UCX series
switcher can be controlled only with protocol commands.
The setting is available with the following ways:
▪
Lightware REST API HTTP posts (see the details in
Enable/Disable Network Service Port
section).
▪
LW3 protocol commands (see the details in
section).
Step 5.
Disable the remaining unsecured Serial over IP ports (8001 and 8002).
The setting is available with the following ways:
▪
Lightware REST API HTTP posts (see the details in
Enable/Disable Network Service Port
section).
▪
LW3 protocol commands (see the details in
section).
5.8.
WebSocket Service (WS, WSS)
DIFFERENCE:
The websocket service feature is available only from FW package v1.2.0.
UCX series switcher provides WS/WSS services on its 80 (for WS) and 443 (for WSS) ports to control the
device with
LW3 protocol commands.
#new
The UCX series switcher can manage 18 connected clients simultaneously for WS (80), WSS (443), and
LW3 (6107) ports in total.
The WebSocket connection is built up by HTTP handshake, after the connection is established,
communication switches to a bi-directional WebSocket protocol for LW3 communication.
The main difference between HTTP and WS communication process, that HTTP closes the connection
between the client and the server after one request-response pair, while WebSocket keeps the connection
open. This feature allows the real-time communication such as
control the device with LW3 protocol commands
.
The WS functions are also available via WebSocket Secure (WSS).