Subversion Repositories HomeAutomation

Rev

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

Rev 1121 Rev 1156
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
  </classes>
10
  </classes>
11
  <commands>
11
  <commands>
12
    <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is">
12
    <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is">
13
      <variables>
13
      <variables>
14
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
14
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
15
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
15
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
16
        <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
16
        <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
17
      </variables>
17
      </variables>
18
    </command>
18
    </command>
19
   
19
   
20
    <command id="2" name="Debug" type="global" module="" description="Used for debugging, should not be used for anything real"/>
20
    <command id="2" name="Debug" type="global" module="" description="Used for debugging, should not be used for anything real"/>
21
    <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting">
21
    <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting">
22
      <variables>
22
      <variables>
23
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
23
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
24
      </variables>
24
      </variables>
25
    </command>
25
    </command>
26
   
26
   
27
    <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
27
    <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
28
      <variables>
28
      <variables>
29
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
29
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
30
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
30
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
31
      </variables>
31
      </variables>
32
    </command>
32
    </command>
33
    <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
33
    <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
34
      <variables>
34
      <variables>
35
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
35
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
36
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/>
36
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/>
37
      </variables>
37
      </variables>
38
    </command>
38
    </command>
39
    <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
39
    <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
40
      <variables>
40
      <variables>
41
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
41
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
42
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
42
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
43
      </variables>
43
      </variables>
44
    </command>
44
    </command>
45
    <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
45
    <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
46
      <variables>
46
      <variables>
47
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
47
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
48
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
48
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
49
      </variables>
49
      </variables>
50
    </command>
50
    </command>
51
    <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data">
51
    <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data">
52
      <variables>
52
      <variables>
53
        <variable name="Number" type="hexstring" start_bit="0" bit_length="64" unit="" description=""/>
53
        <variable name="Number" type="hexstring" start_bit="0" bit_length="64" unit="" description=""/>
54
      </variables>
54
      </variables>
55
    </command>
55
    </command>
56
    <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
56
    <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
57
      <variables>
57
      <variables>
58
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
58
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
59
        <variable name="Direction" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
59
        <variable name="Direction" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
60
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
60
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
61
        <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
61
        <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
62
      </variables>
62
      </variables>
63
    </command>
63
    </command>
64
    <command id="70" name="Button" type="physical" module="" description="">
64
    <command id="70" name="Button" type="physical" module="" description="">
65
      <variables>
65
      <variables>
66
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
66
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
67
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
67
        <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
68
          <value id="1" name="Pressed"/>
68
          <value id="1" name="Pressed"/>
69
          <value id="0" name="Released"/>
69
          <value id="0" name="Released"/>
70
        </variable>
70
        </variable>
71
      </variables>
71
      </variables>
72
    </command>
72
    </command>
73
    <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding">
73
    <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding">
74
      <variables>
74
      <variables>
75
        <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="State of remote button">
75
        <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="State of remote button">
76
          <value id="1" name="Pressed"/>
76
          <value id="1" name="Pressed"/>
77
          <value id="0" name="Released"/>
77
          <value id="0" name="Released"/>
78
        </variable>
78
        </variable>
79
        <variable name="Protocol" type="enum" start_bit="8" bit_length="8" unit="" description="Button protocol">
79
        <variable name="Protocol" type="enum" start_bit="8" bit_length="8" unit="" description="Button protocol">
80
          <value id="0" name="RC5"/>
80
          <value id="0" name="RC5"/>
81
          <value id="1" name="RC6"/>
81
          <value id="1" name="RC6"/>
82
          <value id="2" name="RCMM"/>
82
          <value id="2" name="RCMM"/>
83
          <value id="3" name="SIRC"/>
83
          <value id="3" name="SIRC"/>
84
          <value id="4" name="Sharp"/>
84
          <value id="4" name="Sharp"/>
85
          <value id="5" name="NEC"/>
85
          <value id="5" name="NEC"/>
86
          <value id="6" name="Samsung"/>
86
          <value id="6" name="Samsung"/>
87
          <value id="7" name="Marantz"/>
87
          <value id="7" name="Marantz"/>
88
          <value id="255" name="Unknown"/>
88
          <value id="255" name="Unknown"/>
89
        </variable>
89
        </variable>
90
        <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
90
        <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
91
      </variables>
91
      </variables>
92
    </command>
92
    </command>
