Subversion Repositories HomeAutomation

Rev

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

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