Subversion Repositories HomeAutomation

Rev

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

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