Subversion Repositories HomeAutomation

Rev

Rev 1262 | Rev 1266 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
946 runge 1
<?xml version="1.0" standalone="yes"?>
2
<root>
3
  <classes>
986 runge 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"/>
6
    <class id="12" name="act" description="Actuator nmt_messages"/>
7
    <class id="13" name="sns" description="Sensor nmt_messages"/>
946 runge 8
    <class id="14" name="def" description="Default, not to be used"/>
9
    <class id="15" name="tst" description="Testing stuff"/>
10
  </classes>
11
  <commands>
12
    <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is">
13
      <variables>
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=""/>
16
        <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
17
      </variables>
18
    </command>
968 runge 19
 
954 runge 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">
952 runge 22
      <variables>
23
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
24
      </variables>
25
    </command>
958 runge 26
 
27
    <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
28
      <variables>
29
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
1243 arune 30
        <variable name="Value" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
958 runge 31
      </variables>
32
    </command>
946 runge 33
    <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
34
      <variables>
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=""/>
37
      </variables>
38
    </command>
956 runge 39
    <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
40
      <variables>
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=""/>
43
      </variables>
44
    </command>
946 runge 45
    <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
46
      <variables>
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=""/>
49
      </variables>
50
    </command>
981 runge 51
    <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data">
52
      <variables>
53
        <variable name="Number" type="hexstring" start_bit="0" bit_length="64" unit="" description=""/>
54
      </variables>
55
    </command>
956 runge 56
    <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
57
      <variables>
58
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
1179 arune 59
        <variable name="Direction" type="enum" start_bit="8" bit_length="8" unit="" description="">
60
          <value id="0" name="Clockwise"/>
61
          <value id="1" name="Counterclockwise"/>
62
        </variable>
956 runge 63
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
64
        <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
65
      </variables>
66
    </command>
67
    <command id="70" name="Button" type="physical" module="" description="">
68
      <variables>
69
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
1046 runge 70
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
71
          <value id="1" name="Pressed"/>
72
          <value id="0" name="Released"/>
73
        </variable>
956 runge 74
      </variables>
75
    </command>
992 arune 76
    <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding">
77
      <variables>
1046 runge 78
        <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="State of remote button">
79
          <value id="1" name="Pressed"/>
80
          <value id="0" name="Released"/>
81
        </variable>
1059 runge 82
        <variable name="Protocol" type="enum" start_bit="8" bit_length="8" unit="" description="Button protocol">
83
          <value id="0" name="RC5"/>
84
          <value id="1" name="RC6"/>
85
          <value id="2" name="RCMM"/>
86
          <value id="3" name="SIRC"/>
87
          <value id="4" name="Sharp"/>
88
          <value id="5" name="NEC"/>
89
          <value id="6" name="Samsung"/>
90
          <value id="7" name="Marantz"/>
91
          <value id="255" name="Unknown"/>
92
        </variable>
992 arune 93
        <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
94
      </variables>
95
    </command>
1260 arune 96
    <command id="72" name="Current" type="physical" module="" description="Current data">
97
      <variables>
98
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
99
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Ampere" description=""/>
100
      </variables>
101
    </command>
1121 linlun 102
    <command id="73" name="ElectricPower" type="physical" module="" description="Message with data from a power meter">
103
      <variables>
104
        <variable name="Power" type="uint" start_bit="0" bit_length="16" unit="Watt" description=""/>
1193 linlun 105
        <variable name="EnergySum" type="uint" start_bit="16" bit_length="32" unit="W/h" description=""/>
1260 arune 106
        <variable name="Power32" type="uint" start_bit="48" bit_length="16" unit="Watt" description="Average of 32 measurments"/>
1121 linlun 107
      </variables>
108
    </command>
109
    <command id="128" name="setEnergy" type="specific" module="power" description="Set the energy value on the power meter module">
110
      <variables>
1193 linlun 111
        <variable name="Energy" type="uint" start_bit="0" bit_length="32" unit="W/h" description=""/>
1121 linlun 112
      </variables>
113
    </command>
992 arune 114
    <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
115
     <variables>
116
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
117
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
118
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
119
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
120
      </variables>
121
    </command>
1000 kribba 122
    <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
123
    <variables>
124
        <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
125
        <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
126
        <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/>
127
        <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/>
128
        <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/>
129
        <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/>
130
        <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
131
        <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
132
    </variables>
133
    </command>
968 runge 134
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
135
     <variables>
136
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
137
      </variables>
138
    </command>
946 runge 139
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
140
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
141
      <variables>
142
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
143
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
144
      </variables>
145
    </command>
146
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
147
      <variables>
148
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
149
      </variables>
