Subversion Repositories HomeAutomation

Rev

Rev 1443 | Rev 1452 | 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"/>
1266 pengi 10
    <class id="10" name="chn" description="Control channel based"/>
946 runge 11
  </classes>
12
  <commands>
13
    <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is">
14
      <variables>
15
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
16
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
17
        <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
18
      </variables>
19
    </command>
968 runge 20
 
954 runge 21
    <command id="2" name="Debug" type="global" module="" description="Used for debugging, should not be used for anything real"/>
22
    <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting">
952 runge 23
      <variables>
24
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
25
      </variables>
26
    </command>
958 runge 27
 
28
    <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
29
      <variables>
30
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
1380 linlun 31
        <variable name="Value" type="uint" start_bit="8" bit_length="16" unit="" description=""/>
958 runge 32
      </variables>
33
    </command>
946 runge 34
    <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
35
      <variables>
36
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
37
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/>
38
      </variables>
39
    </command>
956 runge 40
    <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
41
      <variables>
42
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
43
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
44
      </variables>
45
    </command>
946 runge 46
    <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
47
      <variables>
48
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
49
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
50
      </variables>
51
    </command>
981 runge 52
    <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data">
53
      <variables>
54
        <variable name="Number" type="hexstring" start_bit="0" bit_length="64" unit="" description=""/>
55
      </variables>
56
    </command>
956 runge 57
    <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
58
      <variables>
59
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
1179 arune 60
        <variable name="Direction" type="enum" start_bit="8" bit_length="8" unit="" description="">
61
          <value id="0" name="Clockwise"/>
62
          <value id="1" name="Counterclockwise"/>
63
        </variable>
956 runge 64
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
65
        <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
66
      </variables>
67
    </command>
68
    <command id="70" name="Button" type="physical" module="" description="">
69
      <variables>
70
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
1046 runge 71
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
72
          <value id="1" name="Pressed"/>
73
          <value id="0" name="Released"/>
74
        </variable>
956 runge 75
      </variables>
76
    </command>
992 arune 77
    <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding">
78
      <variables>
1046 runge 79
        <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="State of remote button">
80
          <value id="1" name="Pressed"/>
81
          <value id="0" name="Released"/>
82
        </variable>
1059 runge 83
        <variable name="Protocol" type="enum" start_bit="8" bit_length="8" unit="" description="Button protocol">
84
          <value id="0" name="RC5"/>
85
          <value id="1" name="RC6"/>
86
          <value id="2" name="RCMM"/>
87
          <value id="3" name="SIRC"/>
88
          <value id="4" name="Sharp"/>
89
          <value id="5" name="NEC"/>
90
          <value id="6" name="Samsung"/>
91
          <value id="7" name="Marantz"/>
1321 arune 92
          <value id="8" name="Panasonic"/>
1059 runge 93
          <value id="255" name="Unknown"/>
94
        </variable>
992 arune 95
        <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
96
      </variables>
97
    </command>
1260 arune 98
    <command id="72" name="Current" type="physical" module="" description="Current data">
99
      <variables>
100
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
101
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Ampere" description=""/>
102
      </variables>
103
    </command>
1121 linlun 104
    <command id="73" name="ElectricPower" type="physical" module="" description="Message with data from a power meter">
105
      <variables>
106
        <variable name="Power" type="uint" start_bit="0" bit_length="16" unit="Watt" description=""/>
1193 linlun 107
        <variable name="EnergySum" type="uint" start_bit="16" bit_length="32" unit="W/h" description=""/>
1260 arune 108
        <variable name="Power32" type="uint" start_bit="48" bit_length="16" unit="Watt" description="Average of 32 measurments"/>
1121 linlun 109
      </variables>
110
    </command>
1419 linlun 111
    <command id="74" name="SetPin" type="physical" module="" description="">
112
      <variables>
113
        <variable name="PinId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
114
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
115
          <value id="1" name="High"/>
116
          <value id="0" name="Low"/>
117
        </variable>
118
      </variables>
119
    </command>
1421 linlun 120
        <command id="75" name="PinStatus" type="physical" module="" description="">
121
      <variables>
