Subversion Repositories HomeAutomation

Rev

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

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