1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 Configuration Information DTD
4 Copyright (C) 2005-2011 Martin Koegler mkoegler@auto.tuwien.ac.at
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 Modified version of this specification must change the namespace.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 <!-- defines version 0.0.0 -->
25 <!ENTITY % IDSTRING
"CDATA">
26 <!ENTITY % STRING
"(#PCDATA)">
28 <!ENTITY % INT
"(#PCDATA)">
29 <!ENTITY % BOOL
"(#PCDATA)">
30 <!ENTITY % FLOAT
"(#PCDATA)">
32 <!ENTITY % PRIORITY
"(#PCDATA)">
34 <!ENTITY % EIBADDR
"(#PCDATA)">
35 <!ENTITY % GROUPADDR
"(#PCDATA)">
36 <!ENTITY % POLLINGADDR
"(#PCDATA)">
37 <!ENTITY % POLLINGSLOT
"(#PCDATA)">
38 <!ENTITY % POLLINGCOUNT
"(#PCDATA)">
40 <!ENTITY % KEY
"(#PCDATA)">
41 <!ENTITY % KEYID
"CDATA">
43 <!ENTITY % ACCESSLEVEL
"(#PCDATA)">
45 <!ELEMENT InstallKey %KEY;
>
51 <!ELEMENT GroupAddr %GROUPADDR;
>
52 <!ELEMENT PollingAddress %POLLINGADDR;
>
54 <!ELEMENT Priority %PRIORITY;
>
55 <!ELEMENT SendAddress %GROUPADDR;
>
56 <!ELEMENT ReadRequestAddress %GROUPADDR;
>
57 <!ELEMENT ReceiveAddress (GroupAddr+)
>
58 <!ELEMENT ReadAddress (GroupAddr+)
>
59 <!ELEMENT UpdateAddress (GroupAddr+)
>
61 <!ELEMENT GroupObject (Priority?,SendAddress?,ReadRequestAddress?,ReceiveAddress?,ReadAddress?,UpdateAddress?)
>
66 <!ELEMENT Disable %BOOL;
>
67 <!ELEMENT ReadOnly %BOOL;
>
68 <!ELEMENT ReadAccess %ACCESSLEVEL;
>
69 <!ELEMENT WriteAccess %ACCESSLEVEL;
>
71 <!ELEMENT Property (Disable?,ReadOnly?,ReadAccess?,WriteAccess?)
>
76 <!ELEMENT PollingCount %POLLINGCOUNT;
>
78 <!ELEMENT PollingMaster (PollingAddress,PollingCount)
?>
79 <!ATTLIST PollingMaster
83 <!ELEMENT PollingSlot %POLLINGSLOT;
>
85 <!ELEMENT PollingSlave (PollingAddress,PollingSlot)
?>
86 <!ATTLIST PollingSlave
90 <!ELEMENT Value %STRING;
>
92 <!ELEMENT ListParameter (Value)
>
93 <!ATTLIST ListParameter
97 <!ELEMENT IntParameter (Value)
>
98 <!ATTLIST IntParameter
102 <!ELEMENT FloatParameter (Value)
>
103 <!ATTLIST FloatParameter
107 <!ELEMENT StringParameter (Value)
>
108 <!ATTLIST StringParameter
112 <!ELEMENT Parameter (ListParameter|IntParameter|FloatParameter|StringParameter)+
>
114 <!ELEMENT ProgramID %STRING;
>
115 <!ELEMENT PhysicalAddress %EIBADDR;
>
118 <!ELEMENT DeviceConfig (ProgramID,PhysicalAddress,InstallKey?,Key*,(GroupObject|Property|PollingMaster|PollingSlave)*,Parameter?)
>
119 <!ATTLIST DeviceConfig
120 version %IDSTRING; #REQUIRED