6.LW2Programmer'sReference
6.6. Network Configuration
6.6.1. Query the Current IP Status
IPaddresssettingscanbequeriedasfollows.
Command and Response
{IP_STAT=?}
(IP_STAT=<type>;<ip_address>;<subnet_mask>;<gateway_addr>)CrLf
Parameters
Identifier
Parameterdescription
<type>
AssignmentoftheIPaddress
<ip_addr>
IPaddress
<subnet_mask>
Subnetmask
<gateway_addr>
Gateway address
Example
{ip_stat=?}
(IP_STAT=0;192.168.0.100;255.255.255.0;192.168.0.1)
The device has a static (fix) IP address: 192.168.0.100; the subnet mask is 255.255.255.0, the gateway
addressis192.168.0.1.
6.6.2. Set the IP Address
IPaddresscanbesetasfollows.
Command and Response
{IP_ADDRESS=<type>;<ip_address>}
(IP_ADDRESS=<type>;<ip_address>)CrLf
Parameters
Seetheprevioussection.
Example
{ip_address=0;192.168.0.110}
(IP_ADDRESS=0;192.168.0.110)
INFO:
TheIPaddresscanbequeriedbytypingthe"ip_address=?"command.Theresponsecontainsthe
fixIPaddressthatisstoredinthedeviceevenifDHCPisenabled;inthiscase,thisIPaddressisnotvalid.
#dhcp #ipaddress
#network
Parametervalues
0: static
1:dynamic(DHCP)
(four decimal octets separated by dots)
(four decimal octets separated by dots)
(four decimal octets separated by dots)
Appliedfirmwarepackage:v1.2.0 | LDCsoftware:v2.2.0
HDMI-TPS-TX200series–User'sManual
6.6.3. Set the Subnet Mask
Subnetmaskcanbesetasfollows.
Command and Response
{IP_NETMASK=<subnet_mask>}
(IP_NETMASK=<subnet_mask>)CrLf
Parameters
SeetheQuerytheCurrentIPStatus
Example
{ip_netmask=255.255.255.0}
(IP_NETMASK=255.255.255.0)
INFO:
Thesubnetmaskcanbequeriedbytypingthe"ip_address=?"command.Theresponsecontains
thefixIPsubnetmaskthatisstoredinthedeviceevenifDHCPisenabled;inthiscase,thisIPsubnet
mask is not valid.
6.6.4. Set the Gateway Address
Gateway address can be set as follows.
Command and Response
{IP_GATEWAY=<gateway_addr>}
(IP_GATEWAY=<gateway_addr>)CrLf
Parameters
SeetheQuerytheCurrentIPStatus
Example
{ip_gateway=192.168.0.50}
(IP_GATEWAY=192.168.0.50)
INFO:
The gateway address can be queried by typing the "ip_gateway=?" command. The response
containsthestaticIPgatewayaddressthatisstoredinthedeviceevenifDHCPisenabled.Inthatcase,
thelatestvalidgatewayaddress(forstaticIP)isstored.
6.6.5. Apply Network Settings
Applythenetworksettingsandrestartthenetworkinterface.
Command and Response
{ip_apply}
(IP_APPLY)CrLf
Example
{ip_apply}
(IP_APPLY)
section.
section.
63