Subversion Repositories HomeAutomation

Rev

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