Subversion Repositories HomeAutomation

Rev

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

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