Encoding, Message template, Xml header – Wavecom W-RCI (Remote Control) V8.7.0 User Manual
Page 12: Extended xml header, Message elements
![background image](https://www.manualsdir.com/files/809342/content/doc012.png)
4
XML Messages
XML SDK V8.7.0 Remote Control Interface
Information messages provide information about the hardware, the software or hardware versions, the
state of the decoders, and the state and configuration of the server.
Error messages provide information about server system errors (not errors in the decoded data).
Encoding
The XML files are encoded in UTF-8, UTF-16 or Unicode.
Message template
XML header
Extended XML header
Content
The XML header is not interpreted by the server and may be included or omitted. For server messages the
header is empty.
Message elements
The implied attributes instance/subinstance, serial-nr, date and time only contain a value if the ex-
tended message header is set on the server. This can be done by sending a set configuration message.
Attribute List
version
The message version is formatted as major.minor version. A server will handle all messages from a client
as long as the major versions of the server and the client are equal and the minor version of the server is
equal to or greater than the minor version of the client. This attribute is locked to the version of the DTD
in the current Wavecom DTD.
instance
subinstance
In future decoder releases multiple codes may be instantiated on a single card. This feature requires that
the server knows the destination of the message or the client knows the source of the message. These at-
tributes are implied and are not used in this release.
serial-nr
The serial number of the decoder assigned to this client. This attribute is implied and represents a string.
date
Date of message creation. This attribute is implied and represents a string. The format of date is
YYYYMMDD.
time
Time of message creation. This attribute is implied and represents a string. The format of time is
hh:mm:ss:milliseconds.
Content
The content is a choice between the Data, Metadata, Command, Information and Error elements.