Subversion Repositories HomeAutomation

Rev

Rev 1023 | Rev 1046 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1023 Rev 1031
1
<?xml version="1.0" standalone="yes"?>
1
<?xml version="1.0" standalone="yes"?>
2
<root>
2
<root>
3
  <classes>
3
  <classes>
4
    <class id="0" name="nmt" description="Networkmanagement used only for packets with the nmt-protcol header"/>
4
    <class id="0" name="nmt" description="Networkmanagement used only for packets with the nmt-protcol header"/>
5
    <class id="11" name="mnmt" description="Module networkmanagement, right now only used for requesting module listing from a node"/>
5
    <class id="11" name="mnmt" description="Module networkmanagement, right now only used for requesting module listing from a node"/>
6
    <class id="12" name="act" description="Actuator nmt_messages"/>
6
    <class id="12" name="act" description="Actuator nmt_messages"/>
7
    <class id="13" name="sns" description="Sensor nmt_messages"/>
7
    <class id="13" name="sns" description="Sensor nmt_messages"/>
8
    <class id="14" name="def" description="Default, not to be used"/>
8
    <class id="14" name="def" description="Default, not to be used"/>
9
    <class id="15" name="tst" description="Testing stuff"/>
9
    <class id="15" name="tst" description="Testing stuff"/>
10
  </classes>
10
  </classes>
11
  <commands>
11
  <commands>
12
    <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is">
12
    <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is">
13
      <variables>
13
      <variables>
14
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
14
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
15
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
15
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
16
        <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
16
        <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
17
      </variables>
17
      </variables>
18
    </command>
18
    </command>
19
   
19
   
20
    <command id="2" name="Debug" type="global" module="" description="Used for debugging, should not be used for anything real"/>
20
    <command id="2" name="Debug" type="global" module="" description="Used for debugging, should not be used for anything real"/>
21
    <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting">
21
    <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting">
22
      <variables>
22
      <variables>
23
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
23
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
24
      </variables>
24
      </variables>
25
    </command>
25
    </command>
26
   
26
   
27
    <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
27
    <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
28
      <variables>
28
      <variables>
29
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
29
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
30
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
30
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
31
      </variables>
31
      </variables>
32
    </command>
32
    </command>
33
    <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
33
    <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
34
      <variables>
34
      <variables>
35
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
35
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
36
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/>
36
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/>
37
      </variables>
37
      </variables>
38
    </command>
38
    </command>
39
    <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
39
    <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
40
      <variables>
40
      <variables>
41
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
41
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
42
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
42
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
43
      </variables>
43
      </variables>
44
    </command>
44
    </command>
45
    <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
45
    <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
46
      <variables>
46
      <variables>
47
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
47
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
48
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
48
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
49
      </variables>
49
      </variables>
50
    </command>
50
    </command>
51
    <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data">
51
    <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data">
52
      <variables>
52
      <variables>
53
        <variable name="Number" type="hexstring" start_bit="0" bit_length="64" unit="" description=""/>
53
        <variable name="Number" type="hexstring" start_bit="0" bit_length="64" unit="" description=""/>
54
      </variables>
54
      </variables>
55
    </command>
55
    </command>
56
    <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
56
    <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
57
      <variables>
57
      <variables>
58
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
58
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
59
        <variable name="Direction" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
59
        <variable name="Direction" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
60
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
60
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
61
        <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
61
        <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
62
      </variables>
62
      </variables>
63
    </command>
63
    </command>
64
    <command id="70" name="Button" type="physical" module="" description="">
64
    <command id="70" name="Button" type="physical" module="" description="">
65
      <variables>
65
      <variables>
66
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
66
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
67
        <variable name="Status" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
67
        <variable name="Status" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
68
      </variables>
68
      </variables>
69
    </command>
69
    </command>
70
    <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding">
70
    <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding">
71
      <variables>
71
      <variables>
72
        <variable name="Status" type="uint" start_bit="0" bit_length="8" unit="" description="State of remote button"/>
72
        <variable name="Status" type="uint" start_bit="0" bit_length="8" unit="" description="State of remote button"/>
73
        <variable name="Protocol" type="uint" start_bit="8" bit_length="8" unit="" description="Button protocol"/>
73
        <variable name="Protocol" type="uint" start_bit="8" bit_length="8" unit="" description="Button protocol"/>
74
        <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
74
        <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
75
      </variables>
75
      </variables>
76
    </command>
76
    </command>
77
   
77
   
78
    <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
78
    <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
79
     <variables>
79
     <variables>
80
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
80
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
81
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
81
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
82
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
82
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
83
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
83
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
84
      </variables>
