![SpinetiX Diva Technical Documentation Manual Download Page 12](http://html.mh-extra.com/html/spinetix/diva/diva_technical-documentation-manual_1347696012.webp)
H MP Co n f igu ra tio n AP I - S p in e tiX Te ch n ica l Do cu me n ta tion v3 .1
© S p in e tiX S A A ll rig h ts re se rve d .
P a g e 1 2 of 5 8
Configuration commands
This section describes the structure and the parameters of the configuration commands that can be
sent to an HMP for execution.
A configuration command is represented within the XML configuration string through an XML element,
direct descendant of the
<configuration>
element.
In case the configuration command requires one parameter, it is usually provided within the
text content of the element.
If it requires more parameters, these are usually provided as inner XML elements.
For instance, to configure the HMP to use DHCP, a simple XML element is used:
<ethernet-dhcp/>
To change the time zone setting, the time zone name is specified within the text content of the
element:
<timezone>Europe/Zurich</timezone>
To set the HMP device to use a fixed IP address, several parameters are needed, each being provided
as a separate XML element under the main command:
<ethernet-static>
<address>192.168.1.10</address>
<netmask>255.255.255.0</netmask>
<gateway>192.168.1.1</gateway>
<dns>192.168.1.1</dns>
</ethernet-static>