Subversion Repositories HomeAutomation

Rev

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

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