A configuration command is an XML element in the XML configuration string. It may be single
XML element, an XML element containing some text content parameters, or a more complex
XML structure to modify more than one parameter with a single command.
The next chapter
describes in detail all the available configuration commands.
The XML configuration string below sets the aspect ratio of the screen to 16:9 and its orientation to
horizontal. Finally it forces a reboot of the HMP to apply the changes. No other parameters are
modified.
<?xml version="1.0"?>
<configuration version="1.1">
<screeen-aspect-ratio>16:9</screeen-aspect-ratio>
<display-orientation>horizontal</display-orientation>
<reboot/>
</configuration>
The configuration commands are executed in the order provided within the XML configuration string.
Since different configuration commands can control the same HMP feature, the order in which they
are provided influences the end result.
For instance the
<ethernet-dhcp/>
command sets the player to DHCP, whereas the
<ethernet-
static>
command sets it to use a fixed IP address. If both commands are present in the XML
configuration string, the last one will be taken into consideration.
The only exception is the
<reboot/>
command which can appear anywhere in the XML configuration
string, but will only be applied once all commands have been executed.
After applying the following XML configuration string, the HMP will use a DHCP assigned IP address.
<?xml version="1.0"?>
<configuration version="1.1">
<ethernet-static>
<address>192.168.1.10</address>
<netmask>255.255.255.0</netmask>
</ethernet-static>
<ethernet-dhcp/>
</configuration>
After applying the following XML configuration string, the HMP will use a fixed IP address.
Summary of Contents for HMP series
Page 1: ...www spinetix com ...