Subversion Repositories HomeAutomation

Rev

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

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