150
    </command>
151
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
152
      <variables>
153
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
154
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
155
      </variables>
156
    </command>
157
    <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
158
      <variables>
159
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
160
      </variables>
161
    </command>
958 runge 162
      <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
946 runge 163
      <variables>
164
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
165
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
166
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
167
      </variables>
168
    </command>
1019 linlun 169
 
1110 linlun 170
    <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
171
    <variables>
1117 linlun 172
      <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
173
      <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
174
      <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
1110 linlun 175
      <variable name="Sum" type="uint" start_bit="48" bit_length="16" unit="" description=""/>
176
    </variables>
177
      </command>
178
    <command id="129" name="CONFIG" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration">
179
    <variables>
180
      <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
181
      <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
182
      <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
183
    </variables>
184
      </command>
1111 linlun 185
      <command id="128" name="CONFIG" type="specific" module="SlowPWM" description="Configure PWM output, if message is sent with 0 data bytes, module will respond with current configuration">
186
    <variables>
187
      <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
188
      <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
189
      <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description="">
190
        <value id="0" name="LOW"/>
191
        <value id="1" name="HIGH"/>
192
        <value id="2" name="TRISTATE"/>
193
      </variable>
194
       <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description="">
195
        <value id="0" name="ON"/>
196
        <value id="1" name="OFF"/>
197
      </variable>
198
    </variables>
199
      </command>
200
      <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
1017 linlun 201
      <variables>
1051 linlun 202
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
203
      <value id="0" name="Standard"/>
204
          <value id="1" name="Inverted"/>
205
    </variable>
1017 linlun 206
      </variables>
207
    </command>
1006 linlun 208
    <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
209
      <variables>
1019 linlun 210
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
211
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
1051 linlun 212
    <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output">
213
      <value id="0" name="Standard"/>
214
          <value id="1" name="Inverted"/>
215
    </variable>
216
    <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
217
      <value id="0" name="Standard"/>
218
      <value id="1" name="Transparent"/>
219
    </variable>
1006 linlun 220
      </variables>
221
    </command>
1019 linlun 222
    <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">
1006 linlun 223
      <variables>
224
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
225
      </variables>
226
    </command>
1019 linlun 227
    <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
228
      <variables>
1051 linlun 229
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
230
      <value id="0" name="Standard"/>
231
          <value id="1" name="Inverted"/>
232
    </variable>
1019 linlun 233
      </variables>
234
    </command>
1006 linlun 235
    <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
236
      <variables>
237
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
238
      </variables>
239
    </command>
1031 linlun 240
    <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
1006 linlun 241
      <variables>
1051 linlun 242
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
243
      <value id="0" name="Standard"/>
244
          <value id="1" name="Inverted"/>
245
    </variable>
246
    <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
247
      <value id="0" name="Standard"/>
248
      <value id="1" name="Transparent"/>
249
    </variable>  
1031 linlun 250
    <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
1006 linlun 251
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
252
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
253
      </variables>
254
    </command>
1031 linlun 255
    <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
256
      <variables>
1051 linlun 257
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
258
      <value id="0" name="Standard"/>
259
          <value id="1" name="Inverted"/>
260
    </variable>
261
    <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
262
      <value id="0" name="NoFill"/>
263
      <value id="1" name="Fill"/>
264
    </variable>  
1031 linlun 265
    <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
266
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
267
    <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
268
    <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
269
    <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
270
      </variables>
271
      </command>
272
 
273
      <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
274
    <variables>
1051 linlun 275
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
276
        <value id="0" name="Standard"/>
277
        <value id="1" name="Inverted"/>
278
      </variable>
1031 linlun 279
      <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
280
      <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
281
      <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
282
      <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
283
    </variables>
284
      </command>
1019 linlun 285
 
1031 linlun 286
      <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
287
    <variables>
1051 linlun 288
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
289
        <value id="0" name="Standard"/>
290
        <value id="1" name="Inverted"/>
291
      </variable>
1031 linlun 292
      <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
293
      <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
294
      <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
295
    </variables>
296
      </command>    
297
 
298
    <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD">
299
      <variables>
300
    <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
301
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
302
    <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
303
    <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
304
      </variables>
305
    </command>
1019 linlun 306
 
1251 linlun 307
    <command id="138" name="LCD_New_Image" type="specific" module="KS0108" description="Store a new image in eeprom">
308
      <variables>
309
    <variable name="image_id" type="uint" start_bit="0" bit_length="8" unit="" description="the new image id"/>
310
        <variable name="size_X" type="uint" start_bit="8" bit_length="8" unit="" description="Size in x direction"/>
311
        <variable name="size_Y" type="uint" start_bit="16" bit_length="8" unit="" description="Size in y direction"/>
