Subversion Repositories HomeAutomation

Rev

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