Subversion Repositories HomeAutomation

Rev

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

  1. <?xml version="1.0" standalone="yes"?>
  2. <root>
  3.   <classes>
  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"/>
  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.    
  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">
  22.       <variables>
  23.         <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
  24.       </variables>
  25.     </command>
  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>
  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>
  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>
  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>
  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>
  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=""/>
  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>
  71.       </variables>
  72.     </command>
  73.     <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding">
  74.       <variables>
  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>
  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>
  90.         <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
  91.       </variables>
  92.     </command>
  93.     <command id="73" name="ElectricPower" type="physical" module="" description="Message with data from a power meter">
  94.       <variables>
  95.         <variable name="Power" type="uint" start_bit="0" bit_length="16" unit="Watt" description=""/>
  96.         <variable name="EnergySum" type="uint" start_bit="16" bit_length="16" unit="W/h" description=""/>
  97.     <variable name="Power4" type="uint" start_bit="32" bit_length="16" unit="Watt" description="Average of 4 measurments"/>
  98.     <variable name="Power32" type="uint" start_bit="48" bit_length="16" unit="Watt" description="Average of 32 measurments"/>
  99.       </variables>
  100.     </command>
  101.     <command id="128" name="setEnergy" type="specific" module="power" description="Set the energy value on the power meter module">
  102.       <variables>
  103.         <variable name="Energy" type="uint" start_bit="0" bit_length="16" unit="W/h" description=""/>
  104.       </variables>
  105.     </command>
  106.     <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
  107.      <variables>
  108.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
  109.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
  110.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
  111.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
  112.       </variables>
  113.     </command>
  114.     <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
  115.     <variables>
  116.         <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
  117.         <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
  118.         <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/>
  119.         <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/>
  120.         <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/>
  121.         <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/>
  122.         <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
  123.         <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
  124.     </variables>
  125.     </command>
  126.     <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
  127.      <variables>
  128.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  129.       </variables>
  130.     </command>
  131.     <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
  132.     <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
  133.       <variables>
  134.         <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  135.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  136.       </variables>
  137.     </command>
  138.     <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
  139.       <variables>
  140.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  141.       </variables>
  142.     </command>
  143.      <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
  144.       <variables>
  145.         <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  146.         <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  147.       </variables>
  148.     </command>
  149.     <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
  150.       <variables>
  151.         <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  152.       </variables>
  153.     </command>
  154.       <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
  155.       <variables>
  156.         <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  157.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  158.         <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
  159.       </variables>
  160.     </command>
  161.    
  162.     <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
  163.     <variables>
  164.       <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  165.       <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
  166.       <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
  167.       <variable name="Sum" type="uint" start_bit="48" bit_length="16" unit="" description=""/>
  168.     </variables>
  169.       </command>
  170.     <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">
  171.     <variables>
  172.       <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  173.       <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  174.       <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  175.     </variables>
  176.       </command>
  177.       <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">
  178.     <variables>
  179.       <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  180.       <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
  181.       <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description="">
  182.         <value id="0" name="LOW"/>
  183.         <value id="1" name="HIGH"/>
  184.         <value id="2" name="TRISTATE"/>
  185.       </variable>
  186.        <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description="">
  187.         <value id="0" name="ON"/>
  188.         <value id="1" name="OFF"/>
  189.       </variable>
  190.     </variables>
  191.       </command>
  192.       <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
  193.       <variables>
  194.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  195.       <value id="0" name="Standard"/>
  196.           <value id="1" name="Inverted"/>
  197.     </variable>
  198.       </variables>
  199.     </command>
  200.     <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
  201.       <variables>
  202.         <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
  203.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
  204.     <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output">
  205.       <value id="0" name="Standard"/>
  206.           <value id="1" name="Inverted"/>
  207.     </variable>
  208.     <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
  209.       <value id="0" name="Standard"/>
  210.       <value id="1" name="Transparent"/>
  211.     </variable>
  212.       </variables>
  213.     </command>
  214.     <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">
  215.       <variables>
  216.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  217.       </variables>
  218.     </command>
  219.     <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
  220.       <variables>
  221.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  222.       <value id="0" name="Standard"/>
  223.           <value id="1" name="Inverted"/>
  224.     </variable>
  225.       </variables>
  226.     </command>
  227.     <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
  228.       <variables>
  229.         <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  230.       </variables>
  231.     </command>
  232.     <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
  233.       <variables>
  234.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  235.       <value id="0" name="Standard"/>
  236.           <value id="1" name="Inverted"/>
  237.     </variable>
  238.     <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
  239.       <value id="0" name="Standard"/>
  240.       <value id="1" name="Transparent"/>
  241.     </variable>  
  242.     <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
  243.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  244.         <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
  245.       </variables>
  246.     </command>
  247.     <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
  248.       <variables>
  249.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  250.       <value id="0" name="Standard"/>
  251.           <value id="1" name="Inverted"/>
  252.     </variable>
  253.     <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
  254.       <value id="0" name="NoFill"/>
  255.       <value id="1" name="Fill"/>
  256.     </variable>  
  257.     <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  258.         <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  259.     <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  260.     <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  261.     <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
  262.       </variables>
  263.       </command>
  264.      
  265.       <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
  266.     <variables>
  267.       <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  268.         <value id="0" name="Standard"/>
  269.         <value id="1" name="Inverted"/>
  270.       </variable>
  271.       <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  272.       <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  273.       <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  274.       <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  275.     </variables>
  276.       </command>
  277.    
  278.       <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
  279.     <variables>
  280.       <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  281.         <value id="0" name="Standard"/>
  282.         <value id="1" name="Inverted"/>
  283.       </variable>
  284.       <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  285.       <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  286.       <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  287.     </variables>
  288.       </command>    
  289.  
  290.     <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD">
  291.       <variables>
  292.     <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  293.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  294.     <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  295.     <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  296.       </variables>
  297.     </command>
  298.    
  299.     <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">
  300.      <variables>
  301.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  302.         <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"/>
  303.         <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  304.       </variables>
  305.     </command>
  306.    
  307.     <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">
  308.      <variables>
  309.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  310.         <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)"/>
  311.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  312.             <value id="0" name="Decrease"/>
  313.             <value id="1" name="Increase"/>
  314.         </variable>
  315.       </variables>
  316.     </command>
  317.     <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop">
  318.       <variables>
  319.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  320.       </variables>
  321.     </command>
  322.     <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received">
  323.      <variables>
  324.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  325.         <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)"/>
  326.         <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  327.       </variables>
  328.     </command>
  329.     <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">
  330.      <variables>
  331.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  332.         <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)"/>
  333.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  334.             <value id="0" name="Decrease"/>
  335.             <value id="1" name="Increase"/>
  336.         </variable>
  337.         <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/>
  338.       </variables>
  339.     </command>
  340.     <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power">
  341.      <variables>
  342.         <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power">
  343.             <value id="0" name="Disconnected"/>
  344.             <value id="1" name="Connected"/>
  345.         </variable>
  346.         <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power">
  347.             <value id="0" name="Error_Unknown"/>
  348.             <value id="1" name="50Hz"/>
  349.             <value id="2" name="60Hz"/>
  350.         </variable>
  351.         <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
  352.       </variables>
  353.     </command>
  354.     <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
  355.      <variables>
  356.         <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
  357.         <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/>
  358.      </variables>
  359.     </command>
  360.   </commands>
  361.   <modules>
  362.     <module id="0" name="Debug" class="tst"/>
  363.     <module id="1" name="Default" class="def"/>
  364.     <module id="3" name="DS18x20" class="sns"/>
  365.     <module id="5" name="FOST02" class="sns"/>
  366.     <module id="6" name="BusVoltage" class="sns"/>
  367.     <module id="7" name="SimpleDTMF" class="sns"/>
  368.     <module id="8" name="Rotary" class="sns"/>
  369.     <module id="9" name="HD44789" class="act"/>
  370.     <module id="10" name="Dimmer230" class="act"/>
  371.     <module id="11" name="KS0108" class="act"/>
  372.     <module id="12" name="RGBdriver" class="act"/>
  373.     <module id="13" name="LEDPWM" class="act"/>
  374.     <module id="14" name="irReceive" class="sns"/>
  375.     <module id="15" name="nmea" class="sns"/>
  376.     <module id="16" name="irTransmit" class="sns"/>
  377.     <module id="17" name="TC1047A" class="sns"/>
  378.     <module id="18" name="PID" class="act"/>
  379.     <module id="19" name="SlowPWM" class="act"/>
  380.     <module id="20" name="power" class="sns"/>
  381.     <module id="21" name="softPWM" class="act"/>
  382.   </modules>
  383.   <defines>
  384.     <define id="1" group="DirectionFlag" name="From_Owner"/>
  385.     <define id="0" group="DirectionFlag" name="To_Owner"/>
  386.   </defines>
  387.   <nmt_messages>
  388.     <nmt_message id="0" name="Time"/>
  389.     <nmt_message id="4" name="Reset">
  390.       <variables>
  391.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  392.       </variables>
  393.     </nmt_message>
  394.     <nmt_message id="8" name="Bios_Start">
  395.       <variables>
  396.         <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  397.         <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  398.         <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
  399.       </variables>
  400.     </nmt_message>
  401.     <nmt_message id="12" name="Pgm_Start">
  402.       <variables>
  403.         <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  404.         <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  405.         <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  406.         <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  407.         <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
  408.       </variables>
  409.     </nmt_message>
  410.     <nmt_message id="16" name="Pgm_Data">
  411.       <variables>
  412.         <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  413.         <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
  414.       </variables>
  415.     </nmt_message>
  416.     <nmt_message id="16" name="Pgm_Data_48">
  417.       <variables>
  418.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  419.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  420.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  421.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  422.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  423.         <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  424.         <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  425.         <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  426.       </variables>
  427.     </nmt_message>
  428.     <nmt_message id="16" name="Pgm_Data_8">
  429.       <variables>
  430.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  431.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  432.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  433.       </variables>
  434.     </nmt_message>
  435.     <nmt_message id="16" name="Pgm_Data_16">
  436.       <variables>
  437.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  438.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  439.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  440.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  441.       </variables>
  442.     </nmt_message>
  443.     <nmt_message id="16" name="Pgm_Data_24">
  444.       <variables>
  445.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  446.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  447.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  448.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  449.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  450.       </variables>
  451.     </nmt_message>
  452.     <nmt_message id="16" name="Pgm_Data_32">
  453.       <variables>
  454.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  455.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  456.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  457.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  458.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  459.         <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  460.       </variables>
  461.     </nmt_message>
  462.     <nmt_message id="16" name="Pgm_Data_40">
  463.       <variables>
  464.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  465.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  466.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  467.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  468.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  469.         <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  470.         <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  471.       </variables>
  472.     </nmt_message>
  473.     <nmt_message id="20" name="Pgm_End"/>
  474.     <nmt_message id="24" name="Pgm_Copy">
  475.       <variables>
  476.         <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  477.         <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  478.         <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  479.         <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  480.         <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  481.         <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  482.       </variables>
  483.     </nmt_message>
  484.     <nmt_message id="28" name="Pgm_Ack">
  485.       <variables>
  486.         <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  487.       </variables>
  488.     </nmt_message>
  489.     <nmt_message id="32" name="Pgm_Nack">
  490.       <variables>
  491.         <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  492.       </variables>
  493.     </nmt_message>
  494.     <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
  495.       <variables>
  496.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  497.       </variables>
  498.     </nmt_message>
  499.     <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
  500.       <variables>
  501.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  502.       </variables>
  503.     </nmt_message>
  504.     <nmt_message id="44" name="Heartbeat">
  505.       <variables>
  506.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  507.         <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  508.       </variables>
  509.     </nmt_message>
  510.   </nmt_messages>
  511. </root>
  512.