84
      </variables>
85
    </command>
85
    </command>
86
    <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
86
    <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
87
    <variables>
87
    <variables>
88
        <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
88
        <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
89
        <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
89
        <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
90
        <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/>
90
        <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/>
91
        <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/>
91
        <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/>
92
        <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/>
92
        <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/>
93
        <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/>
93
        <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/>
94
        <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
94
        <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
95
        <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
95
        <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
96
    </variables>
96
    </variables>
97
    </command>
97
    </command>
98
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
98
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
99
     <variables>
99
     <variables>
100
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
100
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
101
      </variables>
101
      </variables>
102
    </command>
102
    </command>
103
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
103
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
104
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
104
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
105
      <variables>
105
      <variables>
106
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
106
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
107
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
107
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
108
      </variables>
108
      </variables>
109
    </command>
109
    </command>
110
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
110
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
111
      <variables>
111
      <variables>
112
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
112
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
113
      </variables>
113
      </variables>
114
    </command>
114
    </command>
115
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
115
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
116
      <variables>
116
      <variables>
117
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
117
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
118
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
118
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
119
      </variables>
119
      </variables>
120
    </command>
120
    </command>
121
    <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
121
    <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
122
      <variables>
122
      <variables>
123
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
123
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
124
      </variables>
124
      </variables>
125
    </command>
125
    </command>
126
      <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
126
      <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
127
      <variables>
127
      <variables>
128
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
128
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
129
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
129
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
130
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
130
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
131
      </variables>
131
      </variables>
132
    </command>
132
    </command>
133
   
133
   
134
   
134
   
135
   
135
   
136
   
136
   
137
    <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
137
    <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
138
      <variables>
138
      <variables>
139
        <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
139
        <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
140
      </variables>
140
      </variables>
141
    </command>
141
    </command>
142
    <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
142
    <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
143
      <variables>
143
      <variables>
144
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
144
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
145
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
145
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
146
    <variable name="Inverted" type="uint" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output"/>
146
    <variable name="Inverted" type="uint" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output"/>
147
    <variable name="Transparent" type="uint" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"/>
147
    <variable name="Transparent" type="uint" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"/>
148
      </variables>
148
      </variables>
149
    </command>
149
    </command>
150
    <command id="130" name="LCD_Text" type="specific" module="KS0108" description="Print text on LCD on current postion, according to the latest LCD_Cursor command">
150
    <command id="130" name="LCD_Text" type="specific" module="KS0108" description="Print text on LCD on current postion, according to the latest LCD_Cursor command">
151
      <variables>
151
      <variables>
152
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
152
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
153
      </variables>
153
      </variables>
154
    </command>
154
    </command>
155
    <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
155
    <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
156
      <variables>
156
      <variables>
157
        <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
157
        <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
158
      </variables>
158
      </variables>
159
    </command>
159
    </command>
160
    <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
160
    <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
161
      <variables>
161
      <variables>
162
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
162
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
163
      </variables>
163
      </variables>
164
    </command>
164
    </command>
165
      <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
165
    <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
166
      <variables>
166
      <variables>
167
        <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
167
        <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
168
    <variable name="Transparent" type="uint" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"/>
168
    <variable name="Transparent" type="uint" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"/>
169
    <variable name="X" type="uint" start_bit="2" bit_length="8" unit="" description=""/>
169
    <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
170
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
170
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
171
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
171
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
172
      </variables>
172
      </variables>
173
    </command>
173
    </command>
-
 
174
    <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
-
 
175
      <variables>
-
 
176
        <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
-
 
177
    <variable name="Fill" type="uint" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled"/>
-
 
178
    <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
-
 
179
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
-
 
180
    <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
-
 
181
    <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
-
 
182
    <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
-
 
183
      </variables>
-
 
184
      </command>
174
   
185
     
-
 
186
      <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
-
 
187
    <variables>
-
 
188
      <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
-
 
189
      <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
-
 
190
      <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
-
 
191
      <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
-
 
192
      <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
-
 
193
    </variables>
-
 
194
      </command>
175
   
195
   
-
 
196
      <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
-
 
197
    <variables>
-
 
198
      <variable name="Inverted" type="uint" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"/>
-
 
199
      <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
-
 
200
      <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
-
 
201
      <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
-
 
202
    </variables>
-
 
203
      </command>    
-
 
204
 
-
 
205
    <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD">
-
 
206
      <variables>
-
 
207
    <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
-
 
208
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
-
 
209
    <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
-
 
210
    <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
-
 
211
      </variables>
176
   
212
    </command>
177
   
213
   
