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