122
        <variable name="PinId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
123
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
124
          <value id="1" name="High"/>
125
          <value id="0" name="Low"/>
126
        </variable>
127
      </variables>
128
    </command>
1121 linlun 129
    <command id="128" name="setEnergy" type="specific" module="power" description="Set the energy value on the power meter module">
130
      <variables>
1193 linlun 131
        <variable name="Energy" type="uint" start_bit="0" bit_length="32" unit="W/h" description=""/>
1121 linlun 132
      </variables>
133
    </command>
1436 linlun 134
    <command id="129" name="avgPower" type="specific" module="power" description="The energy since last message">
135
      <variables>
136
        <variable name="Energy" type="uint" start_bit="0" bit_length="16" unit="W/(10*h)" description=""/>
137
      </variables>
138
    </command>    
992 arune 139
    <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
140
     <variables>
141
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
142
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
143
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
144
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
145
      </variables>
146
    </command>
1000 kribba 147
    <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
148
    <variables>
149
        <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
150
        <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
151
        <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/>
152
        <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/>
153
        <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/>
154
        <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/>
155
        <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
156
        <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
157
    </variables>
158
    </command>
968 runge 159
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
160
     <variables>
161
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
162
      </variables>
163
    </command>
946 runge 164
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
165
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
166
      <variables>
167
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
168
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
169
      </variables>
170
    </command>
171
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
172
      <variables>
173
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
174
      </variables>
175
    </command>
176
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
177
      <variables>
178
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
179
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
180
      </variables>
181
    </command>
182
    <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
183
      <variables>
184
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
1427 linlun 185
    <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description="">
186
        <value id="0" name="OFF"/>
187
        <value id="1" name="ON"/>
188
    </variable>
946 runge 189
      </variables>
190
    </command>
958 runge 191
      <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
946 runge 192
      <variables>
193
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
194
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
195
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
196
      </variables>
197
    </command>
1438 linlun 198
     <command id="128" name="DEBUG" type="specific" module="RGBdriver" description="Debug data from RGB-driver">
199
    <variables>
200
      <variable name="ADC_W" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
201
      <variable name="ADC_R" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
202
      <variable name="ADC_G" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
203
      <variable name="ADC_B" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
204
      <variable name="PWM_W" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
205
      <variable name="PWM_R" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
206
      <variable name="PWM_G" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
207
      <variable name="PWM_B" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
208
    </variables>
209
      </command>
1448 myhrman 210
    <command id="128" name="SerialData" type="specific" module="Serial" description="Serial data">
211
      <variables>
212
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
213
      </variables>
214
    </command>  
1110 linlun 215
    <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
216
    <variables>
1117 linlun 217
      <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
218
      <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
219
      <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
1380 linlun 220
      <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
1110 linlun 221
    </variables>
222
      </command>
1363 linlun 223
      <command id="129" name="CONFIG_SENSOR" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration">
1110 linlun 224
    <variables>
225
      <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
226
      <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
227
      <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
228
    </variables>
229
      </command>
1363 linlun 230
      <command id="130" name="CONFIG_ACTUATOR" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration">
231
    <variables>
232
      <variable name="actuatorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
233
      <variable name="actuatorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
234
      <variable name="actuatorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
235
    </variables>
236
      </command>
237
      <command id="131" name="CONFIG_PARAMETER" type="specific" module="PID" description="Configure PID regulator constants, if message is sent with 0 data bytes, module will respond with current configuration">
238
    <variables>
239
      <variable name="K_P" type="float" start_bit="0" bit_length="16" unit="" description=""/>
240
      <variable name="K_I" type="float" start_bit="16" bit_length="16" unit="" description=""/>
241
      <variable name="K_D" type="float" start_bit="32" bit_length="16" unit="" description=""/>
1376 linlun 242
      <variable name="TimeUnit" type="enum" start_bit="48" bit_length="1" unit="" description="">
1380 linlun 243
        <value id="0" name="s"/>
244
        <value id="1" name="ms"/>
1363 linlun 245
      </variable>
1380 linlun 246
      <variable name="RegulatorTime" type="uint" start_bit="49" bit_length="15" unit="" description=""/>
