Subversion Repositories HomeAutomation

Rev

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

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