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