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