An example "Include" tag format is as follows:
<Include file="dcserver_template.xml" optional="true"/>
The attributes for the Include tag include the following:
file : This attribute specifies the name of the file to include. The included file must also be a properly
formatted DCServerConfig XML file. All device communication servers defined within this included file (as defined
by the "DCServer" tags) will be added to the device communication servers defined elswhere in this XML file.
Recursive Include directives are not allowed.
optional : This attribute specifies whether the include file is required to exist. If this value is "true" and the
include file does not exist, and error will be displayed. If this value is "false" and the include file does not exist,
then the Include directory is quietly ignored.
An example "DCServer" tag format is as follows:
<DCServer name="template">
<Description><![CDATA[
Example Template Server
]]></Description>
<UniqueIDPrefix><![CDATA[
template_
imei_
*
]]></UniqueIDPrefix>
<ListenPorts
tcpPort="31200"
udpPort="31200"
/>
<Properties>
<Property key="minimumSpeedKPH">4.0</Property>
<Property key="estimateOdometer">true</Property>
<Property key="simulateGeozones">true</Property>
</Properties>
</DCServer>
The attribute for the DCServer tag are as follows:
name : This attribute is required and specifies the name of the device communication server. The specified
name should be unique among all loaded device communication servers. If a name of a device communication
server is encountered that has already been defined, the subsequent named DCServer entry will be ignored.
"Description" sub-tag:
This tag specifies the optional description of the device communication server.
"UniqueIDPrefix" sub-tag:
This tag specifies the optional "Unique-ID" prefixes that will be used when looking up the device mobile-id in the
Device table. In the order specified, the specified prefix is prepended to the mobile-id then the resulting ID is
looked-up in the Device table "uniqueID" field. If not found, then the next prefix will be used. The prefix
specification "*" means that the mobile-id will be used as-is (without any prepended prefix).
OpenGTS Configuration and Installation Manual Page 38 of 60
Kommentare zu diesen Handbüchern