312
      </variables>
313
    </command>
314
        <command id="139" name="LCD_Ack" type="specific" module="KS0108" description="Data correctly received">
315
      <variables>
316
    <variable name="packet_id" type="uint" start_bit="0" bit_length="8" unit="" description="Id of the packet that is acknoleged"/>
317
      </variables>
318
    </command>
319
 
320
        <command id="140" name="LCD_Error" type="specific" module="KS0108" description="Data error"/>
321
 
322
        <command id="141" name="LCD_Image_Data" type="specific" module="KS0108" description="Data"/>
323
        <command id="141" name="LCD_Image_Data_7" type="specific" module="KS0108" description="Data">
324
      <variables>
325
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
326
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
327
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
328
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
329
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
330
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
331
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
332
    <variable name="Data6" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
333
      </variables>
334
    </command>
335
    <command id="141" name="LCD_Image_Data_6" type="specific" module="KS0108" description="Data">
336
      <variables>
337
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
338
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
339
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
340
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
341
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
342
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
343
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
344
      </variables>
345
    </command>
346
    <command id="141" name="LCD_Image_Data_5" type="specific" module="KS0108" description="Data">
347
      <variables>
348
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
349
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
350
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
351
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
352
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
353
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
354
      </variables>
355
    </command>
356
    <command id="141" name="LCD_Image_Data_4" type="specific" module="KS0108" description="Data">
357
      <variables>
358
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
359
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
360
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
361
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
362
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
363
      </variables>
364
    </command>
365
    <command id="141" name="LCD_Image_Data_3" type="specific" module="KS0108" description="Data">
366
      <variables>
367
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
368
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
369
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
370
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
371
      </variables>
372
    </command>
373
    <command id="141" name="LCD_Image_Data_2" type="specific" module="KS0108" description="Data">
374
      <variables>
375
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
376
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
377
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
378
      </variables>
379
    </command>
380
    <command id="141" name="LCD_Image_Data_1" type="specific" module="KS0108" description="Data">
381
      <variables>
382
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
383
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
384
      </variables>
385
    </command>
386
    <command id="142" name="LCD_Data_id_Error" type="specific" module="KS0108" description="Wrong data id received">
387
      <variables>
388
    <variable name="id" type="uint" start_bit="0" bit_length="8" unit="" description="The expected id"/>
389
      </variables>
390
    </command>
391
 
392
        <command id="143" name="LCD_Data_Done" type="specific" module="KS0108" description="All data sent">
393
      <variables>
394
      </variables>
395
    </command>
396
 
1074 arune 397
    <command id="128" name="Demo" type="specific" module="Dimmer230" description="Fade to x+steps, then to x-steps and then back to x. If x is close to, or at, top or bottom then fade more to the other direction">
950 runge 398
     <variables>
1072 arune 399
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
400
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/>
950 runge 401
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
402
      </variables>
403
    </command>
1031 linlun 404
 
1072 arune 405
    <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
950 runge 406
     <variables>
1072 arune 407
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
408
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
1088 arune 409
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
410
            <value id="0" name="Decrease"/>
411
            <value id="1" name="Increase"/>
412
        </variable>
950 runge 413
      </variables>
414
    </command>
1072 arune 415
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop">
950 runge 416
      <variables>
1072 arune 417
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
950 runge 418
      </variables>
419
    </command>
1072 arune 420
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received">
950 runge 421
     <variables>
1072 arune 422
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
423
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
950 runge 424
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
425
      </variables>
426
    </command>
1072 arune 427
    <command id="132" name="Rel_Fade" type="specific" module="Dimmer230" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
950 runge 428
     <variables>
1072 arune 429
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
430
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/>
431
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
432
            <value id="0" name="Decrease"/>
433
            <value id="1" name="Increase"/>
434
        </variable>
435
        <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/>
950 runge 436
      </variables>
437
    </command>
1072 arune 438
    <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power">
439
     <variables>
440
        <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power">
441
            <value id="0" name="Disconnected"/>
442
            <value id="1" name="Connected"/>
443
        </variable>
1074 arune 444
        <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power">
445
            <value id="0" name="Error_Unknown"/>
446
            <value id="1" name="50Hz"/>
447
            <value id="2" name="60Hz"/>
448
        </variable>
1092 arune 449
        <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
1072 arune 450
      </variables>
451
    </command>
1177 linlun 452
    <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
1156 linlun 453
     <variables>
1177 linlun 454
        <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
455
        <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/>
456
     </variables>
1156 linlun 457
    </command>
946 runge 458
  </commands>
459
  <modules>
965 runge 460
    <module id="0" name="Debug" class="tst"/>
