Subversion Repositories HomeAutomation

Rev

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

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