178
    <command id="128" name="Demo" type="specific" module="Dimmer230" description="">
214
    <command id="128" name="Demo" type="specific" module="Dimmer230" description="">
179
     <variables>
215
     <variables>
180
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
216
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
181
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
217
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
182
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
218
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
183
      </variables>
219
      </variables>
184
    </command>
220
    </command>
-
 
221
   
185
    <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description="">
222
    <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description="">
186
     <variables>
223
     <variables>
187
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
224
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
188
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
225
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
189
        <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
226
        <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
190
      </variables>
227
      </variables>
191
    </command>
228
    </command>
192
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="">
229
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="">
193
      <variables>
230
      <variables>
194
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
231
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
195
      </variables>
232
      </variables>
196
    </command>
233
    </command>
197
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="">
234
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="">
198
     <variables>
235
     <variables>
199
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
236
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
200
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
237
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
201
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
238
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
202
      </variables>
239
      </variables>
203
    </command>
240
    </command>
204
    <command id="132" name="Rel_Fade" type="specific" module="Dimmer230" description="">
241
    <command id="132" name="Rel_Fade" type="specific" module="Dimmer230" description="">
205
     <variables>
242
     <variables>
206
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
243
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
207
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
244
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
208
        <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
245
        <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
209
        <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
246
        <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
210
      </variables>
247
      </variables>
211
    </command>
248
    </command>
212
  </commands>
249
  </commands>
213
  <modules>
250
  <modules>
214
    <module id="0" name="Debug" class="tst"/>
251
    <module id="0" name="Debug" class="tst"/>
215
    <module id="1" name="Default" class="def"/>
252
    <module id="1" name="Default" class="def"/>
216
    <module id="3" name="DS18x20" class="sns"/>
253
    <module id="3" name="DS18x20" class="sns"/>
217
    <module id="5" name="FOST02" class="sns"/>
254
    <module id="5" name="FOST02" class="sns"/>
218
    <module id="6" name="BusVoltage" class="sns"/>
255
    <module id="6" name="BusVoltage" class="sns"/>
219
    <module id="7" name="SimpleDTMF" class="sns"/>
256
    <module id="7" name="SimpleDTMF" class="sns"/>
220
    <module id="8" name="Rotary" class="sns"/>
257
    <module id="8" name="Rotary" class="sns"/>
221
    <module id="9" name="HD44789" class="act"/>
258
    <module id="9" name="HD44789" class="act"/>
222
    <module id="10" name="Dimmer230" class="act"/>
259
    <module id="10" name="Dimmer230" class="act"/>
223
    <module id="11" name="KS0108" class="act"/>
260
    <module id="11" name="KS0108" class="act"/>
224
    <module id="12" name="RGBdriver" class="act"/>
261
    <module id="12" name="RGBdriver" class="act"/>
225
    <module id="13" name="LEDPWM" class="act"/>
262
    <module id="13" name="LEDPWM" class="act"/>
226
    <module id="14" name="irReceive" class="sns"/>
263
    <module id="14" name="irReceive" class="sns"/>
227
    <module id="15" name="nmea" class="sns"/>
264
    <module id="15" name="nmea" class="sns"/>
228
  </modules>
265
  </modules>
229
  <defines>
266
  <defines>
230
    <define id="1" group="DirectionFlag" name="From_Owner"/>
267
    <define id="1" group="DirectionFlag" name="From_Owner"/>
231
    <define id="0" group="DirectionFlag" name="To_Owner"/>
268
    <define id="0" group="DirectionFlag" name="To_Owner"/>
232
  </defines>
269
  </defines>
233
  <nmt_messages>
270
  <nmt_messages>
234
    <nmt_message id="0" name="Time"/>
271
    <nmt_message id="0" name="Time"/>
235
    <nmt_message id="4" name="Reset">
272
    <nmt_message id="4" name="Reset">
236
      <variables>
273
      <variables>
237
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
274
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
238
      </variables>
275
      </variables>
239
    </nmt_message>
276
    </nmt_message>
240
    <nmt_message id="8" name="Bios_Start">
277
    <nmt_message id="8" name="Bios_Start">
241
      <variables>
278
      <variables>
242
        <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
279
        <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
243
        <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
280
        <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
244
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
281
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
245
      </variables>
282
      </variables>
246
    </nmt_message>
283
    </nmt_message>
247
    <nmt_message id="12" name="Pgm_Start">
284
    <nmt_message id="12" name="Pgm_Start">
248
      <variables>
285
      <variables>
249
        <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
286
        <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
250
        <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
287
        <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
251
        <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
288
        <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
252
        <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
289
        <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