1363 linlun 247
    </variables>
248
      </command>
249
      <command id="132" name="PID_STATUS" type="specific" module="PID" description="information about the pid controller">
250
    <variables>
251
      <variable name="Measurment" type="float" start_bit="0" bit_length="16" unit="" description=""/>
252
      <variable name="Reference" type="float" start_bit="16" bit_length="16" unit="" description=""/>
1380 linlun 253
      <variable name="PWM" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
254
      <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
1363 linlun 255
    </variables>
256
      </command>
1111 linlun 257
      <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">
258
    <variables>
259
      <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
260
      <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
261
      <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description="">
262
        <value id="0" name="LOW"/>
263
        <value id="1" name="HIGH"/>
264
        <value id="2" name="TRISTATE"/>
265
      </variable>
266
       <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description="">
267
        <value id="0" name="ON"/>
268
        <value id="1" name="OFF"/>
269
      </variable>
270
    </variables>
271
      </command>
272
      <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
1017 linlun 273
      <variables>
1051 linlun 274
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
275
      <value id="0" name="Standard"/>
276
          <value id="1" name="Inverted"/>
277
    </variable>
1017 linlun 278
      </variables>
279
    </command>
1006 linlun 280
    <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
281
      <variables>
1019 linlun 282
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
283
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
1051 linlun 284
    <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output">
285
      <value id="0" name="Standard"/>
286
          <value id="1" name="Inverted"/>
287
    </variable>
288
    <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
289
      <value id="0" name="Standard"/>
290
      <value id="1" name="Transparent"/>
291
    </variable>
1006 linlun 292
      </variables>
293
    </command>
1019 linlun 294
    <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 295
      <variables>
296
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
297
      </variables>
298
    </command>
1019 linlun 299
    <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
300
      <variables>
1051 linlun 301
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
302
      <value id="0" name="Standard"/>
303
          <value id="1" name="Inverted"/>
304
    </variable>
1019 linlun 305
      </variables>
306
    </command>
1006 linlun 307
    <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
308
      <variables>
309
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
1427 linlun 310
    <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description="">
311
        <value id="0" name="OFF"/>
312
        <value id="1" name="ON"/>
313
    </variable>
1006 linlun 314
      </variables>
315
    </command>
1031 linlun 316
    <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
1006 linlun 317
      <variables>
1051 linlun 318
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
319
      <value id="0" name="Standard"/>
320
          <value id="1" name="Inverted"/>
321
    </variable>
322
    <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
323
      <value id="0" name="Standard"/>
324
      <value id="1" name="Transparent"/>
325
    </variable>  
1031 linlun 326
    <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
1006 linlun 327
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
328
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
329
      </variables>
330
    </command>
1031 linlun 331
    <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
332
      <variables>
1051 linlun 333
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
334
      <value id="0" name="Standard"/>
335
          <value id="1" name="Inverted"/>
336
    </variable>
337
    <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
338
      <value id="0" name="NoFill"/>
339
      <value id="1" name="Fill"/>
340
    </variable>  
1031 linlun 341
    <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
342
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
343
    <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
344
    <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
345
    <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
346
      </variables>
347
      </command>
348
 
349
      <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
350
    <variables>
1051 linlun 351
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
352
        <value id="0" name="Standard"/>
353
        <value id="1" name="Inverted"/>
354
      </variable>
1031 linlun 355
      <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
356
      <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
357
      <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
358
      <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
359
    </variables>
360
      </command>
1019 linlun 361
 
1031 linlun 362
      <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
363
    <variables>
1051 linlun 364
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
365
        <value id="0" name="Standard"/>
366
        <value id="1" name="Inverted"/>
367
      </variable>
1031 linlun 368
      <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
369
      <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
370
      <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
371
    </variables>
372
      </command>    
373
 
374
    <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD">
375
      <variables>
376
    <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
377
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
378
    <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
379
    <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
380
      </variables>
381
    </command>
1019 linlun 382
 
1251 linlun 383
    <command id="138" name="LCD_New_Image" type="specific" module="KS0108" description="Store a new image in eeprom">
384
      <variables>
