Rev 1551 | Rev 1567 | 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> |
||
| 1539 | arune | 236 | |
| 237 | <command id="128" name="AnalogConfig" type="specific" module="inputAnalog" description="Configuration for analog input module"> |
||
| 238 | <variables> |
||
| 239 | <variable name="SensorId" type="uint" start_bit="0" bit_length="4" unit="" description="Which input to configure"/> |
||
| 1542 | arune | 240 | <variable name="Setting" type="enum" start_bit="4" bit_length="2" unit="" description=""> |
| 1539 | arune | 241 | <value id="0" name="PeriodicMeasure"/> |
| 242 | <value id="1" name="DigitalInput"/> |
||
| 243 | </variable> |
||
| 1542 | arune | 244 | <variable name="Pullup" type="enum" start_bit="6" bit_length="1" unit="" description="Enable pullup on sensor"> |
| 1539 | arune | 245 | <value id="0" name="Disable"/> |
| 246 | <value id="1" name="Enable"/> |
||
| 247 | </variable> |
||
| 1542 | arune | 248 | <variable name="Reference" type="enum" start_bit="7" bit_length="1" unit="" description="Enable GND reference on sensor"> |
| 1539 | arune | 249 | <value id="0" name="Disable"/> |
| 250 | <value id="1" name="Enable"/> |
||
| 251 | </variable> |
||
| 1542 | arune | 252 | <variable name="VoltageLowTh" type="float" start_bit="8" bit_length="16" unit="Volt" description="Low threshold for digital input"/> |
| 253 | <variable name="VoltageHighTh" type="float" start_bit="24" bit_length="16" unit="Volt" description="High threshold for digital input"/> |
||
| 254 | <variable name="Periodicity" type="uint" start_bit="40" bit_length="16" unit="Millisecond" description="The periodicity at which the sensorvalue is sent during periodic measure"/> |
||
| 1539 | arune | 255 | </variables> |
| 256 | </command> |
||
| 257 | |||
| 1110 | linlun | 258 | <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator"> |
| 259 | <variables> |
||
| 1117 | linlun | 260 | <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
| 261 | <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/> |
||
| 262 | <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/> |
||
| 1380 | linlun | 263 | <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/> |
| 1110 | linlun | 264 | </variables> |
| 265 | </command> |
||
| 1363 | linlun | 266 | <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 | 267 | <variables> |
| 268 | <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 269 | <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 270 | <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 271 | </variables> |
||
| 272 | </command> |
||
| 1363 | linlun | 273 | <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"> |
| 274 | <variables> |
||
| 275 | <variable name="actuatorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 276 | <variable name="actuatorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 277 | <variable name="actuatorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 278 | </variables> |
||
| 279 | </command> |
||
| 280 | <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"> |
||
| 281 | <variables> |
||
| 282 | <variable name="K_P" type="float" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 283 | <variable name="K_I" type="float" start_bit="16" bit_length="16" unit="" description=""/> |
||
| 284 | <variable name="K_D" type="float" start_bit="32" bit_length="16" unit="" description=""/> |
||
| 1376 | linlun | 285 | <variable name="TimeUnit" type="enum" start_bit="48" bit_length="1" unit="" description=""> |
| 1380 | linlun | 286 | <value id="0" name="s"/> |
| 287 | <value id="1" name="ms"/> |
||
| 1363 | linlun | 288 | </variable> |
| 1380 | linlun | 289 | <variable name="RegulatorTime" type="uint" start_bit="49" bit_length="15" unit="" description=""/> |
| 1363 | linlun | 290 | </variables> |
| 291 | </command> |
||
| 292 | <command id="132" name="PID_STATUS" type="specific" module="PID" description="information about the pid controller"> |
||
| 293 | <variables> |
||
| 294 | <variable name="Measurment" type="float" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 295 | <variable name="Reference" type="float" start_bit="16" bit_length="16" unit="" description=""/> |
||
| 1380 | linlun | 296 | <variable name="PWM" type="uint" start_bit="32" bit_length="16" unit="" description=""/> |
| 297 | <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/> |
||
| 1363 | linlun | 298 | </variables> |
| 299 | </command> |
||
| 1111 | linlun | 300 | <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"> |
| 301 | <variables> |
||
| 302 | <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 303 | <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/> |
||
| 304 | <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description=""> |
||
| 305 | <value id="0" name="LOW"/> |
||
| 306 | <value id="1" name="HIGH"/> |
||
| 307 | <value id="2" name="TRISTATE"/> |
||
| 308 | </variable> |
||
| 309 | <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description=""> |
||
| 310 | <value id="0" name="ON"/> |
||
| 311 | <value id="1" name="OFF"/> |
||
| 312 | </variable> |
||
| 313 | </variables> |
||
| 314 | </command> |
||
| 315 | <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD"> |
||
| 1017 | linlun | 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> |
||
| 1017 | linlun | 321 | </variables> |
| 322 | </command> |
||
| 1006 | linlun | 323 | <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position"> |
| 324 | <variables> |
||
| 1019 | linlun | 325 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/> |
| 326 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/> |
||
| 1051 | linlun | 327 | <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output"> |
| 328 | <value id="0" name="Standard"/> |
||
| 329 | <value id="1" name="Inverted"/> |
||
| 330 | </variable> |
||
| 331 | <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"> |
||
| 332 | <value id="0" name="Standard"/> |
||
| 333 | <value id="1" name="Transparent"/> |
||
| 334 | </variable> |
||
| 1006 | linlun | 335 | </variables> |
| 336 | </command> |
||
| 1019 | linlun | 337 | <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 | 338 | <variables> |
| 339 | <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/> |
||
| 340 | </variables> |
||
| 341 | </command> |
||
| 1019 | linlun | 342 | <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD"> |
| 343 | <variables> |
||
| 1051 | linlun | 344 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 345 | <value id="0" name="Standard"/> |
||
| 346 | <value id="1" name="Inverted"/> |
||
| 347 | </variable> |
||
| 1019 | linlun | 348 | </variables> |
| 349 | </command> |
||
| 1006 | linlun | 350 | <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness"> |
| 351 | <variables> |
||
| 352 | <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 1427 | linlun | 353 | <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description=""> |
| 354 | <value id="0" name="OFF"/> |
||
| 355 | <value id="1" name="ON"/> |
||
| 356 | </variable> |
||
| 1006 | linlun | 357 | </variables> |
| 358 | </command> |
||
| 1031 | linlun | 359 | <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD"> |
| 1006 | linlun | 360 | <variables> |
| 1051 | linlun | 361 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 362 | <value id="0" name="Standard"/> |
||
| 363 | <value id="1" name="Inverted"/> |
||
| 364 | </variable> |
||
| 365 | <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"> |
||
| 366 | <value id="0" name="Standard"/> |
||
| 367 | <value id="1" name="Transparent"/> |
||
| 368 | </variable> |
||
| 1031 | linlun | 369 | <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/> |
| 1006 | linlun | 370 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 371 | <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/> |
||
| 372 | </variables> |
||
| 373 | </command> |
||
| 1031 | linlun | 374 | <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD"> |
| 375 | <variables> |
||
| 1051 | linlun | 376 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 377 | <value id="0" name="Standard"/> |
||
| 378 | <value id="1" name="Inverted"/> |
||
| 379 | </variable> |
||
| 380 | <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled"> |
||
| 381 | <value id="0" name="NoFill"/> |
||
| 382 | <value id="1" name="Fill"/> |
||
| 383 | </variable> |
||
| 1031 | linlun | 384 | <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 385 | <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 386 | <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 387 | <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 388 | <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/> |
||
| 389 | </variables> |
||
| 390 | </command> |
||
| 391 | |||
| 392 | <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD"> |
||
| 393 | <variables> |
||
| 1051 | linlun | 394 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 395 | <value id="0" name="Standard"/> |
||
| 396 | <value id="1" name="Inverted"/> |
||
| 397 | </variable> |
||
| 1031 | linlun | 398 | <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 399 | <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 400 | <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 401 | <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 402 | </variables> |
||
| 403 | </command> |
||
| 1019 | linlun | 404 | |
| 1031 | linlun | 405 | <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD"> |
| 406 | <variables> |
||
| 1051 | linlun | 407 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 408 | <value id="0" name="Standard"/> |
||
| 409 | <value id="1" name="Inverted"/> |
||
| 410 | </variable> |
||
| 1031 | linlun | 411 | <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 412 | <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 413 | <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 414 | </variables> |
||
| 415 | </command> |
||
| 416 | |||
| 417 | <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD"> |
||
| 418 | <variables> |
||
| 419 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 420 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 421 | <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 422 | <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 423 | </variables> |
||
| 424 | </command> |
||
| 1019 | linlun | 425 | |
| 1251 | linlun | 426 | <command id="138" name="LCD_New_Image" type="specific" module="KS0108" description="Store a new image in eeprom"> |
| 427 | <variables> |
||
| 428 | <variable name="image_id" type="uint" start_bit="0" bit_length="8" unit="" description="the new image id"/> |
||
| 429 | <variable name="size_X" type="uint" start_bit="8" bit_length="8" unit="" description="Size in x direction"/> |
||
| 430 | <variable name="size_Y" type="uint" start_bit="16" bit_length="8" unit="" description="Size in y direction"/> |
||
| 431 | </variables> |
||
| 432 | </command> |
||
| 433 | <command id="139" name="LCD_Ack" type="specific" module="KS0108" description="Data correctly received"> |
||
| 434 | <variables> |
||
| 435 | <variable name="packet_id" type="uint" start_bit="0" bit_length="8" unit="" description="Id of the packet that is acknoleged"/> |
||
| 436 | </variables> |
||
| 437 | </command> |
||
| 438 | |||
| 439 | <command id="140" name="LCD_Error" type="specific" module="KS0108" description="Data error"/> |
||
| 440 | |||
| 441 | <command id="141" name="LCD_Image_Data" type="specific" module="KS0108" description="Data"/> |
||
| 442 | <command id="141" name="LCD_Image_Data_7" type="specific" module="KS0108" description="Data"> |
||
| 443 | <variables> |
||
| 444 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 445 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 446 | <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 447 | <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 448 | <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 449 | <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 450 | <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/> |
||
| 451 | <variable name="Data6" type="uint" start_bit="56" bit_length="8" unit="" description=""/> |
||
| 452 | </variables> |
||
| 453 | </command> |
||
| 454 | <command id="141" name="LCD_Image_Data_6" type="specific" module="KS0108" description="Data"> |
||
| 455 | <variables> |
||
| 456 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 457 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 458 | <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 459 | <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 460 | <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 461 | <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 462 | <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/> |
||
| 463 | </variables> |
||
| 464 | </command> |
||
| 465 | <command id="141" name="LCD_Image_Data_5" type="specific" module="KS0108" description="Data"> |
||
| 466 | <variables> |
||
| 467 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 468 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 469 | <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 470 | <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 471 | <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 472 | <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 473 | </variables> |
||
| 474 | </command> |
||
| 475 | <command id="141" name="LCD_Image_Data_4" type="specific" module="KS0108" description="Data"> |
||
| 476 | <variables> |
||
| 477 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 478 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 479 | <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 480 | <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 481 | <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 482 | </variables> |
||
| 483 | </command> |
||
| 484 | <command id="141" name="LCD_Image_Data_3" type="specific" module="KS0108" description="Data"> |
||
| 485 | <variables> |
||
| 486 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 487 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 488 | <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 489 | <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 490 | </variables> |
||
| 491 | </command> |
||
| 492 | <command id="141" name="LCD_Image_Data_2" type="specific" module="KS0108" description="Data"> |
||
| 493 | <variables> |
||
| 494 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 495 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 496 | <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 497 | </variables> |
||
| 498 | </command> |
||
| 499 | <command id="141" name="LCD_Image_Data_1" type="specific" module="KS0108" description="Data"> |
||
| 500 | <variables> |
||
| 501 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 502 | <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 503 | </variables> |
||
| 504 | </command> |
||
| 505 | <command id="142" name="LCD_Data_id_Error" type="specific" module="KS0108" description="Wrong data id received"> |
||
| 506 | <variables> |
||
| 507 | <variable name="id" type="uint" start_bit="0" bit_length="8" unit="" description="The expected id"/> |
||
| 508 | </variables> |
||
| 509 | </command> |
||
| 510 | |||
| 511 | <command id="143" name="LCD_Data_Done" type="specific" module="KS0108" description="All data sent"> |
||
| 512 | <variables> |
||
| 513 | </variables> |
||
| 514 | </command> |
||
| 1440 | arune | 515 | |
| 516 | <command id="128" name="Motion" type="specific" module="PIR" description="Motion and brightness from PIR-sensor"> |
||
| 517 | <variables> |
||
| 518 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 1481 | myhrman | 519 | <variable name="Brightness" type="uint" start_bit="8" bit_length="16" unit="" description=""/> |
| 520 | <variable name="MotionDetect" type="enum" start_bit="24" bit_length="8" unit="" description=""> |
||
| 1440 | arune | 521 | <value id="0" name="NoMotion"/> |
| 522 | <value id="1" name="MotionDetected"/> |
||
| 523 | </variable> |
||
| 524 | </variables> |
||
| 525 | </command> |
||
| 526 | |||
| 1251 | linlun | 527 | |
| 1074 | arune | 528 | <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 | 529 | <variables> |
| 1072 | arune | 530 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 531 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/> |
||
| 950 | runge | 532 | <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| 533 | </variables> |
||
| 534 | </command> |
||
| 1031 | linlun | 535 | |
| 1072 | arune | 536 | <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 | 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)"/> |
||
| 1088 | arune | 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> |
||
| 950 | runge | 544 | </variables> |
| 545 | </command> |
||
| 1072 | arune | 546 | <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop"> |
| 950 | runge | 547 | <variables> |
| 1072 | arune | 548 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 950 | runge | 549 | </variables> |
| 550 | </command> |
||
| 1072 | arune | 551 | <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received"> |
| 950 | runge | 552 | <variables> |
| 1072 | arune | 553 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 554 | <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 | 555 | <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| 556 | </variables> |
||
| 557 | </command> |
||
| 1072 | arune | 558 | <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 | 559 | <variables> |
| 1072 | arune | 560 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 561 | <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)"/> |
||
| 562 | <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description=""> |
||
| 563 | <value id="0" name="Decrease"/> |
||
| 564 | <value id="1" name="Increase"/> |
||
| 565 | </variable> |
||
| 566 | <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/> |
||
| 950 | runge | 567 | </variables> |
| 568 | </command> |
||
| 1072 | arune | 569 | <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power"> |
| 570 | <variables> |
||
| 571 | <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power"> |
||
| 572 | <value id="0" name="Disconnected"/> |
||
| 573 | <value id="1" name="Connected"/> |
||
| 574 | </variable> |
||
| 1074 | arune | 575 | <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power"> |
| 576 | <value id="0" name="Error_Unknown"/> |
||
| 577 | <value id="1" name="50Hz"/> |
||
| 578 | <value id="2" name="60Hz"/> |
||
| 579 | </variable> |
||
| 1092 | arune | 580 | <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/> |
| 1375 | linlun | 581 | <variable name="Channel" type="uint" start_bit="16" bit_length="8" unit="" description="Dimmer channel"/> |
| 1072 | arune | 582 | </variables> |
| 583 | </command> |
||
| 1423 | linlun | 584 | <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"> |
| 585 | <variables> |
||
| 586 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 587 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/> |
||
| 588 | <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/> |
||
| 589 | </variables> |
||
| 590 | </command> |
||
| 591 | |||
| 592 | <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"> |
||
| 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 | </variables> |
||
| 601 | </command> |
||
| 602 | <command id="130" name="Stop_Fade" type="specific" module="hwPWM" description="If a fade is in progress, then stop"> |
||
| 603 | <variables> |
||
| 604 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 605 | </variables> |
||
| 606 | </command> |
||
| 607 | <command id="131" name="Abs_Fade" type="specific" module="hwPWM" description="Fade to a defined value, stops when another command is received"> |
||
| 608 | <variables> |
||
| 609 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 610 | <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)"/> |
||
| 611 | <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/> |
||
| 612 | </variables> |
||
| 613 | </command> |
||
| 614 | <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"> |
||
| 615 | <variables> |
||
| 616 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 617 | <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)"/> |
||
| 618 | <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description=""> |
||
| 619 | <value id="0" name="Decrease"/> |
||
| 620 | <value id="1" name="Increase"/> |
||
| 621 | </variable> |
||
| 622 | <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/> |
||
| 623 | </variables> |
||
| 624 | </command> |
||
| 625 | |||
| 1438 | linlun | 626 | <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"> |
| 627 | <variables> |
||
| 628 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 629 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description="Speed is 1/127 steps per 10ms up to 127 steps per 10ms"/> |
||
| 630 | <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/> |
||
| 631 | </variables> |
||
| 632 | </command> |
||
| 633 | |||
| 634 | <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"> |
||
| 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 | </variables> |
||
| 643 | </command> |
||
| 644 | <command id="130" name="Stop_Fade" type="specific" module="RGBW" description="If a fade is in progress, then stop"> |
||
| 645 | <variables> |
||
| 646 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 647 | </variables> |
||
| 648 | </command> |
||
| 649 | <command id="131" name="Abs_Fade" type="specific" module="RGBW" description="Fade to a defined value, stops when another command is received"> |
||
| 650 | <variables> |
||
| 651 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 652 | <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)"/> |
||
| 653 | <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/> |
||
| 654 | </variables> |
||
| 655 | </command> |
||
| 656 | <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"> |
||
| 657 | <variables> |
||
| 658 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
||
| 659 | <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)"/> |
||
| 660 | <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description=""> |
||
| 661 | <value id="0" name="Decrease"/> |
||
| 662 | <value id="1" name="Increase"/> |
||
| 663 | </variable> |
||
| 664 | <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/> |
||
| 665 | </variables> |
||
| 666 | </command> |
||
| 667 | |||
| 1521 | arune | 668 | <command id="128" name="Id" type="specific" module="identification" description="Broadcast this nodes ID"> |
| 669 | <variables> |
||
| 670 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 671 | </variables> |
||
| 672 | </command> |
||
| 673 | |||
| 1177 | linlun | 674 | <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM"> |
| 1156 | linlun | 675 | <variables> |
| 1177 | linlun | 676 | <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/> |
| 677 | <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/> |
||
| 678 | </variables> |
||
| 1156 | linlun | 679 | </command> |
| 1284 | arune | 680 | <command id="128" name="Gesture" type="specific" module="Touch" description="Parsed touch data as a gesture"> |
| 1277 | arune | 681 | <variables> |
| 1279 | arune | 682 | <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"/> |
| 683 | <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"/> |
||
| 684 | <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)"> |
||
| 685 | <value id="0" name="M"/> |
||
| 686 | <value id="1" name="P"/> |
||
| 1277 | arune | 687 | </variable> |
| 1279 | arune | 688 | <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"> |
| 689 | <value id="0" name="M"/> |
||
| 690 | <value id="1" name="P"/> |
||
| 1277 | arune | 691 | </variable> |
| 1279 | arune | 692 | <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"> |
| 693 | <value id="0" name="M"/> |
||
| 694 | <value id="1" name="P"/> |
||
| 1277 | arune | 695 | </variable> |
| 1279 | arune | 696 | <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"> |
| 697 | <value id="0" name="M"/> |
||
| 698 | <value id="1" name="P"/> |
||
| 1277 | arune | 699 | </variable> |
| 1279 | arune | 700 | <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"> |
| 701 | <value id="0" name="M"/> |
||
| 702 | <value id="1" name="P"/> |
||
| 1277 | arune | 703 | </variable> |
| 1279 | arune | 704 | <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"> |
| 705 | <value id="0" name="M"/> |
||
| 706 | <value id="1" name="P"/> |
||
| 1277 | arune | 707 | </variable> |
| 1279 | arune | 708 | <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"> |
| 709 | <value id="0" name="M"/> |
||
| 710 | <value id="1" name="P"/> |
||
| 711 | <value id="2" name="U"/> |
||
| 1277 | arune | 712 | </variable> |
| 713 | </variables> |
||
| 714 | </command> |
||
| 1284 | arune | 715 | <command id="129" name="Raw" type="specific" module="Touch" description="Raw touch data"> |
| 716 | <variables> |
||
| 717 | <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="Gives the current push status"> |
||
| 718 | <value id="1" name="Pressed"/> |
||
| 719 | <value id="0" name="Released"/> |
||
| 720 | </variable> |
||
| 721 | <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 722 | <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 723 | </variables> |
||
| 724 | </command> |
||
| 946 | runge | 725 | </commands> |
| 726 | <modules> |
||
| 965 | runge | 727 | <module id="0" name="Debug" class="tst"/> |
| 946 | runge | 728 | <module id="1" name="Default" class="def"/> |
| 729 | <module id="3" name="DS18x20" class="sns"/> |
||
| 730 | <module id="5" name="FOST02" class="sns"/> |
||
| 731 | <module id="6" name="BusVoltage" class="sns"/> |
||
| 732 | <module id="7" name="SimpleDTMF" class="sns"/> |
||
| 733 | <module id="8" name="Rotary" class="sns"/> |
||
| 953 | runge | 734 | <module id="9" name="HD44789" class="act"/> |
| 735 | <module id="10" name="Dimmer230" class="act"/> |
||
| 736 | <module id="11" name="KS0108" class="act"/> |
||
| 954 | runge | 737 | <module id="12" name="RGBdriver" class="act"/> |
| 1389 | arune | 738 | <module id="13" name="hwPWM" class="act"/> |
| 992 | arune | 739 | <module id="14" name="irReceive" class="sns"/> |
| 1000 | kribba | 740 | <module id="15" name="nmea" class="sns"/> |
| 1054 | runge | 741 | <module id="16" name="irTransmit" class="sns"/> |
| 1098 | linlun | 742 | <module id="17" name="TC1047A" class="sns"/> |
| 1110 | linlun | 743 | <module id="18" name="PID" class="act"/> |
| 744 | <module id="19" name="SlowPWM" class="act"/> |
||
| 1121 | linlun | 745 | <module id="20" name="power" class="sns"/> |
| 1156 | linlun | 746 | <module id="21" name="softPWM" class="act"/> |
| 1277 | arune | 747 | <module id="22" name="Touch" class="sns"/> |
| 1417 | linlun | 748 | <module id="23" name="RotaryHex" class="sns"/> |
| 1419 | linlun | 749 | <module id="24" name="output" class="act"/> |
| 750 | <module id="25" name="input" class="sns"/> |
||
| 1438 | linlun | 751 | <module id="26" name="RGBW" class="act"/> |
| 1471 | arune | 752 | <module id="27" name="irTransceive" class="sns"/> |
| 1521 | arune | 753 | <module id="28" name="identification" class="sns"/> |
| 1266 | pengi | 754 | <module id="30" name="ChnMaster" class="chn"/> |
| 1269 | pengi | 755 | <module id="31" name="ChnController" class="chn"/> |
| 1440 | arune | 756 | <module id="45" name="PIR" class="sns"/> |
| 1441 | arune | 757 | <module id="46" name="TCN75A" class="sns"/> |
| 1443 | arune | 758 | <module id="47" name="VoltageCurrent" class="sns"/> |
| 1448 | myhrman | 759 | <module id="48" name="Serial" class="sns"/> |
| 1511 | arune | 760 | <module id="49" name="protectedOutput" class="sns"/> |
| 1539 | arune | 761 | <module id="50" name="inputAnalog" class="sns"/> |
| 1551 | leif | 762 | <module id="51" name="LM335" class="sns"/> |
| 1565 | leif | 763 | <module id="52" name="SH11" class="sns"/> |
| 764 | <module id="53" name="Radio433Transmit" class="sns"/> |
||
| 765 | <module id="54" name="Radio433Receive" class="sns"/> |
||
| 946 | runge | 766 | </modules> |
| 767 | <defines> |
||
| 768 | <define id="1" group="DirectionFlag" name="From_Owner"/> |
||
| 769 | <define id="0" group="DirectionFlag" name="To_Owner"/> |
||
| 770 | </defines> |
||
| 986 | runge | 771 | <nmt_messages> |
| 772 | <nmt_message id="0" name="Time"/> |
||
| 773 | <nmt_message id="4" name="Reset"> |
||
| 774 | <variables> |
||
| 775 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 776 | </variables> |
||
| 777 | </nmt_message> |
||
| 778 | <nmt_message id="8" name="Bios_Start"> |
||
| 779 | <variables> |
||
| 780 | <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 781 | <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 782 | <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/> |
||
| 783 | </variables> |
||
| 784 | </nmt_message> |
||
| 785 | <nmt_message id="12" name="Pgm_Start"> |
||
| 786 | <variables> |
||
| 1023 | arune | 787 | <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 788 | <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 789 | <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 790 | <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 986 | runge | 791 | <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/> |
| 792 | </variables> |
||
| 793 | </nmt_message> |
||
| 1023 | arune | 794 | <nmt_message id="16" name="Pgm_Data"> |
| 986 | runge | 795 | <variables> |
| 796 | <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 1023 | arune | 797 | <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/> |
| 986 | runge | 798 | </variables> |
| 799 | </nmt_message> |
||
| 1023 | arune | 800 | <nmt_message id="16" name="Pgm_Data_48"> |
| 801 | <variables> |
||
| 802 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 803 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 804 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 805 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 806 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 807 | <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 808 | <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/> |
||
| 809 | <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/> |
||
| 810 | </variables> |
||
| 811 | </nmt_message> |
||
| 812 | <nmt_message id="16" name="Pgm_Data_8"> |
||
| 813 | <variables> |
||
| 814 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 815 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 816 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 817 | </variables> |
||
| 818 | </nmt_message> |
||
| 819 | <nmt_message id="16" name="Pgm_Data_16"> |
||
| 820 | <variables> |
||
| 821 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 822 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 823 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 824 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 825 | </variables> |
||
| 826 | </nmt_message> |
||
| 827 | <nmt_message id="16" name="Pgm_Data_24"> |
||
| 828 | <variables> |
||
| 829 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 830 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 831 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 832 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 833 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 834 | </variables> |
||
| 835 | </nmt_message> |
||
| 1015 | arune | 836 | <nmt_message id="16" name="Pgm_Data_32"> |
| 837 | <variables> |
||
| 1023 | arune | 838 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 839 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 840 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 841 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 842 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 843 | <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 1015 | arune | 844 | </variables> |
| 845 | </nmt_message> |
||
| 1023 | arune | 846 | <nmt_message id="16" name="Pgm_Data_40"> |
| 1015 | arune | 847 | <variables> |
| 1023 | arune | 848 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 849 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 850 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 851 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 852 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 853 | <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 854 | <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/> |
||
| 1015 | arune | 855 | </variables> |
| 856 | </nmt_message> |
||
| 986 | runge | 857 | <nmt_message id="20" name="Pgm_End"/> |
| 858 | <nmt_message id="24" name="Pgm_Copy"> |
||
| 859 | <variables> |
||
| 1023 | arune | 860 | <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 861 | <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 862 | <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 863 | <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 864 | <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 865 | <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 986 | runge | 866 | </variables> |
| 867 | </nmt_message> |
||
| 868 | <nmt_message id="28" name="Pgm_Ack"> |
||
| 869 | <variables> |
||
| 870 | <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 871 | </variables> |
||
| 872 | </nmt_message> |
||
| 873 | <nmt_message id="32" name="Pgm_Nack"> |
||
| 874 | <variables> |
||
| 875 | <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 876 | </variables> |
||
| 877 | </nmt_message> |
||
| 878 | <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node"> |
||
| 879 | <variables> |
||
| 880 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 881 | </variables> |
||
| 882 | </nmt_message> |
||
| 883 | <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts"> |
||
| 884 | <variables> |
||
| 885 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 886 | </variables> |
||
| 887 | </nmt_message> |
||
| 888 | <nmt_message id="44" name="Heartbeat"> |
||
| 889 | <variables> |
||
| 890 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 891 | <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 892 | </variables> |
||
| 893 | </nmt_message> |
||
| 894 | </nmt_messages> |
||
| 946 | runge | 895 | </root> |