6. LW3 Programmers’ Reference
HDMI20-OPTC series – User's Manual
51
6.5.7. Querying the DHCP State
Command and Response
Ý
GET•/MANAGEMENT/NETWORK.DhcpEnabled
Ü
pw•/MANAGEMENT/NETWORK.DhcpEnabled=
<dhcp_state>
Example
Ý
GET /MANAGEMENT/NETWORK.DhcpEnabled
Ü
pw /MANAGEMENT/NETWORK.DhcpEnabled=true
6.5.8. Changing the DHCP State
Command and Response
Ý
SET•/MANAGEMENT/NETWORK.DhcpEnabled=
<dhcp_state>
Ü
pw•/MANAGEMENT/NETWORK.DhcpEnabled=
<dhcp_state>
Example
Ý
SET /MANAGEMENT/NETWORK.DhcpEnabled=false
Ü
pw /MANAGEMENT/NETWORK.DhcpEnabled=false
6.5.9. Enabling Ethernet Port
Command and Response
Ý
SET•/MEDIA/ETHERNET/
<eth_port>
.Enabled=
<status>
Ü
pw•/MEDIA/ETHERNET/
<eth_port>
.Enabled=
<status>
Example
Ý
SET /MEDIA/ETHERNET/P2.Enabled=false
Ü
pw /MEDIA/ETHERNET/P2.Enabled=false
Disabled the P2 Ethernet port.
6.6. RS-232 Port Configuration
6.6.1. Querying the RS-232 Operation Mode
Command and Response
Ý
GET•/MEDIA/UART/
P1.Rs232Mode
Ü
pw•/MEDIA/UART/P1.Rs232Mode=
<rs232_mode>
Parameters
<rs232_mode>
0
: Pass-through
1
: Control (local)
2
: Command injection (local)
Example
Ý
GET /MEDIA/UART/P1.Rs232Mode
Ü
pw /MEDIA/UART/P1.Rs232Mode
6.6.2. Setting the RS-232 Operation Mode
Command and Response
Ý
SET•/MEDIA/UART/P1.Rs232Mode=
<rs232_mode>
Ü
pw•/MEDIA/UART/P1.Rs232Mode=
<rs232_mode>
Parameters
See the previous legend.
Example
Ý
SET /MEDIA/UART/P1.Rs232Mode=1
Ü
pw /MEDIA/UART/P1.Rs232Mode=1
6.6.3. Setting the BAUD Rate
Command and Response
Ý
SET•/MEDIA/UART/P1.Baudrate=
<baudrate>
Ü
pw•/MEDIA/UART/P1.Baudrate=
<baudrate>
Parameters
Identifier
Parameter
description
Parameter values
<baudrate>
Baud rate value
0
: 4800;
1
: 7200;
2
: 9600;
3
: 14400;
4
: 19200;
5
: 38400;
6
: 57600;
7
: 115200
Example
Ý
SET /MEDIA/UART/P1.Baudrate=2
Ü
pw /MEDIA/UART/P1.Baudrate=2