385
    <variable name="image_id" type="uint" start_bit="0" bit_length="8" unit="" description="the new image id"/>
386
        <variable name="size_X" type="uint" start_bit="8" bit_length="8" unit="" description="Size in x direction"/>
387
        <variable name="size_Y" type="uint" start_bit="16" bit_length="8" unit="" description="Size in y direction"/>
388
      </variables>
389
    </command>
390
        <command id="139" name="LCD_Ack" type="specific" module="KS0108" description="Data correctly received">
391
      <variables>
392
    <variable name="packet_id" type="uint" start_bit="0" bit_length="8" unit="" description="Id of the packet that is acknoleged"/>
393
      </variables>
394
    </command>
395
 
396
        <command id="140" name="LCD_Error" type="specific" module="KS0108" description="Data error"/>
397
 
398
        <command id="141" name="LCD_Image_Data" type="specific" module="KS0108" description="Data"/>
399
        <command id="141" name="LCD_Image_Data_7" type="specific" module="KS0108" description="Data">
400
      <variables>
401
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
402
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
403
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
404
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
405
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
406
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
407
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
408
    <variable name="Data6" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
409
      </variables>
410
    </command>
411
    <command id="141" name="LCD_Image_Data_6" type="specific" module="KS0108" description="Data">
412
      <variables>
413
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
414
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
415
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
416
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
417
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
418
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
419
        <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
420
      </variables>
421
    </command>
422
    <command id="141" name="LCD_Image_Data_5" type="specific" module="KS0108" description="Data">
423
      <variables>
424
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
425
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
426
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
427
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
428
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
429
        <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
430
      </variables>
431
    </command>
432
    <command id="141" name="LCD_Image_Data_4" type="specific" module="KS0108" description="Data">
433
      <variables>
434
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
435
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
436
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
437
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
438
        <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
439
      </variables>
440
    </command>
441
    <command id="141" name="LCD_Image_Data_3" type="specific" module="KS0108" description="Data">
442
      <variables>
443
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
444
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
445
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
446
        <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
447
      </variables>
448
    </command>
449
    <command id="141" name="LCD_Image_Data_2" type="specific" module="KS0108" description="Data">
450
      <variables>
451
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
452
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
453
        <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
454
      </variables>
455
    </command>
456
    <command id="141" name="LCD_Image_Data_1" type="specific" module="KS0108" description="Data">
457
      <variables>
458
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
459
        <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
460
      </variables>
461
    </command>
462
    <command id="142" name="LCD_Data_id_Error" type="specific" module="KS0108" description="Wrong data id received">
463
      <variables>
464
    <variable name="id" type="uint" start_bit="0" bit_length="8" unit="" description="The expected id"/>
465
      </variables>
466
    </command>
467
 
468
        <command id="143" name="LCD_Data_Done" type="specific" module="KS0108" description="All data sent">
469
      <variables>
470
      </variables>
471
    </command>
1440 arune 472
 
473
    <command id="128" name="Motion" type="specific" module="PIR" description="Motion and brightness from PIR-sensor">
474
     <variables>
475
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
476
        <variable name="Brightness" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
477
        <variable name="MotionDetect" type="enum" start_bit="16" bit_length="8" unit="" description="">
478
            <value id="0" name="NoMotion"/>
479
            <value id="1" name="MotionDetected"/>
480
        </variable>
481
      </variables>
482
    </command>
483
 
1251 linlun 484
 
1074 arune 485
    <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 486
     <variables>
1072 arune 487
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
488
        <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 489
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
490
      </variables>
491
    </command>
1031 linlun 492
 
1072 arune 493
    <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 494
     <variables>
1072 arune 495
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
496
        <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 497
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
498
            <value id="0" name="Decrease"/>
499
            <value id="1" name="Increase"/>
500
        </variable>
950 runge 501
      </variables>
502
    </command>
1072 arune 503
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop">
950 runge 504
      <variables>
1072 arune 505
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
950 runge 506
      </variables>
507
    </command>
1072 arune 508
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received">
950 runge 509
     <variables>
1072 arune 510
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
511
        <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 512
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
513
      </variables>
514
    </command>
1072 arune 515
    <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 516
     <variables>