93
    <command id="72" name="SlowPWM" type="physical" module="" description="Message for pwm data, 0 to 9999">
93
    <command id="72" name="SlowPWM" type="physical" module="" description="Message for pwm data, 0 to 9999">
94
      <variables>
94
      <variables>
95
        <variable name="ChannelId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
95
        <variable name="ChannelId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
96
        <variable name="Value" type="uint" start_bit="8" bit_length="16" unit="" description=""/>
96
        <variable name="Value" type="uint" start_bit="8" bit_length="16" unit="" description=""/>
97
      </variables>
97
      </variables>
98
    </command>
98
    </command>
99
    <command id="73" name="ElectricPower" type="physical" module="" description="Message with data from a power meter">
99
    <command id="73" name="ElectricPower" type="physical" module="" description="Message with data from a power meter">
100
      <variables>
100
      <variables>
101
        <variable name="Power" type="uint" start_bit="0" bit_length="16" unit="Watt" description=""/>
101
        <variable name="Power" type="uint" start_bit="0" bit_length="16" unit="Watt" description=""/>
102
        <variable name="EnergySum" type="uint" start_bit="16" bit_length="16" unit="W/h" description=""/>
102
        <variable name="EnergySum" type="uint" start_bit="16" bit_length="16" unit="W/h" description=""/>
103
    <variable name="Power4" type="uint" start_bit="32" bit_length="16" unit="Watt" description="Average of 4 measurments"/>
103
    <variable name="Power4" type="uint" start_bit="32" bit_length="16" unit="Watt" description="Average of 4 measurments"/>
104
    <variable name="Power32" type="uint" start_bit="48" bit_length="16" unit="Watt" description="Average of 32 measurments"/>
104
    <variable name="Power32" type="uint" start_bit="48" bit_length="16" unit="Watt" description="Average of 32 measurments"/>
105
      </variables>
105
      </variables>
106
    </command>
106
    </command>
107
    <command id="128" name="setEnergy" type="specific" module="power" description="Set the energy value on the power meter module">
107
    <command id="128" name="setEnergy" type="specific" module="power" description="Set the energy value on the power meter module">
108
      <variables>
108
      <variables>
109
        <variable name="Energy" type="uint" start_bit="0" bit_length="16" unit="W/h" description=""/>
109
        <variable name="Energy" type="uint" start_bit="0" bit_length="16" unit="W/h" description=""/>
110
      </variables>
110
      </variables>
111
    </command>
111
    </command>
112
    <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
112
    <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
113
     <variables>
113
     <variables>
114
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
114
        <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
115
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
115
        <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
116
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
116
        <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
117
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
117
        <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
118
      </variables>
118
      </variables>
119
    </command>
119
    </command>
120
    <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
120
    <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
121
    <variables>
121
    <variables>
122
        <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
122
        <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
123
        <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
123
        <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
124
        <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/>
124
        <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/>
125
        <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/>
125
        <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/>
126
        <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/>
126
        <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/>
127
        <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/>
127
        <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/>
128
        <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
128
        <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
129
        <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
129
        <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
130
    </variables>
130
    </variables>
131
    </command>
131
    </command>
132
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
132
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
133
     <variables>
133
     <variables>
134
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
134
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
135
      </variables>
135
      </variables>
136
    </command>
136
    </command>
137
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
137
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
138
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
138
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
139
      <variables>
139
      <variables>
140
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
140
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
141
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
141
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
142
      </variables>
142
      </variables>
143
    </command>
143
    </command>
144
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
144
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
145
      <variables>
145
      <variables>
146
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
146
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
147
      </variables>
147
      </variables>
148
    </command>
148
    </command>
149
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
149
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
150
      <variables>
150
      <variables>
151
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
151
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
152
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
152
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
153
      </variables>
153
      </variables>
154
    </command>
154
    </command>
155
    <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
155
    <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
156
      <variables>
156
      <variables>
157
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
157
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
158
      </variables>
158
      </variables>
159
    </command>
159
    </command>
160
      <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
160
      <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
161
      <variables>
161
      <variables>
162
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
162
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
163
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
163
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
164
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
164
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
165
      </variables>
165
      </variables>
166
    </command>
166
    </command>
167
   
167
   
168
    <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
168
    <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
169
    <variables>
169
    <variables>
170
      <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
170
      <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
171
      <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
171
      <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
172
      <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
172
      <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
