Controlling the central power supply via XML
G&D MultiPower-12-NT ·
17
English
Combining multiple commands in an XML document
You can combine several commands in one XML document. The XML service pro-
cesses the commands in the same order in which they are listed in the XML docu-
ment.
Such an XML document can look as follows:
The respnse includes all responses of the individual commands .
Configuration and encryption
The XML API supports two types of encryption:
Transport encryption:
If transport encryption is activated, the entire outgoing data
stream is encrypted by the XML service.
Incoming XML commands are only accepted and executed if they are encrypted
with the identical key and initialization vector.
Password encryption:
In this mode, only passwords of user accounts in XML
responses of the G&D device are encrypted. For this, a subset of the XML encryp-
tion (see page 19) is used.
When using XML commands, passwords in this mode can either be encrypted
(recommended) or sent to the device in plain text.
Both types of encryption use the
CBC-3DES
algorithm. You can configure the
required key and initialization vector (required only when using transport encryp-
tion) in the web application
Config Panel
.
COMBINING MULTIPLE COMMANDS IN AN XML DOCUMENT
<?xml version="1.0" encoding="utf-8"?>
<root>
<powerupoutlet>
<MultiPowerSwitch>0x0000000A</MultiPowerSwitch>
<Outlet>1</Outlet>
</powerupoutlet>
<powerdownoutlet>
<MultiPowerSwitch>0x0000000A</MultiPowerSwitch>
<Outlet>2</Outlet>
</powerdownoutlet>
<powerresetoutlet>
<MultiPowerSwitch>0x0000000A</MultiPowerSwitch>
<Outlet>3</Outlet>
<ResetDelay>10</ResetDelay>
</powerresetoutlet>
</root>