1072 arune 517
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
518
        <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)"/>
519
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
520
            <value id="0" name="Decrease"/>
521
            <value id="1" name="Increase"/>
522
        </variable>
523
        <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/>
950 runge 524
      </variables>
525
    </command>
1072 arune 526
    <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power">
527
     <variables>
528
        <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power">
529
            <value id="0" name="Disconnected"/>
530
            <value id="1" name="Connected"/>
531
        </variable>
1074 arune 532
        <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power">
533
            <value id="0" name="Error_Unknown"/>
534
            <value id="1" name="50Hz"/>
535
            <value id="2" name="60Hz"/>
536
        </variable>
1092 arune 537
        <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
1375 linlun 538
        <variable name="Channel" type="uint" start_bit="16" bit_length="8" unit="" description="Dimmer channel"/>
1072 arune 539
      </variables>
540
    </command>
1423 linlun 541
    <command id="128" name="Demo" type="specific" module="hwPWM" 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">
542
     <variables>
543
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
544
        <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"/>
545
        <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
546
      </variables>
547
    </command>
548
 
549
    <command id="129" name="Start_Fade" type="specific" module="hwPWM" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
550
     <variables>
551
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
552
        <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)"/>
553
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
554
            <value id="0" name="Decrease"/>
555
            <value id="1" name="Increase"/>
556
        </variable>
557
      </variables>
558
    </command>
559
    <command id="130" name="Stop_Fade" type="specific" module="hwPWM" description="If a fade is in progress, then stop">
560
      <variables>
561
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
562
      </variables>
563
    </command>
564
    <command id="131" name="Abs_Fade" type="specific" module="hwPWM" description="Fade to a defined value, stops when another command is received">
565
     <variables>
566
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
567
        <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)"/>
568
        <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
569
      </variables>
570
    </command>
571
    <command id="132" name="Rel_Fade" type="specific" module="hwPWM" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
572
     <variables>
573
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
574
        <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)"/>
575
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
576
            <value id="0" name="Decrease"/>
577
            <value id="1" name="Increase"/>
578
        </variable>
579
        <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
580
      </variables>
581
    </command>
582
 
1438 linlun 583
 <command id="128" name="Demo" type="specific" module="RGBW" 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">
584
     <variables>
585
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
586
        <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"/>
587
        <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
588
      </variables>
589
    </command>
590
 
591
    <command id="129" name="Start_Fade" type="specific" module="RGBW" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
592
     <variables>
593
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
594
        <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)"/>
595
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
596
            <value id="0" name="Decrease"/>
597
            <value id="1" name="Increase"/>
598
        </variable>
599
      </variables>
600
    </command>
601
    <command id="130" name="Stop_Fade" type="specific" module="RGBW" description="If a fade is in progress, then stop">
602
      <variables>
603
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
604
      </variables>
605
    </command>
606
    <command id="131" name="Abs_Fade" type="specific" module="RGBW" description="Fade to a defined value, stops when another command is received">
607
     <variables>
608
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
609
        <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)"/>
610
        <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
611
      </variables>
612
    </command>
613
    <command id="132" name="Rel_Fade" type="specific" module="RGBW" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
614
     <variables>
615
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
616
        <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)"/>
617
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
618
            <value id="0" name="Decrease"/>
619
            <value id="1" name="Increase"/>
620
        </variable>
621
        <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
622
      </variables>
623
    </command>
624
 
1177 linlun 625
    <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
1156 linlun 626
     <variables>
1177 linlun 627
        <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
628
        <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/>
629
     </variables>
1156 linlun 630
    </command>
1284 arune 631
    <command id="128" name="Gesture" type="specific" module="Touch" description="Parsed touch data as a gesture">
1277 arune 632
     <variables>
1279 arune 633
        <variable name="f1" type="uint" start_bit="0" bit_length="8" unit="#" description="Indicates the number of intersection points between an input gesture g(x) and the straight line f(x) which connects the first and last point of the gesture"/>
634
        <variable name="f7" type="uint" start_bit="8" bit_length="8" unit="#" description="Indicates the number of intersection points between an input gesture g(x) and all horizontal lines yi, where i is between 0 and n, that constitute a gesture"/>