173
      <variable name="Sum" type="uint" start_bit="48" bit_length="16" unit="" description=""/>
173
      <variable name="Sum" type="uint" start_bit="48" bit_length="16" unit="" description=""/>
174
    </variables>
174
    </variables>
175
      </command>
175
      </command>
176
    <command id="129" name="CONFIG" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration">
176
    <command id="129" name="CONFIG" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration">
177
    <variables>
177
    <variables>
178
      <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
178
      <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
179
      <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
179
      <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
180
      <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
180
      <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
181
    </variables>
181
    </variables>
182
      </command>
182
      </command>
183
      <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">
183
      <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">
184
    <variables>
184
    <variables>
185
      <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
185
      <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
186
      <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
186
      <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
187
      <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description="">
187
      <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description="">
188
        <value id="0" name="LOW"/>
188
        <value id="0" name="LOW"/>
189
        <value id="1" name="HIGH"/>
189
        <value id="1" name="HIGH"/>
190
        <value id="2" name="TRISTATE"/>
190
        <value id="2" name="TRISTATE"/>
191
      </variable>
191
      </variable>
192
       <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description="">
192
       <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description="">
193
        <value id="0" name="ON"/>
193
        <value id="0" name="ON"/>
194
        <value id="1" name="OFF"/>
194
        <value id="1" name="OFF"/>
195
      </variable>
195
      </variable>
196
    </variables>
196
    </variables>
197
      </command>
197
      </command>
198
      <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
198
      <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
199
      <variables>
199
      <variables>
200
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
200
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
201
      <value id="0" name="Standard"/>
201
      <value id="0" name="Standard"/>
202
          <value id="1" name="Inverted"/>
202
          <value id="1" name="Inverted"/>
203
    </variable>
203
    </variable>
204
      </variables>
204
      </variables>
205
    </command>
205
    </command>
206
    <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
206
    <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
207
      <variables>
207
      <variables>
208
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
208
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
209
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
209
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
210
    <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output">
210
    <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output">
211
      <value id="0" name="Standard"/>
211
      <value id="0" name="Standard"/>
212
          <value id="1" name="Inverted"/>
212
          <value id="1" name="Inverted"/>
213
    </variable>
213
    </variable>
214
    <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
214
    <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
215
      <value id="0" name="Standard"/>
215
      <value id="0" name="Standard"/>
216
      <value id="1" name="Transparent"/>
216
      <value id="1" name="Transparent"/>
217
    </variable>
217
    </variable>
218
      </variables>
218
      </variables>
219
    </command>
219
    </command>
220
    <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">
220
    <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">
221
      <variables>
221
      <variables>
222
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
222
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
223
      </variables>
223
      </variables>
224
    </command>
224
    </command>
225
    <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
225
    <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
226
      <variables>
226
      <variables>
227
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
227
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
228
      <value id="0" name="Standard"/>
228
      <value id="0" name="Standard"/>
229
          <value id="1" name="Inverted"/>
229
          <value id="1" name="Inverted"/>
230
    </variable>
230
    </variable>
231
      </variables>
231
      </variables>
232
    </command>
232
    </command>
233
    <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
233
    <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
234
      <variables>
234
      <variables>
235
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
235
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
236
      </variables>
236
      </variables>
237
    </command>
237
    </command>
238
    <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
238
    <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
239
      <variables>
239
      <variables>
240
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
240
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
241
      <value id="0" name="Standard"/>
241
      <value id="0" name="Standard"/>
242
          <value id="1" name="Inverted"/>
242
          <value id="1" name="Inverted"/>
243
    </variable>
243
    </variable>
244
    <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
244
    <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
245
      <value id="0" name="Standard"/>
245
      <value id="0" name="Standard"/>
246
      <value id="1" name="Transparent"/>
246
      <value id="1" name="Transparent"/>
247
    </variable>  
247
    </variable>  
248
    <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
248
    <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
249
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
249
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
250
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
250
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
251
      </variables>
251
      </variables>
252
    </command>
252
    </command>
253
    <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
253
    <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
254
      <variables>
254
      <variables>
255
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
255
        <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
256
      <value id="0" name="Standard"/>
256
      <value id="0" name="Standard"/>
257
          <value id="1" name="Inverted"/>
257
          <value id="1" name="Inverted"/>
258
    </variable>
258
    </variable>
259
    <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
259
    <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
260
      <value id="0" name="NoFill"/>
