Subversion Repositories HomeAutomation

Rev

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

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