946 runge 461
    <module id="1" name="Default" class="def"/>
462
    <module id="3" name="DS18x20" class="sns"/>
463
    <module id="5" name="FOST02" class="sns"/>
464
    <module id="6" name="BusVoltage" class="sns"/>
465
    <module id="7" name="SimpleDTMF" class="sns"/>
466
    <module id="8" name="Rotary" class="sns"/>
953 runge 467
    <module id="9" name="HD44789" class="act"/>
468
    <module id="10" name="Dimmer230" class="act"/>
469
    <module id="11" name="KS0108" class="act"/>
954 runge 470
    <module id="12" name="RGBdriver" class="act"/>
980 linlun 471
    <module id="13" name="LEDPWM" class="act"/>
992 arune 472
    <module id="14" name="irReceive" class="sns"/>
1000 kribba 473
    <module id="15" name="nmea" class="sns"/>
1054 runge 474
    <module id="16" name="irTransmit" class="sns"/>
1098 linlun 475
    <module id="17" name="TC1047A" class="sns"/>
1110 linlun 476
    <module id="18" name="PID" class="act"/>
477
    <module id="19" name="SlowPWM" class="act"/>
1121 linlun 478
    <module id="20" name="power" class="sns"/>
1156 linlun 479
    <module id="21" name="softPWM" class="act"/>
946 runge 480
  </modules>
481
  <defines>
482
    <define id="1" group="DirectionFlag" name="From_Owner"/>
483
    <define id="0" group="DirectionFlag" name="To_Owner"/>
484
  </defines>
986 runge 485
  <nmt_messages>
486
    <nmt_message id="0" name="Time"/>
487
    <nmt_message id="4" name="Reset">
488
      <variables>
489
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
490
      </variables>
491
    </nmt_message>
492
    <nmt_message id="8" name="Bios_Start">
493
      <variables>
494
        <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
495
        <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
496
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
497
      </variables>
498
    </nmt_message>
499
    <nmt_message id="12" name="Pgm_Start">
500
      <variables>
1023 arune 501
        <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
502
        <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
503
        <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
504
        <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
986 runge 505
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
506
      </variables>
507
    </nmt_message>
1023 arune 508
    <nmt_message id="16" name="Pgm_Data">
986 runge 509
      <variables>
510
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
1023 arune 511
        <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
986 runge 512
      </variables>
513
    </nmt_message>
1023 arune 514
    <nmt_message id="16" name="Pgm_Data_48">
515
      <variables>
516
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
517
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
518
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
519
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
520
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
521
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
522
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
523
        <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
524
      </variables>
525
    </nmt_message>
526
    <nmt_message id="16" name="Pgm_Data_8">
527
      <variables>
528
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
529
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
530
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
531
      </variables>
532
    </nmt_message>
533
    <nmt_message id="16" name="Pgm_Data_16">
534
      <variables>
535
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
536
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
537
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
538
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
539
      </variables>
540
    </nmt_message>
541
    <nmt_message id="16" name="Pgm_Data_24">
542
      <variables>
543
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
544
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
545
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
546
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
547
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
548
      </variables>
549
    </nmt_message>
1015 arune 550
    <nmt_message id="16" name="Pgm_Data_32">
551
      <variables>
1023 arune 552
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
553
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
554
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
555
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
556
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
557
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
1015 arune 558
      </variables>
559
    </nmt_message>
1023 arune 560
    <nmt_message id="16" name="Pgm_Data_40">
1015 arune 561
      <variables>
1023 arune 562
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
563
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
564
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
565
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
566
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
567
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
568
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
1015 arune 569
      </variables>
570
    </nmt_message>
986 runge 571
    <nmt_message id="20" name="Pgm_End"/>
572
    <nmt_message id="24" name="Pgm_Copy">
573
      <variables>
1023 arune 574
        <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
575
        <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
576
        <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
577
        <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
578
        <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
579
        <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
986 runge 580
      </variables>
581
    </nmt_message>
582
    <nmt_message id="28" name="Pgm_Ack">
583
      <variables>
584
        <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
585
      </variables>
586
    </nmt_message>
587
    <nmt_message id="32" name="Pgm_Nack">
588
      <variables>
589
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
590
      </variables>
591
    </nmt_message>
592
    <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
593
      <variables>
594
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
595
      </variables>
596
    </nmt_message>
597
    <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
598
      <variables>
599
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
600
      </variables>
601
    </nmt_message>
602
    <nmt_message id="44" name="Heartbeat">
603
      <variables>
604
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
605
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
606
      </variables>
607
    </nmt_message>
608
  </nmt_messages>
946 runge 609
</root>