Rev 1110 | Rev 1117 | 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"/> |
||
| 10 | </classes> |
||
| 11 | <commands> |
||
| 12 | <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is"> |
||
| 13 | <variables> |
||
| 14 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 15 | <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 16 | <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 17 | </variables> |
||
| 18 | </command> |
||
| 968 | runge | 19 | |
| 954 | runge | 20 | <command id="2" name="Debug" type="global" module="" description="Used for debugging, should not be used for anything real"/> |
| 21 | <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting"> |
||
| 952 | runge | 22 | <variables> |
| 23 | <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/> |
||
| 24 | </variables> |
||
| 25 | </command> |
||
| 958 | runge | 26 | |
| 27 | <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data"> |
||
| 28 | <variables> |
||
| 29 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 30 | <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/> |
||
| 31 | </variables> |
||
| 32 | </command> |
||
| 946 | runge | 33 | <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data"> |
| 34 | <variables> |
||
| 35 | <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 36 | <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/> |
||
| 37 | </variables> |
||
| 38 | </command> |
||
| 956 | runge | 39 | <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data"> |
| 40 | <variables> |
||
| 41 | <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 42 | <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/> |
||
| 43 | </variables> |
||
| 44 | </command> |
||
| 946 | runge | 45 | <command id="67" name="Voltage" type="physical" module="" description="Voltage data"> |
| 46 | <variables> |
||
| 47 | <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 48 | <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/> |
||
| 49 | </variables> |
||
| 50 | </command> |
||
| 981 | runge | 51 | <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data"> |
| 52 | <variables> |
||
| 53 | <variable name="Number" type="hexstring" start_bit="0" bit_length="64" unit="" description=""/> |
||
| 54 | </variables> |
||
| 55 | </command> |
||
| 956 | runge | 56 | <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status"> |
| 57 | <variables> |
||
| 58 | <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 59 | <variable name="Direction" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 60 | <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 61 | <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 62 | </variables> |
||
| 63 | </command> |
||
| 64 | <command id="70" name="Button" type="physical" module="" description=""> |
||
| 65 | <variables> |
||
| 66 | <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 1046 | runge | 67 | <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description=""> |
| 68 | <value id="1" name="Pressed"/> |
||
| 69 | <value id="0" name="Released"/> |
||
| 70 | </variable> |
||
| 956 | runge | 71 | </variables> |
| 72 | </command> |
||
| 992 | arune | 73 | <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding"> |
| 74 | <variables> |
||
| 1046 | runge | 75 | <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="State of remote button"> |
| 76 | <value id="1" name="Pressed"/> |
||
| 77 | <value id="0" name="Released"/> |
||
| 78 | </variable> |
||
| 1059 | runge | 79 | <variable name="Protocol" type="enum" start_bit="8" bit_length="8" unit="" description="Button protocol"> |
| 80 | <value id="0" name="RC5"/> |
||
| 81 | <value id="1" name="RC6"/> |
||
| 82 | <value id="2" name="RCMM"/> |
||
| 83 | <value id="3" name="SIRC"/> |
||
| 84 | <value id="4" name="Sharp"/> |
||
| 85 | <value id="5" name="NEC"/> |
||
| 86 | <value id="6" name="Samsung"/> |
||
| 87 | <value id="7" name="Marantz"/> |
||
| 88 | <value id="255" name="Unknown"/> |
||
| 89 | </variable> |
||
| 992 | arune | 90 | <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/> |
| 91 | </variables> |
||
| 92 | </command> |
||
| 1110 | linlun | 93 | <command id="72" name="SlowPwm" type="physical" module="" description="Message for pwm data, 0 to 9999"> |
| 94 | <variables> |
||
| 95 | <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 96 | <variable name="Value" type="uint" start_bit="8" bit_length="16" unit="" description=""/> |
||
| 97 | </variables> |
||
| 98 | </command> |
||
| 958 | runge | 99 | |
| 992 | arune | 100 | <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data"> |
| 101 | <variables> |
||
| 102 | <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/> |
||
| 103 | <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/> |
||
| 104 | <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/> |
||
| 105 | <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/> |
||
| 106 | </variables> |
||
| 107 | </command> |
||
| 1000 | kribba | 108 | <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position"> |
| 109 | <variables> |
||
| 110 | <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/> |
||
| 111 | <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/> |
||
| 112 | <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/> |
||
| 113 | <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/> |
||
| 114 | <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/> |
||
| 115 | <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/> |
||
| 116 | <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/> |
||
| 117 | <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/> |
||
| 118 | </variables> |
||
| 119 | </command> |
||
| 968 | runge | 120 | <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf"> |
| 121 | <variables> |
||
| 122 | <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/> |
||
| 123 | </variables> |
||
| 124 | </command> |
||
| 946 | runge | 125 | <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/> |
| 126 | <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position"> |
||
| 127 | <variables> |
||
| 128 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 129 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 130 | </variables> |
||
| 131 | </command> |
||
| 132 | <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD"> |
||
| 133 | <variables> |
||
| 134 | <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/> |
||
| 135 | </variables> |
||
| 136 | </command> |
||
| 137 | <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD"> |
||
| 138 | <variables> |
||
| 139 | <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 140 | <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 141 | </variables> |
||
| 142 | </command> |
||
| 143 | <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness"> |
||
| 144 | <variables> |
||
| 145 | <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 146 | </variables> |
||
| 147 | </command> |
||
| 958 | runge | 148 | <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD"> |
| 946 | runge | 149 | <variables> |
| 150 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 151 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 152 | <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/> |
||
| 153 | </variables> |
||
| 154 | </command> |
||
| 1019 | linlun | 155 | |
| 1110 | linlun | 156 | <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator"> |
| 157 | <variables> |
||
| 158 | <variable name="P-term" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 159 | <variable name="I-term" type="uint" start_bit="16" bit_length="16" unit="" description=""/> |
||
| 160 | <variable name="D-term" type="uint" start_bit="32" bit_length="16" unit="" description=""/> |
||
| 161 | <variable name="Sum" type="uint" start_bit="48" bit_length="16" unit="" description=""/> |
||
| 162 | </variables> |
||
| 163 | </command> |
||
| 164 | <command id="129" name="CONFIG" type="specific" module="PID" description="Configure PID regulator, if message is sent with 0 data bytes, module will respond with current configuration"> |
||
| 165 | <variables> |
||
| 166 | <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 167 | <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 168 | <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 169 | </variables> |
||
| 170 | </command> |
||
| 1111 | linlun | 171 | <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"> |
| 172 | <variables> |
||
| 173 | <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 174 | <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/> |
||
| 175 | <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description=""> |
||
| 176 | <value id="0" name="LOW"/> |
||
| 177 | <value id="1" name="HIGH"/> |
||
| 178 | <value id="2" name="TRISTATE"/> |
||
| 179 | </variable> |
||
| 180 | <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description=""> |
||
| 181 | <value id="0" name="ON"/> |
||
| 182 | <value id="1" name="OFF"/> |
||
| 183 | </variable> |
||
| 184 | </variables> |
||
| 185 | </command> |
||
| 186 | <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD"> |
||
| 1017 | linlun | 187 | <variables> |
| 1051 | linlun | 188 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 189 | <value id="0" name="Standard"/> |
||
| 190 | <value id="1" name="Inverted"/> |
||
| 191 | </variable> |
||
| 1017 | linlun | 192 | </variables> |
| 193 | </command> |
||
| 1006 | linlun | 194 | <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position"> |
| 195 | <variables> |
||
| 1019 | linlun | 196 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/> |
| 197 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/> |
||
| 1051 | linlun | 198 | <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output"> |
| 199 | <value id="0" name="Standard"/> |
||
| 200 | <value id="1" name="Inverted"/> |
||
| 201 | </variable> |
||
| 202 | <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"> |
||
| 203 | <value id="0" name="Standard"/> |
||
| 204 | <value id="1" name="Transparent"/> |
||
| 205 | </variable> |
||
| 1006 | linlun | 206 | </variables> |
| 207 | </command> |
||
| 1019 | linlun | 208 | <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 | 209 | <variables> |
| 210 | <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/> |
||
| 211 | </variables> |
||
| 212 | </command> |
||
| 1019 | linlun | 213 | <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD"> |
| 214 | <variables> |
||
| 1051 | linlun | 215 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 216 | <value id="0" name="Standard"/> |
||
| 217 | <value id="1" name="Inverted"/> |
||
| 218 | </variable> |
||
| 1019 | linlun | 219 | </variables> |
| 220 | </command> |
||
| 1006 | linlun | 221 | <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness"> |
| 222 | <variables> |
||
| 223 | <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 224 | </variables> |
||
| 225 | </command> |
||
| 1031 | linlun | 226 | <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD"> |
| 1006 | linlun | 227 | <variables> |
| 1051 | linlun | 228 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 229 | <value id="0" name="Standard"/> |
||
| 230 | <value id="1" name="Inverted"/> |
||
| 231 | </variable> |
||
| 232 | <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background"> |
||
| 233 | <value id="0" name="Standard"/> |
||
| 234 | <value id="1" name="Transparent"/> |
||
| 235 | </variable> |
||
| 1031 | linlun | 236 | <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/> |
| 1006 | linlun | 237 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 238 | <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/> |
||
| 239 | </variables> |
||
| 240 | </command> |
||
| 1031 | linlun | 241 | <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD"> |
| 242 | <variables> |
||
| 1051 | linlun | 243 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 244 | <value id="0" name="Standard"/> |
||
| 245 | <value id="1" name="Inverted"/> |
||
| 246 | </variable> |
||
| 247 | <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled"> |
||
| 248 | <value id="0" name="NoFill"/> |
||
| 249 | <value id="1" name="Fill"/> |
||
| 250 | </variable> |
||
| 1031 | linlun | 251 | <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 252 | <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 253 | <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 254 | <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 255 | <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/> |
||
| 256 | </variables> |
||
| 257 | </command> |
||
| 258 | |||
| 259 | <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD"> |
||
| 260 | <variables> |
||
| 1051 | linlun | 261 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 262 | <value id="0" name="Standard"/> |
||
| 263 | <value id="1" name="Inverted"/> |
||
| 264 | </variable> |
||
| 1031 | linlun | 265 | <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 266 | <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 267 | <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 268 | <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 269 | </variables> |
||
| 270 | </command> |
||
| 1019 | linlun | 271 | |
| 1031 | linlun | 272 | <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD"> |
| 273 | <variables> |
||
| 1051 | linlun | 274 | <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen"> |
| 275 | <value id="0" name="Standard"/> |
||
| 276 | <value id="1" name="Inverted"/> |
||
| 277 | </variable> |
||
| 1031 | linlun | 278 | <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 279 | <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 280 | <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 281 | </variables> |
||
| 282 | </command> |
||
| 283 | |||
| 284 | <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD"> |
||
| 285 | <variables> |
||
| 286 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 287 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 288 | <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 289 | <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 290 | </variables> |
||
| 291 | </command> |
||
| 1019 | linlun | 292 | |
| 1074 | arune | 293 | <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 | 294 | <variables> |
| 1072 | arune | 295 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 296 | <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 | 297 | <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| 298 | </variables> |
||
| 299 | </command> |
||
| 1031 | linlun | 300 | |
| 1072 | arune | 301 | <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 | 302 | <variables> |
| 1072 | arune | 303 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 304 | <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 | 305 | <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description=""> |
| 306 | <value id="0" name="Decrease"/> |
||
| 307 | <value id="1" name="Increase"/> |
||
| 308 | </variable> |
||
| 950 | runge | 309 | </variables> |
| 310 | </command> |
||
| 1072 | arune | 311 | <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop"> |
| 950 | runge | 312 | <variables> |
| 1072 | arune | 313 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 950 | runge | 314 | </variables> |
| 315 | </command> |
||
| 1072 | arune | 316 | <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received"> |
| 950 | runge | 317 | <variables> |
| 1072 | arune | 318 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 319 | <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 | 320 | <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| 321 | </variables> |
||
| 322 | </command> |
||
| 1072 | arune | 323 | <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 | 324 | <variables> |
| 1072 | arune | 325 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/> |
| 326 | <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)"/> |
||
| 327 | <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description=""> |
||
| 328 | <value id="0" name="Decrease"/> |
||
| 329 | <value id="1" name="Increase"/> |
||
| 330 | </variable> |
||
| 331 | <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/> |
||
| 950 | runge | 332 | </variables> |
| 333 | </command> |
||
| 1072 | arune | 334 | <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power"> |
| 335 | <variables> |
||
| 336 | <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power"> |
||
| 337 | <value id="0" name="Disconnected"/> |
||
| 338 | <value id="1" name="Connected"/> |
||
| 339 | </variable> |
||
| 1074 | arune | 340 | <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power"> |
| 341 | <value id="0" name="Error_Unknown"/> |
||
| 342 | <value id="1" name="50Hz"/> |
||
| 343 | <value id="2" name="60Hz"/> |
||
| 344 | </variable> |
||
| 1092 | arune | 345 | <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/> |
| 1072 | arune | 346 | </variables> |
| 347 | </command> |
||
| 946 | runge | 348 | </commands> |
| 349 | <modules> |
||
| 965 | runge | 350 | <module id="0" name="Debug" class="tst"/> |
| 946 | runge | 351 | <module id="1" name="Default" class="def"/> |
| 352 | <module id="3" name="DS18x20" class="sns"/> |
||
| 353 | <module id="5" name="FOST02" class="sns"/> |
||
| 354 | <module id="6" name="BusVoltage" class="sns"/> |
||
| 355 | <module id="7" name="SimpleDTMF" class="sns"/> |
||
| 356 | <module id="8" name="Rotary" class="sns"/> |
||
| 953 | runge | 357 | <module id="9" name="HD44789" class="act"/> |
| 358 | <module id="10" name="Dimmer230" class="act"/> |
||
| 359 | <module id="11" name="KS0108" class="act"/> |
||
| 954 | runge | 360 | <module id="12" name="RGBdriver" class="act"/> |
| 980 | linlun | 361 | <module id="13" name="LEDPWM" class="act"/> |
| 992 | arune | 362 | <module id="14" name="irReceive" class="sns"/> |
| 1000 | kribba | 363 | <module id="15" name="nmea" class="sns"/> |
| 1054 | runge | 364 | <module id="16" name="irTransmit" class="sns"/> |
| 1098 | linlun | 365 | <module id="17" name="TC1047A" class="sns"/> |
| 1110 | linlun | 366 | <module id="18" name="PID" class="act"/> |
| 367 | <module id="19" name="SlowPWM" class="act"/> |
||
| 946 | runge | 368 | </modules> |
| 369 | <defines> |
||
| 370 | <define id="1" group="DirectionFlag" name="From_Owner"/> |
||
| 371 | <define id="0" group="DirectionFlag" name="To_Owner"/> |
||
| 372 | </defines> |
||
| 986 | runge | 373 | <nmt_messages> |
| 374 | <nmt_message id="0" name="Time"/> |
||
| 375 | <nmt_message id="4" name="Reset"> |
||
| 376 | <variables> |
||
| 377 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 378 | </variables> |
||
| 379 | </nmt_message> |
||
| 380 | <nmt_message id="8" name="Bios_Start"> |
||
| 381 | <variables> |
||
| 382 | <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 383 | <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 384 | <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/> |
||
| 385 | </variables> |
||
| 386 | </nmt_message> |
||
| 387 | <nmt_message id="12" name="Pgm_Start"> |
||
| 388 | <variables> |
||
| 1023 | arune | 389 | <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 390 | <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 391 | <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 392 | <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 986 | runge | 393 | <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/> |
| 394 | </variables> |
||
| 395 | </nmt_message> |
||
| 1023 | arune | 396 | <nmt_message id="16" name="Pgm_Data"> |
| 986 | runge | 397 | <variables> |
| 398 | <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 1023 | arune | 399 | <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/> |
| 986 | runge | 400 | </variables> |
| 401 | </nmt_message> |
||
| 1023 | arune | 402 | <nmt_message id="16" name="Pgm_Data_48"> |
| 403 | <variables> |
||
| 404 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 405 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 406 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 407 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 408 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 409 | <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 410 | <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/> |
||
| 411 | <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/> |
||
| 412 | </variables> |
||
| 413 | </nmt_message> |
||
| 414 | <nmt_message id="16" name="Pgm_Data_8"> |
||
| 415 | <variables> |
||
| 416 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 417 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 418 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 419 | </variables> |
||
| 420 | </nmt_message> |
||
| 421 | <nmt_message id="16" name="Pgm_Data_16"> |
||
| 422 | <variables> |
||
| 423 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 424 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 425 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 426 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 427 | </variables> |
||
| 428 | </nmt_message> |
||
| 429 | <nmt_message id="16" name="Pgm_Data_24"> |
||
| 430 | <variables> |
||
| 431 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
||
| 432 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 433 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 434 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 435 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 436 | </variables> |
||
| 437 | </nmt_message> |
||
| 1015 | arune | 438 | <nmt_message id="16" name="Pgm_Data_32"> |
| 439 | <variables> |
||
| 1023 | arune | 440 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 441 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 442 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 443 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 444 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 445 | <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 1015 | arune | 446 | </variables> |
| 447 | </nmt_message> |
||
| 1023 | arune | 448 | <nmt_message id="16" name="Pgm_Data_40"> |
| 1015 | arune | 449 | <variables> |
| 1023 | arune | 450 | <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 451 | <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 452 | <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 453 | <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 454 | <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 455 | <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 456 | <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/> |
||
| 1015 | arune | 457 | </variables> |
| 458 | </nmt_message> |
||
| 986 | runge | 459 | <nmt_message id="20" name="Pgm_End"/> |
| 460 | <nmt_message id="24" name="Pgm_Copy"> |
||
| 461 | <variables> |
||
| 1023 | arune | 462 | <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 463 | <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
||
| 464 | <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
||
| 465 | <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
||
| 466 | <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 467 | <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/> |
||
| 986 | runge | 468 | </variables> |
| 469 | </nmt_message> |
||
| 470 | <nmt_message id="28" name="Pgm_Ack"> |
||
| 471 | <variables> |
||
| 472 | <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 473 | </variables> |
||
| 474 | </nmt_message> |
||
| 475 | <nmt_message id="32" name="Pgm_Nack"> |
||
| 476 | <variables> |
||
| 477 | <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/> |
||
| 478 | </variables> |
||
| 479 | </nmt_message> |
||
| 480 | <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node"> |
||
| 481 | <variables> |
||
| 482 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 483 | </variables> |
||
| 484 | </nmt_message> |
||
| 485 | <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts"> |
||
| 486 | <variables> |
||
| 487 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 488 | </variables> |
||
| 489 | </nmt_message> |
||
| 490 | <nmt_message id="44" name="Heartbeat"> |
||
| 491 | <variables> |
||
| 492 | <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/> |
||
| 493 | <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/> |
||
| 494 | </variables> |
||
| 495 | </nmt_message> |
||
| 496 | </nmt_messages> |
||
| 946 | runge | 497 | </root> |