Subversion Repositories HomeAutomation

Rev

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

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