Subversion Repositories HomeAutomation

Rev

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

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