Subversion Repositories HomeAutomation

Rev

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