Subversion Repositories HomeAutomation

Rev

Rev 1772 | Rev 1811 | 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="10" name="GPSTime" type="global" module="" description="Timestamp from GPS module">
  29.       <variables>
  30.      <variable name="Hour" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  31.      <variable name="Minute" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  32.      <variable name="Second" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  33.      <variable name="Zone" type="uint" start_bit="24" bit_length="8" unit="" description="Timezone diff from GMT"/>
  34.       </variables>
  35.     </command>
  36.  
  37.     <command id="11" name="GPSDate" type="global" module="" description="Date from GPS module">
  38.       <variables>
  39.      <variable name="Year" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  40.      <variable name="Month" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  41.      <variable name="Day" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  42.       </variables>
  43.     </command>
  44.    
  45.     <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
  46.       <variables>
  47.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  48.         <variable name="Value" type="uint" start_bit="8" bit_length="16" unit="" description=""/>
  49.       </variables>
  50.     </command>
  51.     <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
  52.       <variables>
  53.         <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  54.         <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/>
  55.       </variables>
  56.     </command>
  57.     <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
  58.       <variables>
  59.         <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  60.         <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
  61.       </variables>
  62.     </command>
  63.     <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
  64.       <variables>
  65.         <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  66.         <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
  67.       </variables>
  68.     </command>
  69.     <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data">
  70.       <variables>
  71.         <variable name="Number" type="hexstring" start_bit="0" bit_length="64" unit="" description=""/>
  72.       </variables>
  73.     </command>
  74.     <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
  75.       <variables>
  76.         <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  77.         <variable name="Direction" type="enum" start_bit="8" bit_length="8" unit="" description="">
  78.           <value id="0" name="Clockwise"/>
  79.           <value id="1" name="Counterclockwise"/>
  80.         </variable>
  81.         <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  82.         <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  83.       </variables>
  84.     </command>
  85.     <command id="70" name="Button" type="physical" module="" description="">
  86.       <variables>
  87.         <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  88.         <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
  89.           <value id="1" name="Pressed"/>
  90.           <value id="0" name="Released"/>
  91.         </variable>
  92.       </variables>
  93.     </command>
  94.     <command id="71" name="IR" type="physical" module="" description="IR data protocol encoding">
  95.       <variables>
  96.         <variable name="Channel" type="uint" start_bit="0" bit_length="4" unit="" description="Channel of received or transmitted data"/>
  97.         <variable name="Status" type="enum" start_bit="4" bit_length="4" unit="" description="State of remote button">
  98.           <value id="0" name="Released"/>
  99.       <value id="1" name="Pressed"/>
  100.       <value id="2" name="Burst"/>
  101.         </variable>
  102.         <variable name="Protocol" type="enum" start_bit="8" bit_length="8" unit="" description="Button protocol">
  103.           <value id="0" name="RC5"/>
  104.           <value id="1" name="RC6"/>
  105.           <value id="2" name="RCMM"/>
  106.           <value id="3" name="SIRC"/>
  107.           <value id="4" name="Sharp"/>
  108.           <value id="5" name="NEC"/>
  109.           <value id="6" name="Samsung"/>
  110.           <value id="7" name="Marantz"/>
  111.           <value id="8" name="Panasonic"/>
  112.           <value id="9" name="Sky"/>
  113.           <value id="10" name="Nexa2"/>
  114.           <value id="255" name="Unknown"/>
  115.         </variable>
  116.         <variable name="IRdata" type="uint" start_bit="16" bit_length="32" unit="" description="Button protocol unique ID"/>
  117.       </variables>
  118.     </command>
  119.     <command id="72" name="Current" type="physical" module="" description="Current data">
  120.       <variables>
  121.         <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  122.         <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Ampere" description=""/>
  123.       </variables>
  124.     </command>
  125.     <command id="73" name="ElectricPower" type="physical" module="" description="Message with data from a power meter">
  126.       <variables>
  127.         <variable name="Power" type="uint" start_bit="0" bit_length="16" unit="Watt" description=""/>
  128.         <variable name="EnergySum" type="uint" start_bit="16" bit_length="32" unit="W/h" description=""/>
  129.         <variable name="Power32" type="uint" start_bit="48" bit_length="16" unit="Watt" description="Average of 32 measurments"/>
  130.       </variables>
  131.     </command>
  132.     <command id="74" name="SetPin" type="physical" module="" description="">
  133.       <variables>
  134.         <variable name="PinId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  135.         <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
  136.           <value id="1" name="High"/>
  137.           <value id="0" name="Low"/>
  138.         </variable>
  139.       </variables>
  140.     </command>
  141.         <command id="75" name="PinStatus" type="physical" module="" description="">
  142.       <variables>
  143.         <variable name="PinId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  144.         <variable name="Status" type="enum" start_bit="8" bit_length="8" unit="" description="">
  145.           <value id="1" name="High"/>
  146.           <value id="0" name="Low"/>
  147.         </variable>
  148.       </variables>
  149.     </command>
  150.     <command id="76" name="Counter" type="physical" module="" description="Message with counter value">
  151.       <variables>
  152.         <variable name="PinId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  153.         <variable name="Count" type="uint" start_bit="8" bit_length="32" unit="" description=""/>
  154.       </variables>
  155.     </command>
  156.     <command id="128" name="setEnergy" type="specific" module="power" description="Set the energy value on the power meter module">
  157.       <variables>
  158.         <variable name="Energy" type="uint" start_bit="0" bit_length="32" unit="W/h" description=""/>
  159.       </variables>
  160.     </command>
  161.     <command id="129" name="avgPower" type="specific" module="power" description="The energy since last message">
  162.       <variables>
  163.         <variable name="Energy" type="uint" start_bit="0" bit_length="16" unit="W/(10*h)" description=""/>
  164.       </variables>
  165.     </command>    
  166.     <command id="128" name="IRraw" type="specific" module="irReceive" description="If a protocol not could be found, then send raw data">
  167.      <variables>
  168.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
  169.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
  170.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
  171.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
  172.       </variables>
  173.     </command>
  174.     <command id="128" name="IRraw" type="specific" module="irTransceive" description="If a protocol not could be found, then send raw data">
  175.      <variables>
  176.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Millisecond" description="First active time"/>
  177.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Millisecond" description="First passive time"/>
  178.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Millisecond" description="Second active time"/>
  179.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Millisecond" description="Second passive time"/>
  180.       </variables>
  181.     </command>
  182.     <command id="129" name="IrConfig" type="specific" module="irTransceive" description="irTransceive config">
  183.       <variables>
  184.         <variable name="Channel" type="uint" start_bit="0" bit_length="4" unit="" description="Which channel to configure"/>
  185.         <variable name="Direction" type="enum" start_bit="4" bit_length="4" unit="" description="">
  186.             <value id="0" name="Auto"/>
  187.             <value id="1" name="Transmit"/>
  188.             <value id="2" name="Receive"/>
  189.         </variable>
  190.         <variable name="Transmit power" type="uint" start_bit="8" bit_length="2" unit="" description="0 for lowest power, 3 for max"/>
  191.       </variables>
  192.     </command>
  193.  
  194.     <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
  195.     <variables>
  196.         <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
  197.         <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
  198.         <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/>
  199.         <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/>
  200.         <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/>
  201.         <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/>
  202.         <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
  203.         <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
  204.     </variables>
  205.     </command>
  206.     <command id="129" name="Heading" type="specific" module="nmea" description="Speed, heading, fix information">
  207.     <variables>
  208.         <variable name="Fixvalid" type="uint" start_bit="0" bit_length="8" unit="" description="0/1"/>
  209.         <variable name="Fixtype" type="uint" start_bit="8" bit_length="8" unit="" description="1=No, 2=2D, 3=3D"/>
  210.         <variable name="Numsat" type="uint" start_bit="16" bit_length="8" unit="" description="Number of sats in fix"/>
  211.         <variable name="Speed" type="uint" start_bit="24" bit_length="8" unit="Knots" description="Speed over ground"/>
  212.         <variable name="Course" type="uint" start_bit="32" bit_length="16" unit="Degrees" description="Course made good"/>
  213.     </variables>
  214.     </command>
  215.     <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
  216.      <variables>
  217.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  218.       </variables>
  219.     </command>
  220.     <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
  221.     <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
  222.       <variables>
  223.         <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  224.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  225.       </variables>
  226.     </command>
  227.     <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
  228.       <variables>
  229.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  230.       </variables>
  231.     </command>
  232.      <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
  233.       <variables>
  234.         <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  235.         <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  236.       </variables>
  237.     </command>
  238.     <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
  239.       <variables>
  240.         <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  241.     <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description="">
  242.         <value id="0" name="OFF"/>
  243.         <value id="1" name="ON"/>
  244.     </variable>
  245.       </variables>
  246.     </command>
  247.       <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
  248.       <variables>
  249.         <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  250.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  251.         <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
  252.       </variables>
  253.     </command>
  254.      <command id="128" name="DEBUG" type="specific" module="RGBdriver" description="Debug data from RGB-driver">
  255.     <variables>
  256.       <variable name="ADC_W" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  257.       <variable name="ADC_R" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  258.       <variable name="ADC_G" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  259.       <variable name="ADC_B" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  260.       <variable name="PWM_W" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  261.       <variable name="PWM_R" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  262.       <variable name="PWM_G" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  263.       <variable name="PWM_B" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  264.     </variables>
  265.       </command>
  266.     <command id="128" name="SerialData" type="specific" module="Serial" description="Serial data">
  267.       <variables>
  268.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  269.       </variables>
  270.     </command>
  271.     <command id="129" name="SerialConfig" type="specific" module="Serial" description="Serial config">
  272.       <variables>
  273.         <variable name="BaudRate" type="uint" start_bit="0" bit_length="16" unit="" description="Baudrate/10"/>
  274.         <variable name="PhysicalFormat" type="enum" start_bit="16" bit_length="8" unit="" description="">
  275.             <value id="0" name="RS232"/>
  276.             <value id="1" name="RS485FullDuplex"/>
  277.             <value id="2" name="RS485HalfDuplex"/>
  278.             <value id="3" name="RS485HalfDuplexWithTermination"/>
  279.             <value id="255" name="Loopback"/>
  280.         </variable>
  281.         <variable name="DataBits" type="uint" start_bit="24" bit_length="8" unit="" description="Nr of data bits (5-9)"/>
  282.         <variable name="StopBits" type="uint" start_bit="32" bit_length="8" unit="" description="Nr of stop bits (1-2)"/>
  283.         <variable name="Parity" type="enum" start_bit="40" bit_length="8" unit="" description="Parity mode">
  284.             <value id="0" name="ParityNone"/>
  285.             <value id="1" name="ParityEven"/>
  286.             <value id="2" name="ParityOdd"/>
  287.         </variable>
  288.       </variables>
  289.     </command>
  290.     <command id="130" name="SerialFilter" type="specific" module="Serial" description="Serial Filter Config">
  291.       <variables>
  292.         <variable name="DataTimeout" type="uint" start_bit="0" bit_length="8" unit="" description="Timeout before RX data is sent via CAN"/>
  293.         <variable name="PrefixLength" type="uint" start_bit="8" bit_length="2" unit="" description="Length of prefix (in bytes)"/>
  294.         <variable name="SuffixLength" type="uint" start_bit="10" bit_length="2" unit="" description="Length of suffix (in bytes)"/>
  295.         <variable name="PacketLength" type="uint" start_bit="12" bit_length="4" unit="" description="Max nr of RX bytes to pack into CAN frame"/>
  296.         <variable name="PrefixByte2" type="uint" start_bit="16" bit_length="8" unit="" description="Prefix byte2"/>
  297.         <variable name="PrefixByte1" type="uint" start_bit="24" bit_length="8" unit="" description="Prefix byte1"/>
  298.         <variable name="PrefixByte0" type="uint" start_bit="32" bit_length="8" unit="" description="Prefix byte0"/>
  299.         <variable name="SuffixByte2" type="uint" start_bit="40" bit_length="8" unit="" description="Suffix byte2"/>
  300.         <variable name="SuffixByte1" type="uint" start_bit="48" bit_length="8" unit="" description="Suffix byte1"/>
  301.         <variable name="SuffixByte0" type="uint" start_bit="54" bit_length="8" unit="" description="Suffix byte0"/>
  302.       </variables>
  303.     </command>
  304.  
  305.     <command id="128" name="AnalogConfig" type="specific" module="inputAnalog" description="Configuration for analog input module">
  306.       <variables>
  307.         <variable name="SensorId" type="uint" start_bit="0" bit_length="4" unit="" description="Which input to configure"/>
  308.         <variable name="Setting" type="enum" start_bit="4" bit_length="2" unit="" description="">
  309.             <value id="0" name="PeriodicMeasure"/>
  310.             <value id="1" name="DigitalInput"/>
  311.         </variable>
  312.         <variable name="Pullup" type="enum" start_bit="6" bit_length="1" unit="" description="Enable pullup on sensor">
  313.             <value id="0" name="Disable"/>
  314.             <value id="1" name="Enable"/>
  315.         </variable>
  316.         <variable name="Reference" type="enum" start_bit="7" bit_length="1" unit="" description="Enable GND reference on sensor">
  317.             <value id="0" name="Disable"/>
  318.             <value id="1" name="Enable"/>
  319.         </variable>
  320.         <variable name="VoltageLowTh" type="float" start_bit="8" bit_length="16" unit="Volt" description="Low threshold for digital input"/>
  321.         <variable name="VoltageHighTh" type="float" start_bit="24" bit_length="16" unit="Volt" description="High threshold for digital input"/>
  322.         <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"/>
  323.       </variables>
  324.     </command>
  325.  
  326.     <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
  327.     <variables>
  328.       <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  329.       <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
  330.       <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
  331.       <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
  332.     </variables>
  333.       </command>
  334.       <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">
  335.     <variables>
  336.       <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  337.       <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  338.       <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  339.     </variables>
  340.       </command>
  341.       <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">
  342.     <variables>
  343.       <variable name="actuatorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  344.       <variable name="actuatorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  345.       <variable name="actuatorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  346.     </variables>
  347.       </command>
  348.       <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">
  349.     <variables>
  350.       <variable name="K_P" type="float" start_bit="0" bit_length="16" unit="" description=""/>
  351.       <variable name="K_I" type="float" start_bit="16" bit_length="16" unit="" description=""/>
  352.       <variable name="K_D" type="float" start_bit="32" bit_length="16" unit="" description=""/>
  353.       <variable name="TimeUnit" type="enum" start_bit="48" bit_length="1" unit="" description="">
  354.         <value id="0" name="s"/>
  355.         <value id="1" name="ms"/>
  356.       </variable>
  357.       <variable name="RegulatorTime" type="uint" start_bit="49" bit_length="15" unit="" description=""/>
  358.     </variables>
  359.       </command>
  360.       <command id="132" name="PID_STATUS" type="specific" module="PID" description="information about the pid controller">
  361.     <variables>
  362.       <variable name="Measurment" type="float" start_bit="0" bit_length="16" unit="" description=""/>
  363.       <variable name="Reference" type="float" start_bit="16" bit_length="16" unit="" description=""/>
  364.       <variable name="PWM" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
  365.       <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
  366.     </variables>
  367.       </command>
  368.       <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">
  369.     <variables>
  370.       <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  371.       <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
  372.       <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description="">
  373.         <value id="0" name="LOW"/>
  374.         <value id="1" name="HIGH"/>
  375.         <value id="2" name="TRISTATE"/>
  376.       </variable>
  377.        <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description="">
  378.         <value id="0" name="ON"/>
  379.         <value id="1" name="OFF"/>
  380.       </variable>
  381.     </variables>
  382.       </command>
  383.       <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
  384.       <variables>
  385.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  386.       <value id="0" name="Standard"/>
  387.           <value id="1" name="Inverted"/>
  388.     </variable>
  389.       </variables>
  390.     </command>
  391.     <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
  392.       <variables>
  393.         <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
  394.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
  395.     <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output">
  396.       <value id="0" name="Standard"/>
  397.           <value id="1" name="Inverted"/>
  398.     </variable>
  399.     <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
  400.       <value id="0" name="Standard"/>
  401.       <value id="1" name="Transparent"/>
  402.     </variable>
  403.       </variables>
  404.     </command>
  405.     <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">
  406.       <variables>
  407.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  408.       </variables>
  409.     </command>
  410.     <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
  411.       <variables>
  412.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  413.       <value id="0" name="Standard"/>
  414.           <value id="1" name="Inverted"/>
  415.     </variable>
  416.       </variables>
  417.     </command>
  418.     <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
  419.       <variables>
  420.         <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  421.     <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description="">
  422.         <value id="0" name="OFF"/>
  423.         <value id="1" name="ON"/>
  424.     </variable>
  425.       </variables>
  426.     </command>
  427.     <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
  428.       <variables>
  429.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  430.       <value id="0" name="Standard"/>
  431.           <value id="1" name="Inverted"/>
  432.     </variable>
  433.     <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
  434.       <value id="0" name="Standard"/>
  435.       <value id="1" name="Transparent"/>
  436.     </variable>  
  437.     <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
  438.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  439.         <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
  440.       </variables>
  441.     </command>
  442.     <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
  443.       <variables>
  444.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  445.       <value id="0" name="Standard"/>
  446.           <value id="1" name="Inverted"/>
  447.     </variable>
  448.     <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
  449.       <value id="0" name="NoFill"/>
  450.       <value id="1" name="Fill"/>
  451.     </variable>  
  452.     <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  453.         <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  454.     <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  455.     <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  456.     <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
  457.       </variables>
  458.       </command>
  459.      
  460.       <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
  461.     <variables>
  462.       <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  463.         <value id="0" name="Standard"/>
  464.         <value id="1" name="Inverted"/>
  465.       </variable>
  466.       <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  467.       <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  468.       <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  469.       <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  470.     </variables>
  471.       </command>
  472.    
  473.       <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
  474.     <variables>
  475.       <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  476.         <value id="0" name="Standard"/>
  477.         <value id="1" name="Inverted"/>
  478.       </variable>
  479.       <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  480.       <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  481.       <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  482.     </variables>
  483.       </command>    
  484.  
  485.     <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD">
  486.       <variables>
  487.     <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  488.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  489.     <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  490.     <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  491.       </variables>
  492.     </command>
  493.    
  494.     <command id="138" name="LCD_New_Image" type="specific" module="KS0108" description="Store a new image in eeprom">
  495.       <variables>
  496.     <variable name="image_id" type="uint" start_bit="0" bit_length="8" unit="" description="the new image id"/>
  497.         <variable name="size_X" type="uint" start_bit="8" bit_length="8" unit="" description="Size in x direction"/>
  498.         <variable name="size_Y" type="uint" start_bit="16" bit_length="8" unit="" description="Size in y direction"/>
  499.       </variables>
  500.     </command>
  501.         <command id="139" name="LCD_Ack" type="specific" module="KS0108" description="Data correctly received">
  502.       <variables>
  503.     <variable name="packet_id" type="uint" start_bit="0" bit_length="8" unit="" description="Id of the packet that is acknoleged"/>
  504.       </variables>
  505.     </command>
  506.      
  507.         <command id="140" name="LCD_Error" type="specific" module="KS0108" description="Data error"/>
  508.    
  509.         <command id="141" name="LCD_Image_Data" type="specific" module="KS0108" description="Data"/>
  510.         <command id="141" name="LCD_Image_Data_7" type="specific" module="KS0108" description="Data">
  511.       <variables>
  512.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  513.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  514.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  515.         <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  516.         <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  517.         <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  518.         <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  519.     <variable name="Data6" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  520.       </variables>
  521.     </command>
  522.     <command id="141" name="LCD_Image_Data_6" type="specific" module="KS0108" description="Data">
  523.       <variables>
  524.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  525.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  526.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  527.         <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  528.         <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  529.         <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  530.         <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  531.       </variables>
  532.     </command>
  533.     <command id="141" name="LCD_Image_Data_5" type="specific" module="KS0108" description="Data">
  534.       <variables>
  535.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  536.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  537.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  538.         <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  539.         <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  540.         <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  541.       </variables>
  542.     </command>
  543.     <command id="141" name="LCD_Image_Data_4" type="specific" module="KS0108" description="Data">
  544.       <variables>
  545.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  546.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  547.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  548.         <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  549.         <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  550.       </variables>
  551.     </command>
  552.     <command id="141" name="LCD_Image_Data_3" type="specific" module="KS0108" description="Data">
  553.       <variables>
  554.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  555.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  556.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  557.         <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  558.       </variables>
  559.     </command>
  560.     <command id="141" name="LCD_Image_Data_2" type="specific" module="KS0108" description="Data">
  561.       <variables>
  562.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  563.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  564.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  565.       </variables>
  566.     </command>
  567.     <command id="141" name="LCD_Image_Data_1" type="specific" module="KS0108" description="Data">
  568.       <variables>
  569.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  570.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  571.       </variables>
  572.     </command>
  573.     <command id="142" name="LCD_Data_id_Error" type="specific" module="KS0108" description="Wrong data id received">
  574.       <variables>
  575.     <variable name="id" type="uint" start_bit="0" bit_length="8" unit="" description="The expected id"/>
  576.       </variables>
  577.     </command>
  578.    
  579.         <command id="143" name="LCD_Data_Done" type="specific" module="KS0108" description="All data sent">
  580.       <variables>
  581.       </variables>
  582.     </command>
  583.  
  584.     <command id="128" name="Motion" type="specific" module="PIR" description="Motion and brightness from PIR-sensor">
  585.      <variables>
  586.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  587.         <variable name="Brightness" type="uint" start_bit="8" bit_length="16" unit="" description=""/>
  588.         <variable name="MotionDetect" type="enum" start_bit="24" bit_length="8" unit="" description="">
  589.             <value id="0" name="NoMotion"/>
  590.             <value id="1" name="MotionDetected"/>
  591.         </variable>
  592.       </variables>
  593.     </command>
  594.  
  595.    
  596.     <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">
  597.      <variables>
  598.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  599.         <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"/>
  600.         <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  601.       </variables>
  602.     </command>
  603.    
  604.     <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">
  605.      <variables>
  606.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  607.         <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)"/>
  608.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  609.             <value id="0" name="Decrease"/>
  610.             <value id="1" name="Increase"/>
  611.         </variable>
  612.       </variables>
  613.     </command>
  614.     <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop">
  615.       <variables>
  616.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  617.       </variables>
  618.     </command>
  619.     <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received">
  620.      <variables>
  621.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  622.         <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)"/>
  623.         <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  624.       </variables>
  625.     </command>
  626.     <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">
  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, set speed to 0 if no fading is to be used (go to target immediately)"/>
  630.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  631.             <value id="0" name="Decrease"/>
  632.             <value id="1" name="Increase"/>
  633.         </variable>
  634.         <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/>
  635.       </variables>
  636.     </command>
  637.     <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power">
  638.      <variables>
  639.         <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power">
  640.         <value id="0" name="Disconnected"/>
  641.         <value id="1" name="Connected"/>
  642.     </variable>
  643.         <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power">
  644.         <value id="0" name="Error_Unknown"/>
  645.         <value id="1" name="50Hz"/>
  646.         <value id="2" name="60Hz"/>
  647.     </variable>
  648.     <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
  649.     <variable name="Channel" type="uint" start_bit="16" bit_length="8" unit="" description="Dimmer channel"/>
  650.       </variables>
  651.     </command>
  652.     <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">
  653.      <variables>
  654.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  655.         <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"/>
  656.         <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
  657.       </variables>
  658.     </command>
  659.     <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">
  660.      <variables>
  661.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  662.         <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)"/>
  663.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  664.             <value id="0" name="Decrease"/>
  665.             <value id="1" name="Increase"/>
  666.         </variable>
  667.       </variables>
  668.     </command>
  669.     <command id="130" name="Stop_Fade" type="specific" module="hwPWM" description="If a fade is in progress, then stop">
  670.       <variables>
  671.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  672.       </variables>
  673.     </command>
  674.     <command id="131" name="Abs_Fade" type="specific" module="hwPWM" description="Fade to a defined value, stops when another command is received">
  675.      <variables>
  676.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  677.         <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)"/>
  678.         <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
  679.       </variables>
  680.     </command>
  681.     <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">
  682.      <variables>
  683.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  684.         <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)"/>
  685.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  686.             <value id="0" name="Decrease"/>
  687.             <value id="1" name="Increase"/>
  688.         </variable>
  689.         <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
  690.       </variables>
  691.     </command>
  692.  
  693.     <command id="128" name="Demo" type="specific" module="PCAPWM" 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">
  694.      <variables>
  695.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  696.         <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"/>
  697.         <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
  698.       </variables>
  699.     </command>
  700.     <command id="129" name="Start_Fade" type="specific" module="PCAPWM" description="Fade in a direction and don't stop until another command is received or top/bottom is reached">
  701.      <variables>
  702.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  703.         <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)"/>
  704.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  705.             <value id="0" name="Decrease"/>
  706.             <value id="1" name="Increase"/>
  707.         </variable>
  708.       </variables>
  709.     </command>
  710.     <command id="130" name="Stop_Fade" type="specific" module="PCAPWM" description="If a fade is in progress, then stop">
  711.       <variables>
  712.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  713.       </variables>
  714.     </command>
  715.     <command id="131" name="Abs_Fade" type="specific" module="PCAPWM" description="Fade to a defined value, stops when another command is received">
  716.      <variables>
  717.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  718.         <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)"/>
  719.         <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
  720.       </variables>
  721.     </command>
  722.     <command id="132" name="Rel_Fade" type="specific" module="PCAPWM" description="Fade a number of steps in a defined direction, stops when another command is received or top/bottom is reached">
  723.      <variables>
  724.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  725.         <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)"/>
  726.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  727.             <value id="0" name="Decrease"/>
  728.             <value id="1" name="Increase"/>
  729.         </variable>
  730.         <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
  731.       </variables>
  732.     </command>
  733.    
  734.  <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">
  735.      <variables>
  736.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  737.         <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"/>
  738.         <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
  739.       </variables>
  740.     </command>
  741.    
  742.     <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">
  743.      <variables>
  744.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  745.         <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)"/>
  746.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  747.             <value id="0" name="Decrease"/>
  748.             <value id="1" name="Increase"/>
  749.         </variable>
  750.       </variables>
  751.     </command>
  752.     <command id="130" name="Stop_Fade" type="specific" module="RGBW" description="If a fade is in progress, then stop">
  753.       <variables>
  754.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  755.       </variables>
  756.     </command>
  757.     <command id="131" name="Abs_Fade" type="specific" module="RGBW" description="Fade to a defined value, stops when another command is received">
  758.      <variables>
  759.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  760.         <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)"/>
  761.         <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
  762.       </variables>
  763.     </command>
  764.     <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">
  765.      <variables>
  766.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  767.         <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)"/>
  768.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  769.             <value id="0" name="Decrease"/>
  770.             <value id="1" name="Increase"/>
  771.         </variable>
  772.         <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
  773.       </variables>
  774.     </command>
  775.  
  776.     <command id="128" name="Id" type="specific" module="identification" description="Broadcast this nodes ID">
  777.      <variables>
  778.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  779.      </variables>
  780.     </command>
  781.  
  782.     <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
  783.      <variables>
  784.         <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
  785.         <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/>
  786.      </variables>
  787.     </command>
  788.     <command id="128" name="Gesture" type="specific" module="Touch" description="Parsed touch data as a gesture">
  789.      <variables>
  790.         <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"/>
  791.         <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"/>
  792.         <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)">
  793.            <value id="0" name="M"/>
  794.            <value id="1" name="P"/>
  795.         </variable>
  796.         <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">
  797.            <value id="0" name="M"/>
  798.            <value id="1" name="P"/>
  799.         </variable>
  800.         <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">
  801.            <value id="0" name="M"/>
  802.            <value id="1" name="P"/>
  803.         </variable>
  804.         <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">
  805.            <value id="0" name="M"/>
  806.            <value id="1" name="P"/>
  807.         </variable>
  808.         <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">
  809.            <value id="0" name="M"/>
  810.            <value id="1" name="P"/>
  811.         </variable>
  812.         <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">
  813.            <value id="0" name="M"/>
  814.            <value id="1" name="P"/>
  815.         </variable>
  816.         <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">
  817.            <value id="0" name="M"/>
  818.            <value id="1" name="P"/>
  819.            <value id="2" name="U"/>
  820.         </variable>
  821.      </variables>
  822.     </command>
  823.     <command id="129" name="Raw" type="specific" module="Touch" description="Raw touch data">
  824.      <variables>
  825.         <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="Gives the current push status">
  826.           <value id="1" name="Pressed"/>
  827.           <value id="0" name="Released"/>
  828.         </variable>
  829.         <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  830.         <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  831.      </variables>
  832.     </command>
  833.    
  834.     <command id="128" name="Position" type="specific" module="linearAct" description="Set and get position">
  835.      <variables>
  836.         <variable name="Position" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  837.         <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description="">
  838.              <value id="0" name="NotMoving"/>
  839.             <value id="1" name="MovingUp"/>
  840.             <value id="2" name="MovingDown"/>
  841.           </variable>
  842.       </variables>
  843.     </command>
  844.     <command id="129" name="Limits" type="specific" module="linearAct" description="Set and get limits">
  845.      <variables>
  846.         <variable name="Min" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  847.           <variable name="Low" type="uint" start_bit="16" bit_length="16" unit="" description=""/>  
  848.          <variable name="High" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
  849.          <variable name="Max" type="uint" start_bit="48" bit_length="16" unit="" description=""/>
  850.       </variables>
  851.     </command>
  852.     <command id="130" name="Calibration" type="specific" module="linearAct" description="Start calibration">
  853.      <variables>
  854.         <variable name="OptionalPosition" type="uint" start_bit="0" bit_length="16" unit="" description="Option to set current value for position"/>
  855.       </variables>
  856.     </command>
  857.  
  858.     <command id="128" name="setCounter" type="specific" module="counter" description="Set the counter value on the counter module">
  859.       <variables>
  860.         <variable name="PinId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  861.         <variable name="Count" type="uint" start_bit="8" bit_length="32" unit="" description=""/>
  862.       </variables>
  863.     </command>
  864.  
  865.     <command id="128" name="ImageDataModule1" type="specific" module="DotMatrix" description="">
  866.       <variables>
  867.         <variable name="Row1" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  868.         <variable name="Row2" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  869.         <variable name="Row3" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  870.         <variable name="Row4" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  871.         <variable name="Row5" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  872.         <variable name="Row6" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  873.         <variable name="Row7" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  874.         <variable name="Row8" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  875.       </variables>
  876.     </command>
  877.     <command id="129" name="ImageDataModule2" type="specific" module="DotMatrix" description="">
  878.       <variables>
  879.         <variable name="Row1" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  880.         <variable name="Row2" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  881.         <variable name="Row3" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  882.         <variable name="Row4" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  883.         <variable name="Row5" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  884.         <variable name="Row6" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  885.         <variable name="Row7" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  886.         <variable name="Row8" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  887.       </variables>
  888.     </command>
  889.     <command id="130" name="ImageDataModule3" type="specific" module="DotMatrix" description="">
  890.       <variables>
  891.         <variable name="Row1" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  892.         <variable name="Row2" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  893.         <variable name="Row3" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  894.         <variable name="Row4" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  895.         <variable name="Row5" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  896.         <variable name="Row6" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  897.         <variable name="Row7" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  898.         <variable name="Row8" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  899.       </variables>
  900.     </command>
  901.     <command id="131" name="ImageDataModule4" type="specific" module="DotMatrix" description="">
  902.       <variables>
  903.         <variable name="Row1" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  904.         <variable name="Row2" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  905.         <variable name="Row3" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  906.         <variable name="Row4" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  907.         <variable name="Row5" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  908.         <variable name="Row6" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  909.         <variable name="Row7" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  910.         <variable name="Row8" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  911.       </variables>
  912.     </command>
  913.  
  914.  
  915.   </commands>
  916.  
  917.  
  918.   <modules>
  919.     <module id="0" name="Debug" class="tst"/>
  920.     <module id="1" name="Default" class="def"/>
  921.     <module id="3" name="DS18x20" class="sns"/>
  922.     <module id="5" name="FOST02" class="sns"/>
  923.     <module id="6" name="BusVoltage" class="sns"/>
  924.     <module id="7" name="SimpleDTMF" class="sns"/>
  925.     <module id="8" name="Rotary" class="sns"/>
  926.     <module id="9" name="HD44789" class="act"/>
  927.     <module id="10" name="Dimmer230" class="act"/>
  928.     <module id="11" name="KS0108" class="act"/>
  929.     <module id="12" name="RGBdriver" class="act"/>
  930.     <module id="13" name="hwPWM" class="act"/>
  931.     <module id="14" name="irReceive" class="sns"/>
  932.     <module id="15" name="nmea" class="sns"/>
  933.     <module id="16" name="irTransmit" class="sns"/>
  934.     <module id="17" name="TC1047A" class="sns"/>
  935.     <module id="18" name="PID" class="act"/>
  936.     <module id="19" name="SlowPWM" class="act"/>
  937.     <module id="20" name="power" class="sns"/>
  938.     <module id="21" name="softPWM" class="act"/>
  939.     <module id="22" name="Touch" class="sns"/>
  940.     <module id="23" name="RotaryHex" class="sns"/>
  941.     <module id="24" name="output" class="act"/>
  942.     <module id="25" name="input" class="sns"/>
  943.     <module id="26" name="RGBW" class="act"/>
  944.     <module id="27" name="irTransceive" class="sns"/>
  945.     <module id="28" name="identification" class="sns"/>
  946.     <module id="29" name="PCAPWM" class="act"/>
  947.     <module id="30" name="ChnMaster" class="chn"/>
  948.     <module id="31" name="ChnController" class="chn"/>
  949.     <module id="45" name="PIR" class="sns"/>
  950.     <module id="46" name="TCN75A" class="sns"/>
  951.     <module id="47" name="VoltageCurrent" class="sns"/>
  952.     <module id="48" name="Serial" class="sns"/>
  953.     <module id="49" name="protectedOutput" class="sns"/>
  954.     <module id="50" name="inputAnalog" class="sns"/>
  955.     <module id="51" name="LM335" class="sns"/>
  956.     <module id="52" name="SH11" class="sns"/>
  957.     <module id="53" name="Radio433Transmit" class="act"/>
  958.     <module id="54" name="Radio433Receive" class="sns"/>
  959.     <module id="55" name="NTC" class="sns"/>
  960.     <module id="56" name="sigmadelta_dimmer" class="act"/>
  961.     <module id="57" name="counter" class="sns"/>
  962.     <module id="58" name="multiSwitch" class="act"/>
  963.     <module id="59" name="linearAct" class="act"/>
  964.     <module id="60" name="DotMatrix" class="act"/>
  965.   </modules>
  966.   <defines>
  967.     <define id="1" group="DirectionFlag" name="From_Owner"/>
  968.     <define id="0" group="DirectionFlag" name="To_Owner"/>
  969.   </defines>
  970.   <nmt_messages>
  971.     <nmt_message id="0" name="Time"/>
  972.     <nmt_message id="4" name="Reset">
  973.       <variables>
  974.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  975.       </variables>
  976.     </nmt_message>
  977.     <nmt_message id="8" name="Bios_Start">
  978.       <variables>
  979.         <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  980.         <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  981.         <variable name="DeviceType" type="enum" start_bit="24" bit_length="8" unit="" description="">
  982.       <value id="0" name="unknown"/>
  983.           <value id="1" name="atmega8"/>
  984.           <value id="2" name="atmega48"/>
  985.           <value id="3" name="atmega88"/>
  986.           <value id="4" name="atmega168"/>
  987.           <value id="5" name="atmega328p"/>
  988.         </variable>
  989.         <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
  990.       </variables>
  991.     </nmt_message>
  992.     <nmt_message id="12" name="Pgm_Start">
  993.       <variables>
  994.         <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  995.         <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  996.         <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  997.         <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  998.         <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
  999.       </variables>
  1000.     </nmt_message>
  1001.     <nmt_message id="16" name="Pgm_Data">
  1002.       <variables>
  1003.         <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  1004.         <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
  1005.       </variables>
  1006.     </nmt_message>
  1007.     <nmt_message id="16" name="Pgm_Data_48">
  1008.       <variables>
  1009.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1010.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1011.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1012.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1013.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1014.         <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1015.         <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  1016.         <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  1017.       </variables>
  1018.     </nmt_message>
  1019.     <nmt_message id="16" name="Pgm_Data_8">
  1020.       <variables>
  1021.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1022.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1023.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1024.       </variables>
  1025.     </nmt_message>
  1026.     <nmt_message id="16" name="Pgm_Data_16">
  1027.       <variables>
  1028.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1029.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1030.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1031.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1032.       </variables>
  1033.     </nmt_message>
  1034.     <nmt_message id="16" name="Pgm_Data_24">
  1035.       <variables>
  1036.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1037.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1038.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1039.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1040.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1041.       </variables>
  1042.     </nmt_message>
  1043.     <nmt_message id="16" name="Pgm_Data_32">
  1044.       <variables>
  1045.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1046.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1047.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1048.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1049.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1050.         <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1051.       </variables>
  1052.     </nmt_message>
  1053.     <nmt_message id="16" name="Pgm_Data_40">
  1054.       <variables>
  1055.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1056.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1057.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1058.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1059.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1060.         <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1061.         <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  1062.       </variables>
  1063.     </nmt_message>
  1064.     <nmt_message id="20" name="Pgm_End"/>
  1065.     <nmt_message id="24" name="Pgm_Copy">
  1066.       <variables>
  1067.         <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1068.         <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1069.         <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1070.         <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1071.         <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1072.         <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1073.       </variables>
  1074.     </nmt_message>
  1075.     <nmt_message id="28" name="Pgm_Ack">
  1076.       <variables>
  1077.         <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  1078.       </variables>
  1079.     </nmt_message>
  1080.     <nmt_message id="32" name="Pgm_Nack">
  1081.       <variables>
  1082.         <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  1083.       </variables>
  1084.     </nmt_message>
  1085.     <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
  1086.       <variables>
  1087.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  1088.       </variables>
  1089.     </nmt_message>
  1090.     <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
  1091.       <variables>
  1092.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  1093.       </variables>
  1094.     </nmt_message>
  1095.     <nmt_message id="44" name="Heartbeat">
  1096.       <variables>
  1097.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  1098.         <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1099.       </variables>
  1100.     </nmt_message>
  1101.   </nmt_messages>
  1102. </root>
  1103.