Subversion Repositories HomeAutomation

Rev

Rev 946 | Rev 952 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed

  1. <?xml version="1.0" standalone="yes"?>
  2. <!-- Written by Mattias on 02-dec-2008 14:21:10 -->
  3. <root>
  4.   <classes>
  5.     <class id="11" name="nmt" description="Networkmanagement"/>
  6.     <class id="12" name="act" description="Actuator messages"/>
  7.     <class id="13" name="sns" description="Sensor messages"/>
  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>
  19.     <command id="1" name="Ascii" type="global" module="" description="Used for sending text with printf"/>
  20.     <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data"/>
  21.     <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
  22.       <variables>
  23.         <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  24.         <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/>
  25.       </variables>
  26.     </command>
  27.     <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data"/>
  28.     <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
  29.       <variables>
  30.         <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  31.         <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
  32.       </variables>
  33.     </command>
  34.     <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data"/>
  35.     <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status"/>
  36.    
  37.     <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
  38.     <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
  39.       <variables>
  40.         <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  41.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  42.       </variables>
  43.     </command>
  44.     <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
  45.       <variables>
  46.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  47.       </variables>
  48.     </command>
  49.      <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
  50.       <variables>
  51.         <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  52.         <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  53.       </variables>
  54.     </command>
  55.     <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
  56.       <variables>
  57.         <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  58.       </variables>
  59.     </command>
  60.     <command id="133" name="Sensor_Report_Interval" type="specific" module="DS18x20" description="">
  61.       <variables>
  62.         <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
  63.       </variables>
  64.     </command>
  65.       <command id="134" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
  66.       <variables>
  67.         <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  68.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  69.         <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
  70.       </variables>
  71.     </command>
  72.    
  73.    
  74.    
  75.     <command id="128" name="Demo" type="specific" module="Dimmer230" description="">
  76.      <variables>
  77.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  78.         <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  79.         <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  80.       </variables>
  81.     </command>
  82.     <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description="">
  83.      <variables>
  84.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  85.         <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  86.         <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  87.       </variables>
  88.     </command>
  89.     <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="">
  90.       <variables>
  91.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  92.       </variables>
  93.     </command>
  94.     <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="">
  95.      <variables>
  96.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  97.         <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  98.         <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  99.       </variables>
  100.     </command>
  101.     <command id="132" name="Rel_Fade" type="specific" module="Dimmer230" description="">
  102.      <variables>
  103.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  104.         <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  105.         <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  106.     <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  107.       </variables>
  108.     </command>
  109.   </commands>
  110.   <modules>
  111.     <module id="1" name="Default" class="def"/>
  112.     <module id="3" name="DS18x20" class="sns"/>
  113.     <module id="5" name="FOST02" class="sns"/>
  114.     <module id="6" name="BusVoltage" class="sns"/>
  115.     <module id="7" name="SimpleDTMF" class="sns"/>
  116.     <module id="8" name="Rotary" class="sns"/>
  117.     <module id="4" name="HD44789" class="act"/>
  118.     <module id="8" name="Dimmer230" class="act"/>
  119.   </modules>
  120.   <defines>
  121.     <define id="1" group="DirectionFlag" name="From_Owner"/>
  122.     <define id="0" group="DirectionFlag" name="To_Owner"/>
  123.     <define id="002c0000" group="None" name="HeartbeatHeader"/>
  124.   </defines>
  125. </root>
  126.