Subversion Repositories HomeAutomation

Rev

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

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