Subversion Repositories HomeAutomation

Rev

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

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