253
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
290
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
254
      </variables>
291
      </variables>
255
    </nmt_message>
292
    </nmt_message>
256
    <nmt_message id="16" name="Pgm_Data">
293
    <nmt_message id="16" name="Pgm_Data">
257
      <variables>
294
      <variables>
258
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
295
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
259
        <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
296
        <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
260
      </variables>
297
      </variables>
261
    </nmt_message>
298
    </nmt_message>
262
    <nmt_message id="16" name="Pgm_Data_48">
299
    <nmt_message id="16" name="Pgm_Data_48">
263
      <variables>
300
      <variables>
264
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
301
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
265
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
302
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
266
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
303
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
267
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
304
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
268
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
305
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
269
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
306
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
270
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
307
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
271
        <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
308
        <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
272
      </variables>
309
      </variables>
273
    </nmt_message>
310
    </nmt_message>
274
    <nmt_message id="16" name="Pgm_Data_8">
311
    <nmt_message id="16" name="Pgm_Data_8">
275
      <variables>
312
      <variables>
276
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
313
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
277
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
314
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
278
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
315
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
279
      </variables>
316
      </variables>
280
    </nmt_message>
317
    </nmt_message>
281
    <nmt_message id="16" name="Pgm_Data_16">
318
    <nmt_message id="16" name="Pgm_Data_16">
282
      <variables>
319
      <variables>
283
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
320
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
284
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
321
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
285
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
322
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
286
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
323
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
287
      </variables>
324
      </variables>
288
    </nmt_message>
325
    </nmt_message>
289
    <nmt_message id="16" name="Pgm_Data_24">
326
    <nmt_message id="16" name="Pgm_Data_24">
290
      <variables>
327
      <variables>
291
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
328
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
292
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
329
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
293
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
330
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
294
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
331
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
295
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
332
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
296
      </variables>
333
      </variables>
297
    </nmt_message>
334
    </nmt_message>
298
    <nmt_message id="16" name="Pgm_Data_32">
335
    <nmt_message id="16" name="Pgm_Data_32">
299
      <variables>
336
      <variables>
300
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
337
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
301
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
338
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
302
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
339
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
303
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
340
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
304
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
341
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
305
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
342
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
306
      </variables>
343
      </variables>
307
    </nmt_message>
344
    </nmt_message>
308
    <nmt_message id="16" name="Pgm_Data_40">
345
    <nmt_message id="16" name="Pgm_Data_40">
309
      <variables>
346
      <variables>
310
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
347
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
311
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
348
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
312
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
349
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
313
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
350
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
314
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
351
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
315
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
352
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
316
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
353
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
317
      </variables>
354
      </variables>
318
    </nmt_message>
355
    </nmt_message>
319
    <nmt_message id="20" name="Pgm_End"/>
356
    <nmt_message id="20" name="Pgm_End"/>
320
    <nmt_message id="24" name="Pgm_Copy">
357
    <nmt_message id="24" name="Pgm_Copy">
321
      <variables>
358
      <variables>
322
        <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
359
        <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
323
        <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
360
        <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
324
        <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
361
        <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
325
        <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
362
        <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
326
        <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
363
        <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
327
        <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
364
        <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
328
      </variables>
365
      </variables>
329
    </nmt_message>
366
    </nmt_message>
330
    <nmt_message id="28" name="Pgm_Ack">
367
    <nmt_message id="28" name="Pgm_Ack">
331
      <variables>
368
      <variables>
332
        <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
369
        <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
333
      </variables>
370
      </variables>
334
    </nmt_message>
371
    </nmt_message>
335
    <nmt_message id="32" name="Pgm_Nack">
372
    <nmt_message id="32" name="Pgm_Nack">
336
      <variables>
373
      <variables>
337
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
374
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
338
      </variables>
375
      </variables>
339
    </nmt_message>
376
    </nmt_message>
340
    <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
377
    <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
341
      <variables>
378
      <variables>
342
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
379
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
343
      </variables>
380
      </variables>
344
    </nmt_message>
381
    </nmt_message>
345
    <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
382
    <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
346
      <variables>
383
      <variables>
347
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
384
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
348
      </variables>
385
      </variables>
349
    </nmt_message>
386
    </nmt_message>
350
    <nmt_message id="44" name="Heartbeat">
387
    <nmt_message id="44" name="Heartbeat">
351
      <variables>
388
      <variables>
352
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
389
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
353
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
390
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
354
      </variables>
391
      </variables>
355
    </nmt_message>
392
    </nmt_message>
356
  </nmt_messages>
393
  </nmt_messages>
357
</root>
394
</root>
358
 
395