260
      <value id="0" name="NoFill"/>
261
      <value id="1" name="Fill"/>
261
      <value id="1" name="Fill"/>
262
    </variable>  
262
    </variable>  
263
    <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
263
    <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
264
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
264
        <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
265
    <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
265
    <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
266
    <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
266
    <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
267
    <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
267
    <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
268
      </variables>
268
      </variables>
269
      </command>
269
      </command>
270
     
270
     
271
      <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
271
      <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
272
    <variables>
272
    <variables>
273
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
273
      <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
274
        <value id="0" name="Standard"/>
274
        <value id="0" name="Standard"/>
275
        <value id="1" name="Inverted"/>
275
        <value id="1" name="Inverted"/>
276
      </variable>
276
      </variable>
277
      <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
277
      <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
278
      <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
278
      <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
279
      <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
279
      <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
280
      <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
280
      <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
281
    </variables>
281
    </variables>
282
      </command>
282
      </command>
283
   
283
   
284
      <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
284
      <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
285
    <variables>
285
    <variables>
286
      <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">
287
        <value id="0" name="Standard"/>
287
        <value id="0" name="Standard"/>
288
        <value id="1" name="Inverted"/>
288
        <value id="1" name="Inverted"/>
289
      </variable>
289
      </variable>
290
      <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
290
      <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
291
      <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
291
      <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
292
      <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
292
      <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
293
    </variables>
293
    </variables>
294
      </command>    
294
      </command>    
295
 
295
 
296
    <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD">
296
    <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD">
297
      <variables>
297
      <variables>
298
    <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
298
    <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
299
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
299
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
300
    <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
300
    <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
301
    <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
301
    <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
302
      </variables>
302
      </variables>
303
    </command>
303
    </command>
304
   
304
   
305
    <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">
305
    <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">
306
     <variables>
306
     <variables>
307
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
307
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
308
        <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"/>
308
        <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"/>
309
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
309
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
310
      </variables>
310
      </variables>
311
    </command>
311
    </command>
312
   
312
   
313
    <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">
313
    <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">
314
     <variables>
314
     <variables>
315
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
315
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
316
        <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)"/>
316
        <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)"/>
317
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
317
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
318
            <value id="0" name="Decrease"/>
318
            <value id="0" name="Decrease"/>
319
            <value id="1" name="Increase"/>
319
            <value id="1" name="Increase"/>
320
        </variable>
320
        </variable>
321
      </variables>
321
      </variables>
322
    </command>
322
    </command>
323
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop">
323
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop">
324
      <variables>
324
      <variables>
325
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
325
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
326
      </variables>
326
      </variables>
327
    </command>
327
    </command>
328
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received">
328
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received">
329
     <variables>
329
     <variables>
330
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
330
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
331
        <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)"/>
331
        <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)"/>
332
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
332
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
333
      </variables>
333
      </variables>
334
    </command>
334
    </command>
335
    <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">
335
    <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">
336
     <variables>
336
     <variables>
337
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
337
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
338
        <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)"/>
338
        <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)"/>
339
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
339
        <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
340
            <value id="0" name="Decrease"/>
340
            <value id="0" name="Decrease"/>
341
            <value id="1" name="Increase"/>
341
            <value id="1" name="Increase"/>
342
        </variable>
342
        </variable>
343
        <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/>
343
        <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/>
344
      </variables>
344
      </variables>
345
    </command>
345
    </command>
346
    <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power">
346
    <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power">
347
     <variables>
347
     <variables>
348
        <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power">
348
        <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power">
349
            <value id="0" name="Disconnected"/>
349
            <value id="0" name="Disconnected"/>
350
            <value id="1" name="Connected"/>
350
            <value id="1" name="Connected"/>
351
        </variable>
351
        </variable>
352
        <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power">
352
        <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power">
353
            <value id="0" name="Error_Unknown"/>
353
            <value id="0" name="Error_Unknown"/>
354
            <value id="1" name="50Hz"/>
354
            <value id="1" name="50Hz"/>
355
            <value id="2" name="60Hz"/>
355
            <value id="2" name="60Hz"/>
356
        </variable>
356
        </variable>
357
        <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
357
        <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
-
 
358
      </variables>
-
 
359
    </command>
-
 
360
    <command id="128" name="RGB_value" type="specific" module="softPWM" description="Set an RGB-value">
-
 
361
     <variables>
-
 