635
        <variable name="f3" type="enum" start_bit="16" bit_length="1" unit="" description="Indicates the sign value of area gap between g(x) and f(x)">
636
           <value id="0" name="M"/>
637
           <value id="1" name="P"/>
1277 arune 638
        </variable>
1279 arune 639
        <variable name="f4" type="enum" start_bit="17" bit_length="1" unit="" description="Represents the sign value of the sum of the x coordinates of all the points that constitute strokes minus the x coordinates of the last point">
640
           <value id="0" name="M"/>
641
           <value id="1" name="P"/>
1277 arune 642
        </variable>
1279 arune 643
        <variable name="f5" type="enum" start_bit="18" bit_length="1" unit="" description="Checks the sign value of the sum of the x coordinates of all the points that constitute strokes minus x coordinates of the first point">
644
           <value id="0" name="M"/>
645
           <value id="1" name="P"/>
1277 arune 646
        </variable>
1279 arune 647
        <variable name="f6" type="enum" start_bit="19" bit_length="1" unit="" description="Indicates the sign value of the y coordinates of the last point minus y coordinates of the first point">
648
           <value id="0" name="M"/>
649
           <value id="1" name="P"/>
1277 arune 650
        </variable>
1279 arune 651
        <variable name="f8" type="enum" start_bit="20" bit_length="1" unit="" description="Checks whether or not x coordinates of all the points except for the first point and the last point is between x0 and xn">
652
           <value id="0" name="M"/>
653
           <value id="1" name="P"/>
1277 arune 654
        </variable>
1279 arune 655
        <variable name="f9" type="enum" start_bit="21" bit_length="1" unit="" description="Represents the sign value of the multiplication of x coordinates of the first point and the last point minus the mediate value of x coordinates of all the points">
656
           <value id="0" name="M"/>
657
           <value id="1" name="P"/>
1277 arune 658
        </variable>
1279 arune 659
        <variable name="f2" type="enum" start_bit="22" bit_length="2" unit="" description="Checks if the y coordinates of the points which exist between the intersection point and the last point are greater than the y coordinates of the intersection point">
660
           <value id="0" name="M"/>
661
           <value id="1" name="P"/>
662
           <value id="2" name="U"/>
1277 arune 663
        </variable>
664
     </variables>
665
    </command>
1284 arune 666
    <command id="129" name="Raw" type="specific" module="Touch" description="Raw touch data">
667
     <variables>
668
        <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="Gives the current push status">
669
          <value id="1" name="Pressed"/>
670
          <value id="0" name="Released"/>
671
        </variable>
672
        <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
673
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
674
     </variables>
675
    </command>
946 runge 676
  </commands>
677
  <modules>
965 runge 678
    <module id="0" name="Debug" class="tst"/>
946 runge 679
    <module id="1" name="Default" class="def"/>
680
    <module id="3" name="DS18x20" class="sns"/>
681
    <module id="5" name="FOST02" class="sns"/>
682
    <module id="6" name="BusVoltage" class="sns"/>
683
    <module id="7" name="SimpleDTMF" class="sns"/>
684
    <module id="8" name="Rotary" class="sns"/>
953 runge 685
    <module id="9" name="HD44789" class="act"/>
686
    <module id="10" name="Dimmer230" class="act"/>
687
    <module id="11" name="KS0108" class="act"/>
954 runge 688
    <module id="12" name="RGBdriver" class="act"/>
1389 arune 689
    <module id="13" name="hwPWM" class="act"/>
992 arune 690
    <module id="14" name="irReceive" class="sns"/>
1000 kribba 691
    <module id="15" name="nmea" class="sns"/>
1054 runge 692
    <module id="16" name="irTransmit" class="sns"/>
1098 linlun 693
    <module id="17" name="TC1047A" class="sns"/>
1110 linlun 694
    <module id="18" name="PID" class="act"/>
695
    <module id="19" name="SlowPWM" class="act"/>
1121 linlun 696
    <module id="20" name="power" class="sns"/>
1156 linlun 697
    <module id="21" name="softPWM" class="act"/>
