Use Of Device Ids; Use Of Port Names; Responses And Messages Of G&D Devices; Responses Of The Device - G&D DP1.4-MUX2-NT Manual

Table of Contents

Advertisement

Available languages

Available languages

Controlling the KVM switch via XML

Use of device IDs

For responses and messages of the XML API, device IDs are output as hexadecimal
values with the prefix
In commands, device IDs can be stated as hexadecimal values with the prefix
octal values with the prefix
optional for hexadecimal notation.

Use of port names

Port names are always displayed in a visible notation. The port names are the same as
printed on the device panel.
Responses and messages of G&D devices
After processing an XML document, the G&D device always responds with a com-
plete XML document.

Responses of the device

Responses of the device are included in a
The attribute <
type>
several commands within the same XML document (see below), you can assign the
responses to the different commands.
EXEMPLARY RESPONSE OF XML API
<?xml version="1.0" encoding="utf-8"?>
<root>
<result type="nextmuxchannel">
<commandStatus>Command 'connectMux' succeeded.</commandStatus>
</result>
</root>

Messages of the device

If the XML service is not able to process a request, the service responds with an
error document:
STRUCTURE OF AN ERROR DOCUMENT
<?xml version="1.0" encoding="utf-8"?>
<root>
<Error>Invalid request document</Error>
</root>
Depending on the type of message, responses to commands, which are not executed
by the XML service itself, but are delegated to the device service of the KVM switch,
are shown in different XML containers.
27 · G&D DP1.4-MUX2-NT
.
0x
or as decimal values. Leading zeros in the ID are
0
includes the name of the executed command. When executing
<result>
tag.
0x
, as

Advertisement

Chapters

Table of Contents
loading

Table of Contents