362
        <variable name="RED" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
-
 
363
        <variable name="GREEN" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
-
 
364
    <variable name="BLUE" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
358
      </variables>
365
    </variables>
359
    </command>
366
    </command>
360
  </commands>
367
  </commands>
361
  <modules>
368
  <modules>
362
    <module id="0" name="Debug" class="tst"/>
369
    <module id="0" name="Debug" class="tst"/>
363
    <module id="1" name="Default" class="def"/>
370
    <module id="1" name="Default" class="def"/>
364
    <module id="3" name="DS18x20" class="sns"/>
371
    <module id="3" name="DS18x20" class="sns"/>
365
    <module id="5" name="FOST02" class="sns"/>
372
    <module id="5" name="FOST02" class="sns"/>
366
    <module id="6" name="BusVoltage" class="sns"/>
373
    <module id="6" name="BusVoltage" class="sns"/>
367
    <module id="7" name="SimpleDTMF" class="sns"/>
374
    <module id="7" name="SimpleDTMF" class="sns"/>
368
    <module id="8" name="Rotary" class="sns"/>
375
    <module id="8" name="Rotary" class="sns"/>
369
    <module id="9" name="HD44789" class="act"/>
376
    <module id="9" name="HD44789" class="act"/>
370
    <module id="10" name="Dimmer230" class="act"/>
377
    <module id="10" name="Dimmer230" class="act"/>
371
    <module id="11" name="KS0108" class="act"/>
378
    <module id="11" name="KS0108" class="act"/>
372
    <module id="12" name="RGBdriver" class="act"/>
379
    <module id="12" name="RGBdriver" class="act"/>
373
    <module id="13" name="LEDPWM" class="act"/>
380
    <module id="13" name="LEDPWM" class="act"/>
374
    <module id="14" name="irReceive" class="sns"/>
381
    <module id="14" name="irReceive" class="sns"/>
375
    <module id="15" name="nmea" class="sns"/>
382
    <module id="15" name="nmea" class="sns"/>
376
    <module id="16" name="irTransmit" class="sns"/>
383
    <module id="16" name="irTransmit" class="sns"/>
377
    <module id="17" name="TC1047A" class="sns"/>
384
    <module id="17" name="TC1047A" class="sns"/>
378
    <module id="18" name="PID" class="act"/>
385
    <module id="18" name="PID" class="act"/>
379
    <module id="19" name="SlowPWM" class="act"/>
386
    <module id="19" name="SlowPWM" class="act"/>
380
    <module id="20" name="power" class="sns"/>
387
    <module id="20" name="power" class="sns"/>
-
 
388
    <module id="21" name="softPWM" class="act"/>
381
  </modules>
389
  </modules>
382
  <defines>
390
  <defines>
383
    <define id="1" group="DirectionFlag" name="From_Owner"/>
391
    <define id="1" group="DirectionFlag" name="From_Owner"/>
384
    <define id="0" group="DirectionFlag" name="To_Owner"/>
392
    <define id="0" group="DirectionFlag" name="To_Owner"/>
385
  </defines>
393
  </defines>
386
  <nmt_messages>
394
  <nmt_messages>
387
    <nmt_message id="0" name="Time"/>
395
    <nmt_message id="0" name="Time"/>
388
    <nmt_message id="4" name="Reset">
396
    <nmt_message id="4" name="Reset">
389
      <variables>
397
      <variables>
390
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
398
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
391
      </variables>
399
      </variables>
392
    </nmt_message>
400
    </nmt_message>
393
    <nmt_message id="8" name="Bios_Start">
401
    <nmt_message id="8" name="Bios_Start">
394
      <variables>
402
      <variables>
395
        <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
403
        <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
396
        <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
404
        <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
397
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
405
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
398
      </variables>
406
      </variables>
399
    </nmt_message>
407
    </nmt_message>
400
    <nmt_message id="12" name="Pgm_Start">
408
    <nmt_message id="12" name="Pgm_Start">
401
      <variables>
409
      <variables>
402
        <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
410
        <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
403
        <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
411
        <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
404
        <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
412
        <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
405
        <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
413
        <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
406
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
414
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
407
      </variables>
415
      </variables>
408
    </nmt_message>
416
    </nmt_message>
409
    <nmt_message id="16" name="Pgm_Data">
417
    <nmt_message id="16" name="Pgm_Data">
410
      <variables>
418
      <variables>
