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