1277 arune 698
    <module id="22" name="Touch" class="sns"/>
1417 linlun 699
    <module id="23" name="RotaryHex" class="sns"/>
1419 linlun 700
    <module id="24" name="output" class="act"/>
701
    <module id="25" name="input" class="sns"/>
1438 linlun 702
    <module id="26" name="RGBW" class="act"/>
1266 pengi 703
    <module id="30" name="ChnMaster" class="chn"/>
1269 pengi 704
    <module id="31" name="ChnController" class="chn"/>
1440 arune 705
    <module id="45" name="PIR" class="sns"/>
1441 arune 706
    <module id="46" name="TCN75A" class="sns"/>
1443 arune 707
    <module id="47" name="VoltageCurrent" class="sns"/>
1448 myhrman 708
    <module id="48" name="Serial" class="sns"/>
946 runge 709
  </modules>
710
  <defines>
711
    <define id="1" group="DirectionFlag" name="From_Owner"/>
712
    <define id="0" group="DirectionFlag" name="To_Owner"/>
713
  </defines>
986 runge 714
  <nmt_messages>
715
    <nmt_message id="0" name="Time"/>
716
    <nmt_message id="4" name="Reset">
717
      <variables>
718
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
719
      </variables>
720
    </nmt_message>
721
    <nmt_message id="8" name="Bios_Start">
722
      <variables>
723
        <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
724
        <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
725
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
726
      </variables>
727
    </nmt_message>
728
    <nmt_message id="12" name="Pgm_Start">
729
      <variables>
1023 arune 730
        <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
731
        <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
732
        <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
733
        <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
986 runge 734
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
735
      </variables>
736
    </nmt_message>
1023 arune 737
    <nmt_message id="16" name="Pgm_Data">
986 runge 738
      <variables>
739
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
1023 arune 740
        <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
986 runge 741
      </variables>
742
    </nmt_message>
1023 arune 743
    <nmt_message id="16" name="Pgm_Data_48">
744
      <variables>
745
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
746
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
747
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
748
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
749
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
750
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
751
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
752
        <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
753
      </variables>
754
    </nmt_message>
755
    <nmt_message id="16" name="Pgm_Data_8">
756
      <variables>
757
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
758
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
759
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
760
      </variables>
761
    </nmt_message>
762
    <nmt_message id="16" name="Pgm_Data_16">
763
      <variables>
764
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
765
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
766
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
767
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
768
      </variables>
769
    </nmt_message>
770
    <nmt_message id="16" name="Pgm_Data_24">
771
      <variables>
772
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
773
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
774
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
775
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
776
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
777
      </variables>
778
    </nmt_message>
1015 arune 779
    <nmt_message id="16" name="Pgm_Data_32">
780
      <variables>
1023 arune 781
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
782
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
783
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
784
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
785
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
786
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
1015 arune 787
      </variables>
788
    </nmt_message>
1023 arune 789
    <nmt_message id="16" name="Pgm_Data_40">
1015 arune 790
      <variables>
1023 arune 791
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
792
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
793
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
794
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
795
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
796
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
797
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
1015 arune 798
      </variables>
799
    </nmt_message>
986 runge 800
    <nmt_message id="20" name="Pgm_End"/>
801
    <nmt_message id="24" name="Pgm_Copy">
802
      <variables>
1023 arune 803
        <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
804
        <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
805
        <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
806
        <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
807
        <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
808
        <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
986 runge 809
      </variables>
810
    </nmt_message>
811
    <nmt_message id="28" name="Pgm_Ack">
812
      <variables>
813
        <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
814
      </variables>
815
    </nmt_message>
816
    <nmt_message id="32" name="Pgm_Nack">
817
      <variables>
818
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
819
      </variables>
820
    </nmt_message>
821
    <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
822
      <variables>
823
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
824
      </variables>
825
    </nmt_message>
826
    <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
827
      <variables>
828
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
829
      </variables>
830
    </nmt_message>
831
    <nmt_message id="44" name="Heartbeat">
832
      <variables>
833
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
834
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
835
      </variables>
836
    </nmt_message>
837
  </nmt_messages>
946 runge 838
</root>