411
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
419
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
412
        <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
420
        <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
413
      </variables>
421
      </variables>
414
    </nmt_message>
422
    </nmt_message>
415
    <nmt_message id="16" name="Pgm_Data_48">
423
    <nmt_message id="16" name="Pgm_Data_48">
416
      <variables>
424
      <variables>
417
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
425
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
418
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
426
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
419
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
427
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
420
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
428
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
421
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
429
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
422
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
430
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
423
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
431
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
424
        <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
432
        <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
425
      </variables>
433
      </variables>
426
    </nmt_message>
434
    </nmt_message>
427
    <nmt_message id="16" name="Pgm_Data_8">
435
    <nmt_message id="16" name="Pgm_Data_8">
428
      <variables>
436
      <variables>
429
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
437
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
430
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
438
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
431
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
439
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
432
      </variables>
440
      </variables>
433
    </nmt_message>
441
    </nmt_message>
434
    <nmt_message id="16" name="Pgm_Data_16">
442
    <nmt_message id="16" name="Pgm_Data_16">
435
      <variables>
443
      <variables>
436
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
444
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
437
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
445
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
438
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
446
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
439
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
447
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
440
      </variables>
448
      </variables>
441
    </nmt_message>
449
    </nmt_message>
442
    <nmt_message id="16" name="Pgm_Data_24">
450
    <nmt_message id="16" name="Pgm_Data_24">
443
      <variables>
451
      <variables>
444
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
452
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
445
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
453
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
446
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
454
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
447
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
455
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
448
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
456
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
449
      </variables>
457
      </variables>
450
    </nmt_message>
458
    </nmt_message>
451
    <nmt_message id="16" name="Pgm_Data_32">
459
    <nmt_message id="16" name="Pgm_Data_32">
452
      <variables>
460
      <variables>
453
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
461
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
454
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
462
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
455
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
463
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
456
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
464
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
457
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
465
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
458
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
466
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
459
      </variables>
467
      </variables>
460
    </nmt_message>
468
    </nmt_message>
461
    <nmt_message id="16" name="Pgm_Data_40">
469
    <nmt_message id="16" name="Pgm_Data_40">
462
      <variables>
470
      <variables>
463
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
471
        <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
464
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
472
        <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
465
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
473
        <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
466
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
474
        <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
467
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
475
        <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
468
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
476
        <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
469
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
477
        <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
470
      </variables>
478
      </variables>
471
    </nmt_message>
479
    </nmt_message>
472
    <nmt_message id="20" name="Pgm_End"/>
480
    <nmt_message id="20" name="Pgm_End"/>
473
    <nmt_message id="24" name="Pgm_Copy">
481
    <nmt_message id="24" name="Pgm_Copy">
474
      <variables>
482
      <variables>
475
        <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
483
        <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
476
        <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
484
        <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
477
        <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
485
        <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
478
        <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
486
        <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
479
        <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
487
        <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
480
        <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
488
        <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
481
      </variables>
489
      </variables>
482
    </nmt_message>
490
    </nmt_message>
483
    <nmt_message id="28" name="Pgm_Ack">
491
    <nmt_message id="28" name="Pgm_Ack">
484
      <variables>
492
      <variables>
485
        <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
493
        <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
486
      </variables>
494
      </variables>
487
    </nmt_message>
495
    </nmt_message>
488
    <nmt_message id="32" name="Pgm_Nack">
496
    <nmt_message id="32" name="Pgm_Nack">
489
      <variables>
497
      <variables>
490
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
498
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
491
      </variables>
499
      </variables>
492
    </nmt_message>
500
    </nmt_message>
493
    <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
501
    <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
494
      <variables>
502
      <variables>
495
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
503
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
496
      </variables>
504
      </variables>
497
    </nmt_message>
505
    </nmt_message>
498
    <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
506
    <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
499
      <variables>
507
      <variables>
500
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
508
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
501
      </variables>
509
      </variables>
502
    </nmt_message>
510
    </nmt_message>
503
    <nmt_message id="44" name="Heartbeat">
511
    <nmt_message id="44" name="Heartbeat">
504
      <variables>
512
      <variables>
505
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
513
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
506
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
514
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
507
      </variables>
515
      </variables>
508
    </nmt_message>
516
    </nmt_message>
509
  </nmt_messages>
517
  </nmt_messages>
510
</root>
518
</root>
511
 
519