Rev 1427 | Rev 1438 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 946 | runge | 1 | <?xml version="1.0" standalone="yes"?> |
| 2 | <root> |
||
| 3 | <classes> |
||
| 986 | runge | 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"/> |
||
| 6 | <class id="12" name="act" description="Actuator nmt_messages"/> |
||
| 7 | <class id="13" name="sns" description="Sensor nmt_messages"/> |
||
| 946 | runge | 8 | <class id="14" name="def" description="Default, not to be used"/> |
| 9 | <class id="15" name="tst" description="Testing stuff"/> |
||
| 1266 | pengi | 10 | <class id="10" name="chn" description="Control channel based"/> |
| 946 | runge | 11 | </classes> |
| 12 | <commands> |
||
| 13 | <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is"> |
||
| 14 | <variables> |
||
| 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=""/> |
||
| 17 | <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 18 | </variables> |
||
| 19 | </command> |
||
| 968 | runge | 20 | |
| 954 | runge | 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"> |
||
| 952 | runge | 23 | <variables> |
| 24 | <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/> |
||
| 25 | </variables> |
||
| 26 | </command> |
||
| 958 | runge | 27 | |
| 28 | <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data"> |
||
| 29 | <variables> |
||
| 30 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 1380 | linlun | 31 | <variable name="Value" type="uint" start_bit="8" bit_length="16" unit="" description=""/> |
| 958 | runge | 32 | </variables> |
| 33 | </command> |
||
| 946 | runge | 34 | <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data"> |
| 35 | <variables> |
||
| 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=""/> |
||
| 38 | </variables> |
||
| 39 | </command> |
||
| 956 | runge | 40 | <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data"> |
| 41 | <variables> |
||
| 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=""/> |
||
| 44 | </variables> |
||
| 45 | </command> |
||
| 946 | runge | 46 | <command id="67" name="Voltage" type="physical" module="" description="Voltage data"> |
| 47 | <variables> |
||
| 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=""/> |
||
| 50 | </variables> |
||
| 51 | </command> |
||
| 981 | runge | 52 | <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data"> |
| 53 | <variables> |
||
| 54 | <variable name="Number" type="hexstring" start_bit="0" bit_length="64" unit="" description=""/> |
||
| 55 | </variables> |
||
| 56 | </command> |
||
| 956 | runge | 57 | <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status"> |
| 58 | <variables> |
||
| 59 | <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 1179 | arune | 60 | <variable name="Direction" type="enum" start_bit="8" bit_length="8" unit="" description=""> |
| 61 | <value id="0" name="Clockwise"/> |
||
| 62 | <value id="1" name="Counterclockwise"/> |
||
| 63 | </variable> |
||
| 956 | runge | 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=""/> |
||
| 66 | </variables> |
||
| 67 | </command> |
||
| 68 | <command id="70" name="Button" type="physical" module="" description=""> |
||
| 69 | <variables> |
||
| 70 | <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 1046 | runge | 71 | <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description=""> |
| 72 | <value id="1" name="Pressed"/> |
||
| 73 | <value id="0" name="Released"/> |
||
| 74 | </variable> |
||
| 956 | runge | 75 | </variables> |
| 76 | </command> |
||
| 992 | arune | 77 | <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding"> |
| 78 | <variables> |
||
| 1046 | runge | 79 | <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="State of remote button"> |
| 80 | <value id="1" name="Pressed"/> |
||
| 81 | <value id="0" name="Released"/> |
||
| 82 | </variable> |
||
| 1059 | runge | 83 | <variable name="Protocol" type="enum" start_bit="8" bit_length="8" unit="" description="Button protocol"> |
| 84 | <value id="0" name="RC5"/> |
||
| 85 | <value id="1" name="RC6"/> |
||
| 86 | <value id="2" name="RCMM"/> |
||
| 87 | <value id="3" name="SIRC"/> |
||
| 88 | <value id="4" name="Sharp"/> |
||
| 89 | <value id="5" name="NEC"/> |
||
| 90 | <value id="6" name="Samsung"/> |
||
| 91 | <value id="7" name="Marantz"/> |
||
| 1321 | arune | 92 | <value id="8" name="Panasonic"/> |
| 1059 | runge | 93 | <value id="255" name="Unknown"/> |
| 94 | </variable> |
||
| 992 | arune | 95 | <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/> |
| 96 | </variables> |
||
| 97 | </command> |
||
| 1260 | arune | 98 | <command id="72" name="Current" type="physical" module="" description="Current data"> |
| 99 | <variables> |
||
| 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=""/> |
||
| 102 | </variables> |
||
| 103 | </command> |
||
| 1121 | linlun | 104 | <command id="73" name="ElectricPower" type="physical" module="" description="Message with data from a power meter"> |
| 105 | <variables> |
||
| 106 | <variable name="Power" type="uint" start_bit="0" bit_length="16" unit="Watt" description=""/> |
||
| 1193 | linlun | 107 | <variable name="EnergySum" type="uint" start_bit="16" bit_length="32" unit="W/h" description=""/> |
| 1260 | arune | 108 | <variable name="Power32" type="uint" start_bit="48" bit_length="16" unit="Watt" description="Average of 32 measurments"/> |
| 1121 | linlun | 109 | </variables> |
| 110 | </command> |
||
| 1419 | linlun | 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> |
||
| 118 | </variables> |
||
| 119 | </command> |
||
| 1421 | linlun | 120 | <command id="75" name="PinStatus" type="physical" module="" description=""> |
| 121 | <variables> |
||
| 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=""> |
||
| 124 | <value id="1" name="High"/> |
||
| 125 | <value id="0" name="Low"/> |
||
| 126 | </variable> |
||
| 127 | </variables> |
||
| 128 | </command> |
||
| 1121 | linlun | 129 | <command id="128" name="setEnergy" type="specific" module="power" description="Set the energy value on the power meter module"> |
| 130 | <variables> |
||
| 1193 | linlun | 131 | <variable name="Energy" type="uint" start_bit="0" bit_length="32" unit="W/h" description=""/> |
| 1121 | linlun | 132 | </variables> |
| 133 | </command> |
||
| 1436 | linlun | 134 | <command id="129" name="avgPower" type="specific" module="power" description="The energy since last message"> |
| 135 | <variables> |
||
| 136 | <variable name="Energy" type="uint" start_bit="0" bit_length="16" unit="W/(10*h)" description=""/> |
||
| 137 | </variables> |
||
| 138 | </command> |
||
| 992 | arune | 139 | <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data"> |
| 140 | <variables> |
||
| 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"/> |
||
| 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"/> |
||
| 145 | </variables> |
||
| 146 | </command> |
||
| 1000 | kribba | 147 | <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position"> |
| 148 | <variables> |
||
| 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"/> |
||
| 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"/> |
||
| 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"/> |
||
| 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"/> |
||
| 157 | </variables> |
||
| 158 | </command> |
||
| 968 | runge | 159 | <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf"> |
| 160 | <variables> |
||
| 161 | <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/> |
||
| 162 | </variables> |
||
| 163 | </command> |
||
| 946 | runge | 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"> |
||
| 166 | <variables> |
||
| 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=""/> |
||
| 169 | </variables> |
||
| 170 | </command> |
||
| 171 | <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD"> |
||
| 172 | <variables> |
||
| 173 | <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/> |
||
| 174 | </variables> |
||
| 175 | </command> |
||
| 176 | <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD"> |
||
| 177 | <variables> |
||
| 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=""/> |
||
| 180 | </variables> |
||
| 181 | </command> |
||
| 182 | <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness"> |
||
| 183 | <variables> |
||
| 184 | <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 1427 | linlun | 185 | <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description=""> |
| 186 | <value id="0" name="OFF"/> |
||
| 187 | <value id="1" name="ON"/> |
||
| 188 | </variable> |
||
| 946 | runge | 189 | </variables> |
| 190 | </command> |
||
| 958 | runge | 191 | <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD"> |
| 946 | runge | 192 | <variables> |
| 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=""/> |
||
| 195 | <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/> |
||
| 196 | </variables> |
||
| 197 | </command> |
||
| 1019 | linlun | 198 | |
| 1110 | linlun | 199 | <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator"> |
| 200 | <variables> |
||
| 1117 | linlun | 201 | <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
| 202 | <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/> |
||
| 203 | <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/> |
||
| 1380 | linlun | 204 | <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/> |
| 1110 | linlun | 205 | </variables> |
| 206 | </command> |
||
| 1363 | linlun | 207 | <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"> |
| 1110 | linlun | 208 | <variables> |
| 209 | <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 210 | <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 211 | <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 212 | </variables> |
||
| 213 | </command> |
||
| 1363 | linlun | 214 | <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"> |
| 215 | <variables> |
||
| 216 | <variable name="actuatorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 217 | <variable name="actuatorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 218 | <variable name="actuatorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 219 | </variables> |
||
| 220 | </command> |
||
| 221 | <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"> |
||
| 222 | <variables> |
||
| 223 | <variable name="K_P" type="float" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 224 | <variable name="K_I" type="float" start_bit="16" bit_length="16" unit="" description=""/> |
||
| 225 | <variable name="K_D" type="float" start_bit="32" bit_length="16" unit="" description=""/> |
||
| 1376 | linlun | 226 | <variable name="TimeUnit" type="enum" start_bit="48" bit_length="1" unit="" description=""> |
| 1380 | linlun | 227 | <value id="0" name="s"/> |
| 228 | <value id="1" name="ms"/> |
||
| 1363 | linlun | 229 | </variable> |
| 1380 | linlun | 230 | <variable name="RegulatorTime" type="uint" start_bit="49" bit_length="15" unit="" description=""/> |
| 1363 | linlun | 231 | </variables> |
| 232 | </command> |
||
| 233 | <command id="132" name="PID_STATUS" type="specific" module="PID" description="information about the pid controller"> |
||
| 234 | <variables> |
||
| 235 | <variable name="Measurment" type="float" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 236 | <variable name="Reference" type="float" start_bit="16" bit_length="16" unit="" description=""/> |
||
| 1380 | linlun | 237 | <variable name="PWM" type="uint" start_bit="32" bit_length="16" unit="" description=""/> |
| 238 | <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/> |
||
| 1363 | linlun | 239 | </variables> |
| 240 | </command> |
||
| 1111 | linlun | 241 | <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"> |
| 242 | <variables> |
||
| 243 | <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 244 | <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/> |
||
| 245 | <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description=""> |
||
| 246 | <value id="0" name="LOW"/> |
||
| 247 | <value id="1" name="HIGH"/> |
||
| 248 | <value id="2" name="TRISTATE"/> |
||
| 249 | </variable> |
||
| 250 | <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description=""> |
||
| 251 | <value id="0" name="ON"/> |
||
| 252 | <value id="1" name="OFF"/> |
||
| 253 | </variable> |
||
| 254 | </variables> |
||
| 255 | </command> |
||
| 256 | <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD"> |
||
| 1017 | linlun | 257 | <variables> |
| 1051 | linlun | 258 | <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"/> |
||
| 260 | <value id="1" name="Inverted"/> |
||
| 261 | </variable> |
||
| 1017 | linlun | 262 | </variables> |
| 263 | </command> |
||
| 1006 | linlun | 264 | <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position"> |
| 265 | <variables> |
||
| 1019 | linlun | 266 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/> |
| 267 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/> |
||
| 1051 | linlun | 268 | <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output"> |
| 269 | <value id="0" name="Standard"/> |
||
| 270 | <value id="1" name="Inverted"/> |
||
| 271 | </variable> |
||
| 272 | <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"> |
||
| 273 | <value id="0" name="Standard"/> |
||
| 274 | <value id="1" name="Transparent"/> |
||
| 275 | </variable> |
||
| 1006 | linlun | 276 | </variables> |
| 277 | </command> |
||
| 1019 | linlun | 278 | <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"> |
| 1006 | linlun | 279 | <variables> |
| 280 | <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/> |
||
| 281 | </variables> |
||
| 282 | </command> |
||
| 1019 | linlun | 283 | <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD"> |
| 284 | <variables> |
||
| 1051 | linlun | 285 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 286 | <value id="0" name="Standard"/> |
||
| 287 | <value id="1" name="Inverted"/> |
||
| 288 | </variable> |
||
| 1019 | linlun | 289 | </variables> |
| 290 | </command> |
||
| 1006 | linlun | 291 | <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness"> |
| 292 | <variables> |
||
| 293 | <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 1427 | linlun | 294 | <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description=""> |
| 295 | <value id="0" name="OFF"/> |
||
| 296 | <value id="1" name="ON"/> |
||
| 297 | </variable> |
||
| 1006 | linlun | 298 | </variables> |
| 299 | </command> |
||
| 1031 | linlun | 300 | <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD"> |
| 1006 | linlun | 301 | <variables> |
| 1051 | linlun | 302 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 303 | <value id="0" name="Standard"/> |
||
| 304 | <value id="1" name="Inverted"/> |
||
| 305 | </variable> |
||
| 306 | <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"> |
||
| 307 | <value id="0" name="Standard"/> |
||
| 308 | <value id="1" name="Transparent"/> |
||
| 309 | </variable> |
||
| 1031 | linlun | 310 | <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/> |
| 1006 | linlun | 311 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 312 | <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/> |
||
| 313 | </variables> |
||
| 314 | </command> |
||
| 1031 | linlun | 315 | <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD"> |
| 316 | <variables> |
||
| 1051 | linlun | 317 | <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"/> |
||
| 319 | <value id="1" name="Inverted"/> |
||
| 320 | </variable> |
||
| 321 | <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled"> |
||
| 322 | <value id="0" name="NoFill"/> |
||
| 323 | <value id="1" name="Fill"/> |
||
| 324 | </variable> |
||
| 1031 | linlun | 325 | <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 326 | <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 327 | <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 328 | <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 329 | <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/> |
||
| 330 | </variables> |
||
| 331 | </command> |
||
| 332 | |||
| 333 | <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD"> |
||
| 334 | <variables> |
||
| 1051 | linlun | 335 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 336 | <value id="0" name="Standard"/> |
||
| 337 | <value id="1" name="Inverted"/> |
||
| 338 | </variable> |
||
| 1031 | linlun | 339 | <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 340 | <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 341 | <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 342 | <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 343 | </variables> |
||
| 344 | </command> |
||
| 1019 | linlun | 345 | |
| 1031 | linlun | 346 | <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD"> |
| 347 | <variables> |
||
| 1051 | linlun | 348 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 349 | <value id="0" name="Standard"/> |
||
| 350 | <value id="1" name="Inverted"/> |
||
| 351 | </variable> |
||
| 1031 | linlun | 352 | <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 353 | <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 354 | <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 355 | </variables> |
||
| 356 | </command> |
||
| 357 | |||
| 358 | <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD"> |
||
| 359 | <variables> |
||
| 360 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 361 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 362 | <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 363 | <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 364 | </variables> |
||
| 365 | </command> |
||
| 1019 | linlun | 366 | |
| 1251 | linlun | 367 | <command id="138" name="LCD_New_Image" type="specific" module="KS0108" description="Store a new image in eeprom"> |
| 368 | <variables> |
||
| 369 | <variable name="image_id" type="uint" start_bit="0" bit_length="8" unit="" description="the new image id"/> |
||
| 370 | <variable name="size_X" type="uint" start_bit="8" bit_length="8" unit="" description="Size in x direction"/> |
||
| 371 | <variable name="size_Y" type="uint" start_bit="16" bit_length="8" unit="" description="Size in y direction"/> |
||
| 372 | </variables> |
||
| 373 | </command> |
||
| 374 | <command id="139" name="LCD_Ack" type="specific" module="KS0108" description="Data correctly received"> |
||
| 375 | <variables> |
||
| 376 | <variable name="packet_id" type="uint" start_bit="0" bit_length="8" unit="" description="Id of the packet that is acknoleged"/> |
||
| 377 | </variables> |
||
| 378 | </command> |
||
| 379 | |||
| 380 | <command id="140" name="LCD_Error" type="specific" module="KS0108" description="Data error"/> |
||
| 381 | |||
| 382 | <command id="141" name="LCD_Image_Data" type="specific" module="KS0108" description="Data"/> |
||
| 383 | <command id="141" name="LCD_Image_Data_7" type="specific" module="KS0108" description="Data"> |
||
| 384 | <variables> |
||
| 385 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 386 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 387 | <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 388 | <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 389 | <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 390 | <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 391 | <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/> |
||
| 392 | <variable name="Data6" type="uint" start_bit="56" bit_length="8" unit="" description=""/> |
||
| 393 | </variables> |
||
| 394 | </command> |
||
| 395 | <command id="141" name="LCD_Image_Data_6" type="specific" module="KS0108" description="Data"> |
||
| 396 | <variables> |
||
| 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=""/> |
||
| 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=""/> |
||
| 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=""/> |
||
| 403 | <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/> |
||
| 404 | </variables> |
||
| 405 | </command> |
||
| 406 | <command id="141" name="LCD_Image_Data_5" type="specific" module="KS0108" description="Data"> |
||
| 407 | <variables> |
||
| 408 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 409 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 410 | <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 411 | <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 412 | <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 413 | <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 414 | </variables> |
||
| 415 | </command> |
||
| 416 | <command id="141" name="LCD_Image_Data_4" type="specific" module="KS0108" description="Data"> |
||
| 417 | <variables> |
||
| 418 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 419 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 420 | <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 421 | <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 422 | <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 423 | </variables> |
||
| 424 | </command> |
||
| 425 | <command id="141" name="LCD_Image_Data_3" type="specific" module="KS0108" description="Data"> |
||
| 426 | <variables> |
||
| 427 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 428 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 429 | <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 430 | <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 431 | </variables> |
||
| 432 | </command> |
||
| 433 | <command id="141" name="LCD_Image_Data_2" type="specific" module="KS0108" description="Data"> |
||
| 434 | <variables> |
||
| 435 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 436 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 437 | <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 438 | </variables> |
||
| 439 | </command> |
||
| 440 | <command id="141" name="LCD_Image_Data_1" type="specific" module="KS0108" description="Data"> |
||
| 441 | <variables> |
||
| 442 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 443 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 444 | </variables> |
||
| 445 | </command> |
||
| 446 | <command id="142" name="LCD_Data_id_Error" type="specific" module="KS0108" description="Wrong data id received"> |
||
| 447 | <variables> |
||
| 448 | <variable name="id" type="uint" start_bit="0" bit_length="8" unit="" description="The expected id"/> |
||
| 449 | </variables> |
||
| 450 | </command> |
||
| 451 | |||
| 452 | <command id="143" name="LCD_Data_Done" type="specific" module="KS0108" description="All data sent"> |
||
| 453 | <variables> |
||
| 454 | </variables> |
||
| 455 | </command> |
||
| 456 | |||
| 1074 | arune | 457 | <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"> |
| 950 | runge | 458 | <variables> |
| 1072 | arune | 459 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 460 | <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"/> |
||
| 950 | runge | 461 | <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| 462 | </variables> |
||
| 463 | </command> |
||
| 1031 | linlun | 464 | |
| 1072 | arune | 465 | <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"> |
| 950 | runge | 466 | <variables> |
| 1072 | arune | 467 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 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)"/> |
||
| 1088 | arune | 469 | <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description=""> |
| 470 | <value id="0" name="Decrease"/> |
||
| 471 | <value id="1" name="Increase"/> |
||
| 472 | </variable> |
||
| 950 | runge | 473 | </variables> |
| 474 | </command> |
||
| 1072 | arune | 475 | <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop"> |
| 950 | runge | 476 | <variables> |
| 1072 | arune | 477 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 950 | runge | 478 | </variables> |
| 479 | </command> |
||
| 1072 | arune | 480 | <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received"> |
| 950 | runge | 481 | <variables> |
| 1072 | arune | 482 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 483 | <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)"/> |
||
| 950 | runge | 484 | <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| 485 | </variables> |
||
| 486 | </command> |
||
| 1072 | arune | 487 | <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"> |
| 950 | runge | 488 | <variables> |
| 1072 | arune | 489 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 490 | <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)"/> |
||
| 491 | <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description=""> |
||
| 492 | <value id="0" name="Decrease"/> |
||
| 493 | <value id="1" name="Increase"/> |
||
| 494 | </variable> |
||
| 495 | <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/> |
||
| 950 | runge | 496 | </variables> |
| 497 | </command> |
||
| 1072 | arune | 498 | <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power"> |
| 499 | <variables> |
||
| 500 | <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power"> |
||
| 501 | <value id="0" name="Disconnected"/> |
||
| 502 | <value id="1" name="Connected"/> |
||
| 503 | </variable> |
||
| 1074 | arune | 504 | <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power"> |
| 505 | <value id="0" name="Error_Unknown"/> |
||
| 506 | <value id="1" name="50Hz"/> |
||
| 507 | <value id="2" name="60Hz"/> |
||
| 508 | </variable> |
||
| 1092 | arune | 509 | <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/> |
| 1375 | linlun | 510 | <variable name="Channel" type="uint" start_bit="16" bit_length="8" unit="" description="Dimmer channel"/> |
| 1072 | arune | 511 | </variables> |
| 512 | </command> |
||
| 1423 | linlun | 513 | <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"> |
| 514 | <variables> |
||
| 515 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 516 | <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"/> |
||
| 517 | <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/> |
||
| 518 | </variables> |
||
| 519 | </command> |
||
| 520 | |||
| 521 | <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"> |
||
| 522 | <variables> |
||
| 523 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 524 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/> |
||
| 525 | <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description=""> |
||
| 526 | <value id="0" name="Decrease"/> |
||
| 527 | <value id="1" name="Increase"/> |
||
| 528 | </variable> |
||
| 529 | </variables> |
||
| 530 | </command> |
||
| 531 | <command id="130" name="Stop_Fade" type="specific" module="hwPWM" description="If a fade is in progress, then stop"> |
||
| 532 | <variables> |
||
| 533 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 534 | </variables> |
||
| 535 | </command> |
||
| 536 | <command id="131" name="Abs_Fade" type="specific" module="hwPWM" description="Fade to a defined value, stops when another command is received"> |
||
| 537 | <variables> |
||
| 538 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 539 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms, set speed to 0 if no fading is to be used (go to target immediately)"/> |
||
| 540 | <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/> |
||
| 541 | </variables> |
||
| 542 | </command> |
||
| 543 | <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"> |
||
| 544 | <variables> |
||
| 545 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 546 | <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)"/> |
||
| 547 | <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description=""> |
||
| 548 | <value id="0" name="Decrease"/> |
||
| 549 | <value id="1" name="Increase"/> |
||
| 550 | </variable> |
||
| 551 | <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/> |
||
| 552 | </variables> |
||
| 553 | </command> |
||
| 554 | |||
| 1177 | linlun | 555 | <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM"> |
| 1156 | linlun | 556 | <variables> |
| 1177 | linlun | 557 | <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/> |
| 558 | <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/> |
||
| 559 | </variables> |
||
| 1156 | linlun | 560 | </command> |
| 1284 | arune | 561 | <command id="128" name="Gesture" type="specific" module="Touch" description="Parsed touch data as a gesture"> |
| 1277 | arune | 562 | <variables> |
| 1279 | arune | 563 | <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"/> |
| 564 | <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"/> |
||
| 565 | <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)"> |
||
| 566 | <value id="0" name="M"/> |
||
| 567 | <value id="1" name="P"/> |
||
| 1277 | arune | 568 | </variable> |
| 1279 | arune | 569 | <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"> |
| 570 | <value id="0" name="M"/> |
||
| 571 | <value id="1" name="P"/> |
||
| 1277 | arune | 572 | </variable> |
| 1279 | arune | 573 | <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"> |
| 574 | <value id="0" name="M"/> |
||
| 575 | <value id="1" name="P"/> |
||
| 1277 | arune | 576 | </variable> |
| 1279 | arune | 577 | <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"> |
| 578 | <value id="0" name="M"/> |
||
| 579 | <value id="1" name="P"/> |
||
| 1277 | arune | 580 | </variable> |
| 1279 | arune | 581 | <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"> |
| 582 | <value id="0" name="M"/> |
||
| 583 | <value id="1" name="P"/> |
||
| 1277 | arune | 584 | </variable> |
| 1279 | arune | 585 | <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"> |
| 586 | <value id="0" name="M"/> |
||
| 587 | <value id="1" name="P"/> |
||
| 1277 | arune | 588 | </variable> |
| 1279 | arune | 589 | <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"> |
| 590 | <value id="0" name="M"/> |
||
| 591 | <value id="1" name="P"/> |
||
| 592 | <value id="2" name="U"/> |
||
| 1277 | arune | 593 | </variable> |
| 594 | </variables> |
||
| 595 | </command> |
||
| 1284 | arune | 596 | <command id="129" name="Raw" type="specific" module="Touch" description="Raw touch data"> |
| 597 | <variables> |
||
| 598 | <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="Gives the current push status"> |
||
| 599 | <value id="1" name="Pressed"/> |
||
| 600 | <value id="0" name="Released"/> |
||
| 601 | </variable> |
||
| 602 | <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 603 | <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 604 | </variables> |
||
| 605 | </command> |
||
| 946 | runge | 606 | </commands> |
| 607 | <modules> |
||
| 965 | runge | 608 | <module id="0" name="Debug" class="tst"/> |
| 946 | runge | 609 | <module id="1" name="Default" class="def"/> |
| 610 | <module id="3" name="DS18x20" class="sns"/> |
||
| 611 | <module id="5" name="FOST02" class="sns"/> |
||
| 612 | <module id="6" name="BusVoltage" class="sns"/> |
||
| 613 | <module id="7" name="SimpleDTMF" class="sns"/> |
||
| 614 | <module id="8" name="Rotary" class="sns"/> |
||
| 953 | runge | 615 | <module id="9" name="HD44789" class="act"/> |
| 616 | <module id="10" name="Dimmer230" class="act"/> |
||
| 617 | <module id="11" name="KS0108" class="act"/> |
||
| 954 | runge | 618 | <module id="12" name="RGBdriver" class="act"/> |
| 1389 | arune | 619 | <module id="13" name="hwPWM" class="act"/> |
| 992 | arune | 620 | <module id="14" name="irReceive" class="sns"/> |
| 1000 | kribba | 621 | <module id="15" name="nmea" class="sns"/> |
| 1054 | runge | 622 | <module id="16" name="irTransmit" class="sns"/> |
| 1098 | linlun | 623 | <module id="17" name="TC1047A" class="sns"/> |
| 1110 | linlun | 624 | <module id="18" name="PID" class="act"/> |
| 625 | <module id="19" name="SlowPWM" class="act"/> |
||
| 1121 | linlun | 626 | <module id="20" name="power" class="sns"/> |
| 1156 | linlun | 627 | <module id="21" name="softPWM" class="act"/> |
| 1277 | arune | 628 | <module id="22" name="Touch" class="sns"/> |
| 1417 | linlun | 629 | <module id="23" name="RotaryHex" class="sns"/> |
| 1419 | linlun | 630 | <module id="24" name="output" class="act"/> |
| 631 | <module id="25" name="input" class="sns"/> |
||
| 1266 | pengi | 632 | <module id="30" name="ChnMaster" class="chn"/> |
| 1269 | pengi | 633 | <module id="31" name="ChnController" class="chn"/> |
| 946 | runge | 634 | </modules> |
| 635 | <defines> |
||
| 636 | <define id="1" group="DirectionFlag" name="From_Owner"/> |
||
| 637 | <define id="0" group="DirectionFlag" name="To_Owner"/> |
||
| 638 | </defines> |
||
| 986 | runge | 639 | <nmt_messages> |
| 640 | <nmt_message id="0" name="Time"/> |
||
| 641 | <nmt_message id="4" name="Reset"> |
||
| 642 | <variables> |
||
| 643 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 644 | </variables> |
||
| 645 | </nmt_message> |
||
| 646 | <nmt_message id="8" name="Bios_Start"> |
||
| 647 | <variables> |
||
| 648 | <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 649 | <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 650 | <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/> |
||
| 651 | </variables> |
||
| 652 | </nmt_message> |
||
| 653 | <nmt_message id="12" name="Pgm_Start"> |
||
| 654 | <variables> |
||
| 1023 | arune | 655 | <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 656 | <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 657 | <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 658 | <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 986 | runge | 659 | <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/> |
| 660 | </variables> |
||
| 661 | </nmt_message> |
||
| 1023 | arune | 662 | <nmt_message id="16" name="Pgm_Data"> |
| 986 | runge | 663 | <variables> |
| 664 | <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 1023 | arune | 665 | <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/> |
| 986 | runge | 666 | </variables> |
| 667 | </nmt_message> |
||
| 1023 | arune | 668 | <nmt_message id="16" name="Pgm_Data_48"> |
| 669 | <variables> |
||
| 670 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 671 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 672 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 673 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 674 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 675 | <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 676 | <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/> |
||
| 677 | <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/> |
||
| 678 | </variables> |
||
| 679 | </nmt_message> |
||
| 680 | <nmt_message id="16" name="Pgm_Data_8"> |
||
| 681 | <variables> |
||
| 682 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 683 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 684 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 685 | </variables> |
||
| 686 | </nmt_message> |
||
| 687 | <nmt_message id="16" name="Pgm_Data_16"> |
||
| 688 | <variables> |
||
| 689 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 690 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 691 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 692 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 693 | </variables> |
||
| 694 | </nmt_message> |
||
| 695 | <nmt_message id="16" name="Pgm_Data_24"> |
||
| 696 | <variables> |
||
| 697 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 698 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 699 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 700 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 701 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 702 | </variables> |
||
| 703 | </nmt_message> |
||
| 1015 | arune | 704 | <nmt_message id="16" name="Pgm_Data_32"> |
| 705 | <variables> |
||
| 1023 | arune | 706 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 707 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 708 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 709 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 710 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 711 | <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 1015 | arune | 712 | </variables> |
| 713 | </nmt_message> |
||
| 1023 | arune | 714 | <nmt_message id="16" name="Pgm_Data_40"> |
| 1015 | arune | 715 | <variables> |
| 1023 | arune | 716 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 717 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 718 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 719 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 720 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 721 | <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 722 | <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/> |
||
| 1015 | arune | 723 | </variables> |
| 724 | </nmt_message> |
||
| 986 | runge | 725 | <nmt_message id="20" name="Pgm_End"/> |
| 726 | <nmt_message id="24" name="Pgm_Copy"> |
||
| 727 | <variables> |
||
| 1023 | arune | 728 | <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 729 | <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 730 | <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 731 | <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 732 | <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 733 | <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 986 | runge | 734 | </variables> |
| 735 | </nmt_message> |
||
| 736 | <nmt_message id="28" name="Pgm_Ack"> |
||
| 737 | <variables> |
||
| 738 | <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 739 | </variables> |
||
| 740 | </nmt_message> |
||
| 741 | <nmt_message id="32" name="Pgm_Nack"> |
||
| 742 | <variables> |
||
| 743 | <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 744 | </variables> |
||
| 745 | </nmt_message> |
||
| 746 | <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node"> |
||
| 747 | <variables> |
||
| 748 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 749 | </variables> |
||
| 750 | </nmt_message> |
||
| 751 | <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts"> |
||
| 752 | <variables> |
||
| 753 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 754 | </variables> |
||
| 755 | </nmt_message> |
||
| 756 | <nmt_message id="44" name="Heartbeat"> |
||
| 757 | <variables> |
||
| 758 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 759 | <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 760 | </variables> |
||
| 761 | </nmt_message> |
||
| 762 | </nmt_messages> |
||
| 946 | runge | 763 | </root> |