Subversion Repositories HomeAutomation

Rev

Rev 1773 | 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="Microsecond" description="First active time"/>
  169.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Microsecond" description="First passive time"/>
  170.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Microsecond" description="Second active time"/>
  171.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Microsecond" 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="Microsecond" description="First active time"/>
  177.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Microsecond" description="First passive time"/>
  178.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Microsecond" description="Second active time"/>
  179.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Microsecond" 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.     <command id="130" name="IrProntoStart" type="specific" module="irTransceive" description="">
  194.      <variables>
  195.         <variable name="Format" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  196.         <variable name="wFrqDiv" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
  197.         <variable name="OnceSeqLen" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
  198.         <variable name="RepSeqLen" type="uint" start_bit="48" bit_length="16" unit="" description=""/>
  199.       </variables>
  200.     </command>
  201.     <command id="130" name="IrProntoTiming" type="specific" module="irTransceive" description="">
  202.      <variables>
  203.         <variable name="Format" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  204.       </variables>
  205.     </command>
  206.     <command id="131" name="IrProntoData1" type="specific" module="irTransceive" description="">
  207.      <variables>
  208.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  209.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  210.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  211.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  212.       </variables>
  213.     </command>
  214.     <command id="132" name="IrProntoData2" type="specific" module="irTransceive" description="">
  215.      <variables>
  216.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  217.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  218.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  219.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  220.       </variables>
  221.     </command>
  222.     <command id="133" name="IrProntoData3" type="specific" module="irTransceive" description="">
  223.      <variables>
  224.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  225.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  226.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  227.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  228.       </variables>
  229.     </command>
  230.     <command id="134" name="IrProntoData4" type="specific" module="irTransceive" description="">
  231.      <variables>
  232.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  233.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  234.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  235.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  236.       </variables>
  237.     </command>
  238.     <command id="135" name="IrProntoData5" type="specific" module="irTransceive" description="">
  239.      <variables>
  240.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  241.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  242.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  243.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  244.       </variables>
  245.     </command>
  246.     <command id="136" name="IrProntoData6" type="specific" module="irTransceive" description="">
  247.      <variables>
  248.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  249.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  250.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  251.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  252.       </variables>
  253.     </command>
  254.     <command id="137" name="IrProntoData7" type="specific" module="irTransceive" description="">
  255.      <variables>
  256.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  257.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  258.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  259.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  260.       </variables>
  261.     </command>
  262.     <command id="138" name="IrProntoData8" type="specific" module="irTransceive" description="">
  263.      <variables>
  264.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  265.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  266.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  267.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  268.       </variables>
  269.     </command>
  270.     <command id="139" name="IrProntoData9" type="specific" module="irTransceive" description="">
  271.      <variables>
  272.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  273.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  274.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  275.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  276.       </variables>
  277.     </command>
  278.     <command id="140" name="IrProntoData10" type="specific" module="irTransceive" description="">
  279.      <variables>
  280.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  281.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  282.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  283.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  284.       </variables>
  285.     </command>
  286.     <command id="141" name="IrProntoData11" type="specific" module="irTransceive" description="">
  287.      <variables>
  288.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  289.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  290.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  291.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  292.       </variables>
  293.     </command>
  294.     <command id="142" name="IrProntoData12" type="specific" module="irTransceive" description="">
  295.      <variables>
  296.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  297.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  298.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  299.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  300.       </variables>
  301.     </command>
  302.     <command id="143" name="IrProntoData13" type="specific" module="irTransceive" description="">
  303.      <variables>
  304.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  305.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  306.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  307.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  308.       </variables>
  309.     </command>
  310.     <command id="144" name="IrProntoData14" type="specific" module="irTransceive" description="">
  311.      <variables>
  312.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  313.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  314.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  315.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  316.       </variables>
  317.     </command>
  318.     <command id="145" name="IrProntoData15" type="specific" module="irTransceive" description="">
  319.      <variables>
  320.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  321.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  322.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  323.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  324.       </variables>
  325.     </command>
  326.     <command id="146" name="IrProntoData16" type="specific" module="irTransceive" description="">
  327.      <variables>
  328.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  329.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  330.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  331.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  332.       </variables>
  333.     </command>
  334.     <command id="163" name="IrProntoEnd1" type="specific" module="irTransceive" description="">
  335.      <variables>
  336.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  337.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  338.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  339.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  340.       </variables>
  341.     </command>
  342.     <command id="164" name="IrProntoEnd2" type="specific" module="irTransceive" description="">
  343.      <variables>
  344.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  345.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  346.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  347.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  348.       </variables>
  349.     </command>
  350.     <command id="165" name="IrProntoEnd3" type="specific" module="irTransceive" description="">
  351.      <variables>
  352.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  353.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  354.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  355.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  356.       </variables>
  357.     </command>
  358.     <command id="166" name="IrProntoEnd4" type="specific" module="irTransceive" description="">
  359.      <variables>
  360.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  361.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  362.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  363.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  364.       </variables>
  365.     </command>
  366.     <command id="167" name="IrProntoEnd5" type="specific" module="irTransceive" description="">
  367.      <variables>
  368.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  369.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  370.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  371.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  372.       </variables>
  373.     </command>
  374.     <command id="168" name="IrProntoEnd6" type="specific" module="irTransceive" description="">
  375.      <variables>
  376.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  377.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  378.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  379.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  380.       </variables>
  381.     </command>
  382.     <command id="169" name="IrProntoEnd7" type="specific" module="irTransceive" description="">
  383.      <variables>
  384.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  385.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  386.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  387.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  388.       </variables>
  389.     </command>
  390.     <command id="170" name="IrProntoEnd8" type="specific" module="irTransceive" description="">
  391.      <variables>
  392.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  393.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  394.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  395.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  396.       </variables>
  397.     </command>
  398.     <command id="171" name="IrProntoEnd9" type="specific" module="irTransceive" description="">
  399.      <variables>
  400.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  401.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  402.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  403.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  404.       </variables>
  405.     </command>
  406.     <command id="172" name="IrProntoEnd10" type="specific" module="irTransceive" description="">
  407.      <variables>
  408.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  409.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  410.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  411.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  412.       </variables>
  413.     </command>
  414.     <command id="173" name="IrProntoEnd11" type="specific" module="irTransceive" description="">
  415.      <variables>
  416.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  417.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  418.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  419.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  420.       </variables>
  421.     </command>
  422.     <command id="174" name="IrProntoEnd12" type="specific" module="irTransceive" description="">
  423.      <variables>
  424.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  425.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  426.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  427.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  428.       </variables>
  429.     </command>
  430.     <command id="175" name="IrProntoEnd13" type="specific" module="irTransceive" description="">
  431.      <variables>
  432.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  433.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  434.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  435.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  436.       </variables>
  437.     </command>
  438.     <command id="176" name="IrProntoEnd14" type="specific" module="irTransceive" description="">
  439.      <variables>
  440.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  441.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  442.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  443.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  444.       </variables>
  445.     </command>
  446.     <command id="177" name="IrProntoEnd15" type="specific" module="irTransceive" description="">
  447.      <variables>
  448.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  449.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  450.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  451.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  452.       </variables>
  453.     </command>
  454.     <command id="178" name="IrProntoEnd16" type="specific" module="irTransceive" description="">
  455.      <variables>
  456.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  457.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  458.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  459.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  460.       </variables>
  461.     </command>
  462.     <command id="179" name="IrProntoEnd17" type="specific" module="irTransceive" description="">
  463.      <variables>
  464.         <variable name="Act1" type="uint" start_bit="0" bit_length="16" unit="Pulses" description="First active time"/>
  465.         <variable name="Pas1" type="uint" start_bit="16" bit_length="16" unit="Pulses" description="First passive time"/>
  466.         <variable name="Act2" type="uint" start_bit="32" bit_length="16" unit="Pulses" description="Second active time"/>
  467.         <variable name="Pas2" type="uint" start_bit="48" bit_length="16" unit="Pulses" description="Second passive time"/>
  468.       </variables>
  469.     </command>
  470.  
  471.     <command id="128" name="Position" type="specific" module="nmea" description="WGS80 LAT/LONG Position">
  472.     <variables>
  473.         <variable name="Lat_deg" type="uint" start_bit="0" bit_length="8" unit="Degrees" description="Degrees Lat"/>
  474.         <variable name="Lat_min" type="uint" start_bit="8" bit_length="8" unit="'" description="Minutes lat"/>
  475.         <variable name="Lat_sec" type="uint" start_bit="16" bit_length="15" unit="''" description="Seconds Lat"/>
  476.         <variable name="Lat_CD" type="uint" start_bit="31" bit_length="1" unit="" description="N/S"/>
  477.         <variable name="Lon_deg" type="uint" start_bit="32" bit_length="8" unit="Degrees" description="Degrees Lat"/>
  478.         <variable name="Lon_min" type="uint" start_bit="40" bit_length="8" unit="'" description="Minutes lat"/>
  479.         <variable name="Lon_sec" type="uint" start_bit="48" bit_length="15" unit="''" description="Seconds Lat"/>
  480.         <variable name="Lon_CD" type="uint" start_bit="63" bit_length="1" unit="" description="E/W"/>      
  481.     </variables>
  482.     </command>
  483.     <command id="129" name="Heading" type="specific" module="nmea" description="Speed, heading, fix information">
  484.     <variables>
  485.         <variable name="Fixvalid" type="uint" start_bit="0" bit_length="8" unit="" description="0/1"/>
  486.         <variable name="Fixtype" type="uint" start_bit="8" bit_length="8" unit="" description="1=No, 2=2D, 3=3D"/>
  487.         <variable name="Numsat" type="uint" start_bit="16" bit_length="8" unit="" description="Number of sats in fix"/>
  488.         <variable name="Speed" type="uint" start_bit="24" bit_length="8" unit="Knots" description="Speed over ground"/>
  489.         <variable name="Course" type="uint" start_bit="32" bit_length="16" unit="Degrees" description="Course made good"/>
  490.     </variables>
  491.     </command>
  492.     <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
  493.      <variables>
  494.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  495.       </variables>
  496.     </command>
  497.     <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
  498.     <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
  499.       <variables>
  500.         <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  501.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  502.       </variables>
  503.     </command>
  504.     <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
  505.       <variables>
  506.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  507.       </variables>
  508.     </command>
  509.      <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
  510.       <variables>
  511.         <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  512.         <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  513.       </variables>
  514.     </command>
  515.     <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
  516.       <variables>
  517.         <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  518.     <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description="">
  519.         <value id="0" name="OFF"/>
  520.         <value id="1" name="ON"/>
  521.     </variable>
  522.       </variables>
  523.     </command>
  524.       <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
  525.       <variables>
  526.         <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  527.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  528.         <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
  529.       </variables>
  530.     </command>
  531.      <command id="128" name="DEBUG" type="specific" module="RGBdriver" description="Debug data from RGB-driver">
  532.     <variables>
  533.       <variable name="ADC_W" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  534.       <variable name="ADC_R" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  535.       <variable name="ADC_G" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  536.       <variable name="ADC_B" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  537.       <variable name="PWM_W" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  538.       <variable name="PWM_R" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  539.       <variable name="PWM_G" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  540.       <variable name="PWM_B" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  541.     </variables>
  542.       </command>
  543.     <command id="128" name="SerialData" type="specific" module="Serial" description="Serial data">
  544.       <variables>
  545.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  546.       </variables>
  547.     </command>
  548.     <command id="129" name="SerialConfig" type="specific" module="Serial" description="Serial config">
  549.       <variables>
  550.         <variable name="BaudRate" type="uint" start_bit="0" bit_length="16" unit="" description="Baudrate/10"/>
  551.         <variable name="PhysicalFormat" type="enum" start_bit="16" bit_length="8" unit="" description="">
  552.             <value id="0" name="RS232"/>
  553.             <value id="1" name="RS485FullDuplex"/>
  554.             <value id="2" name="RS485HalfDuplex"/>
  555.             <value id="3" name="RS485HalfDuplexWithTermination"/>
  556.             <value id="255" name="Loopback"/>
  557.         </variable>
  558.         <variable name="DataBits" type="uint" start_bit="24" bit_length="8" unit="" description="Nr of data bits (5-9)"/>
  559.         <variable name="StopBits" type="uint" start_bit="32" bit_length="8" unit="" description="Nr of stop bits (1-2)"/>
  560.         <variable name="Parity" type="enum" start_bit="40" bit_length="8" unit="" description="Parity mode">
  561.             <value id="0" name="ParityNone"/>
  562.             <value id="1" name="ParityEven"/>
  563.             <value id="2" name="ParityOdd"/>
  564.         </variable>
  565.       </variables>
  566.     </command>
  567.     <command id="130" name="SerialFilter" type="specific" module="Serial" description="Serial Filter Config">
  568.       <variables>
  569.         <variable name="DataTimeout" type="uint" start_bit="0" bit_length="8" unit="" description="Timeout before RX data is sent via CAN"/>
  570.         <variable name="PrefixLength" type="uint" start_bit="8" bit_length="2" unit="" description="Length of prefix (in bytes)"/>
  571.         <variable name="SuffixLength" type="uint" start_bit="10" bit_length="2" unit="" description="Length of suffix (in bytes)"/>
  572.         <variable name="PacketLength" type="uint" start_bit="12" bit_length="4" unit="" description="Max nr of RX bytes to pack into CAN frame"/>
  573.         <variable name="PrefixByte2" type="uint" start_bit="16" bit_length="8" unit="" description="Prefix byte2"/>
  574.         <variable name="PrefixByte1" type="uint" start_bit="24" bit_length="8" unit="" description="Prefix byte1"/>
  575.         <variable name="PrefixByte0" type="uint" start_bit="32" bit_length="8" unit="" description="Prefix byte0"/>
  576.         <variable name="SuffixByte2" type="uint" start_bit="40" bit_length="8" unit="" description="Suffix byte2"/>
  577.         <variable name="SuffixByte1" type="uint" start_bit="48" bit_length="8" unit="" description="Suffix byte1"/>
  578.         <variable name="SuffixByte0" type="uint" start_bit="54" bit_length="8" unit="" description="Suffix byte0"/>
  579.       </variables>
  580.     </command>
  581.  
  582.     <command id="128" name="AnalogConfig" type="specific" module="inputAnalog" description="Configuration for analog input module">
  583.       <variables>
  584.         <variable name="SensorId" type="uint" start_bit="0" bit_length="4" unit="" description="Which input to configure"/>
  585.         <variable name="Setting" type="enum" start_bit="4" bit_length="2" unit="" description="">
  586.             <value id="0" name="PeriodicMeasure"/>
  587.             <value id="1" name="DigitalInput"/>
  588.         </variable>
  589.         <variable name="Pullup" type="enum" start_bit="6" bit_length="1" unit="" description="Enable pullup on sensor">
  590.             <value id="0" name="Disable"/>
  591.             <value id="1" name="Enable"/>
  592.         </variable>
  593.         <variable name="Reference" type="enum" start_bit="7" bit_length="1" unit="" description="Enable GND reference on sensor">
  594.             <value id="0" name="Disable"/>
  595.             <value id="1" name="Enable"/>
  596.         </variable>
  597.         <variable name="VoltageLowTh" type="float" start_bit="8" bit_length="16" unit="Volt" description="Low threshold for digital input"/>
  598.         <variable name="VoltageHighTh" type="float" start_bit="24" bit_length="16" unit="Volt" description="High threshold for digital input"/>
  599.         <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"/>
  600.       </variables>
  601.     </command>
  602.  
  603.     <command id="128" name="DEBUG" type="specific" module="PID" description="Debug data from PID regulator">
  604.     <variables>
  605.       <variable name="P_term" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  606.       <variable name="I_term" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
  607.       <variable name="D_term" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
  608.       <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
  609.     </variables>
  610.       </command>
  611.       <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">
  612.     <variables>
  613.       <variable name="sensorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  614.       <variable name="sensorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  615.       <variable name="sensorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  616.     </variables>
  617.       </command>
  618.       <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">
  619.     <variables>
  620.       <variable name="actuatorModuleType" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  621.       <variable name="actuatorModuleId" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  622.       <variable name="actuatorId" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  623.     </variables>
  624.       </command>
  625.       <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">
  626.     <variables>
  627.       <variable name="K_P" type="float" start_bit="0" bit_length="16" unit="" description=""/>
  628.       <variable name="K_I" type="float" start_bit="16" bit_length="16" unit="" description=""/>
  629.       <variable name="K_D" type="float" start_bit="32" bit_length="16" unit="" description=""/>
  630.       <variable name="TimeUnit" type="enum" start_bit="48" bit_length="1" unit="" description="">
  631.         <value id="0" name="s"/>
  632.         <value id="1" name="ms"/>
  633.       </variable>
  634.       <variable name="RegulatorTime" type="uint" start_bit="49" bit_length="15" unit="" description=""/>
  635.     </variables>
  636.       </command>
  637.       <command id="132" name="PID_STATUS" type="specific" module="PID" description="information about the pid controller">
  638.     <variables>
  639.       <variable name="Measurment" type="float" start_bit="0" bit_length="16" unit="" description=""/>
  640.       <variable name="Reference" type="float" start_bit="16" bit_length="16" unit="" description=""/>
  641.       <variable name="PWM" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
  642.       <variable name="Sum" type="int" start_bit="48" bit_length="16" unit="" description=""/>
  643.     </variables>
  644.       </command>
  645.       <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">
  646.     <variables>
  647.       <variable name="pwmPeriod" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  648.       <variable name="pwmDefaultValue" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
  649.       <variable name="DefaultState" type="enum" start_bit="32" bit_length="2" unit="" description="">
  650.         <value id="0" name="LOW"/>
  651.         <value id="1" name="HIGH"/>
  652.         <value id="2" name="TRISTATE"/>
  653.       </variable>
  654.        <variable name="StartUpState" type="enum" start_bit="34" bit_length="1" unit="" description="">
  655.         <value id="0" name="ON"/>
  656.         <value id="1" name="OFF"/>
  657.       </variable>
  658.     </variables>
  659.       </command>
  660.       <command id="128" name="LCD_Clear" type="specific" module="KS0108" description="Clear LCD">
  661.       <variables>
  662.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  663.       <value id="0" name="Standard"/>
  664.           <value id="1" name="Inverted"/>
  665.     </variable>
  666.       </variables>
  667.     </command>
  668.     <command id="129" name="LCD_Cursor" type="specific" module="KS0108" description="Set LCD cursor position">
  669.       <variables>
  670.         <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description="Char position in x direction"/>
  671.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description="Char position in y direction"/>
  672.     <variable name="Inverted" type="enum" start_bit="16" bit_length="1" unit="" description="Set to 1 of you want an inverted output">
  673.       <value id="0" name="Standard"/>
  674.           <value id="1" name="Inverted"/>
  675.     </variable>
  676.     <variable name="Transparent" type="enum" start_bit="17" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
  677.       <value id="0" name="Standard"/>
  678.       <value id="1" name="Transparent"/>
  679.     </variable>
  680.       </variables>
  681.     </command>
  682.     <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">
  683.       <variables>
  684.         <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
  685.       </variables>
  686.     </command>
  687.     <command id="131" name="LCD_Invert" type="specific" module="KS0108" description="Invert LCD">
  688.       <variables>
  689.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  690.       <value id="0" name="Standard"/>
  691.           <value id="1" name="Inverted"/>
  692.     </variable>
  693.       </variables>
  694.     </command>
  695.     <command id="132" name="LCD_Backlight" type="specific" module="KS0108" description="Set LCD backlight brightness">
  696.       <variables>
  697.         <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  698.     <variable name="AutoLight" type="enum" start_bit="15" bit_length="1" unit="" description="">
  699.         <value id="0" name="OFF"/>
  700.         <value id="1" name="ON"/>
  701.     </variable>
  702.       </variables>
  703.     </command>
  704.     <command id="133" name="LCD_TextAt" type="specific" module="KS0108" description="Print text on LCD">
  705.       <variables>
  706.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  707.       <value id="0" name="Standard"/>
  708.           <value id="1" name="Inverted"/>
  709.     </variable>
  710.     <variable name="Transparent" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want to keep screen background">
  711.       <value id="0" name="Standard"/>
  712.       <value id="1" name="Transparent"/>
  713.     </variable>  
  714.     <variable name="X" type="uint" start_bit="2" bit_length="6" unit="" description=""/>
  715.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  716.         <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
  717.       </variables>
  718.     </command>
  719.     <command id="134" name="LCD_DrawRect" type="specific" module="KS0108" description="Draw a rectangle on LCD">
  720.       <variables>
  721.         <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  722.       <value id="0" name="Standard"/>
  723.           <value id="1" name="Inverted"/>
  724.     </variable>
  725.     <variable name="Fill" type="enum" start_bit="1" bit_length="1" unit="" description="Set to 1 of you want the rectangle filled">
  726.       <value id="0" name="NoFill"/>
  727.       <value id="1" name="Fill"/>
  728.     </variable>  
  729.     <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  730.         <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  731.     <variable name="Width" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  732.     <variable name="Height" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  733.     <variable name="Radius" type="uint" start_bit="40" bit_length="8" unit="" description="Only valid for non-fill rectangles"/>
  734.       </variables>
  735.       </command>
  736.      
  737.       <command id="135" name="LCD_DrawLine" type="specific" module="KS0108" description="Draw a line on LCD">
  738.     <variables>
  739.       <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  740.         <value id="0" name="Standard"/>
  741.         <value id="1" name="Inverted"/>
  742.       </variable>
  743.       <variable name="X1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  744.       <variable name="Y1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  745.       <variable name="X2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  746.       <variable name="Y2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  747.     </variables>
  748.       </command>
  749.    
  750.       <command id="136" name="LCD_DrawCircle" type="specific" module="KS0108" description="Draw a circle on LCD">
  751.     <variables>
  752.       <variable name="Inverted" type="enum" start_bit="0" bit_length="1" unit="" description="Set to 1 of you want an inverted screen">
  753.         <value id="0" name="Standard"/>
  754.         <value id="1" name="Inverted"/>
  755.       </variable>
  756.       <variable name="Xcentre" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  757.       <variable name="Ycentre" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  758.       <variable name="Radius" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  759.     </variables>
  760.       </command>    
  761.  
  762.     <command id="137" name="LCD_InvertRect" type="specific" module="KS0108" description="Invert pixels in an rectangle on the LCD">
  763.       <variables>
  764.     <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  765.         <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  766.     <variable name="Width" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  767.     <variable name="Height" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  768.       </variables>
  769.     </command>
  770.    
  771.     <command id="138" name="LCD_New_Image" type="specific" module="KS0108" description="Store a new image in eeprom">
  772.       <variables>
  773.     <variable name="image_id" type="uint" start_bit="0" bit_length="8" unit="" description="the new image id"/>
  774.         <variable name="size_X" type="uint" start_bit="8" bit_length="8" unit="" description="Size in x direction"/>
  775.         <variable name="size_Y" type="uint" start_bit="16" bit_length="8" unit="" description="Size in y direction"/>
  776.       </variables>
  777.     </command>
  778.         <command id="139" name="LCD_Ack" type="specific" module="KS0108" description="Data correctly received">
  779.       <variables>
  780.     <variable name="packet_id" type="uint" start_bit="0" bit_length="8" unit="" description="Id of the packet that is acknoleged"/>
  781.       </variables>
  782.     </command>
  783.      
  784.         <command id="140" name="LCD_Error" type="specific" module="KS0108" description="Data error"/>
  785.    
  786.         <command id="141" name="LCD_Image_Data" type="specific" module="KS0108" description="Data"/>
  787.         <command id="141" name="LCD_Image_Data_7" type="specific" module="KS0108" description="Data">
  788.       <variables>
  789.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  790.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  791.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  792.         <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  793.         <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  794.         <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  795.         <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  796.     <variable name="Data6" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  797.       </variables>
  798.     </command>
  799.     <command id="141" name="LCD_Image_Data_6" type="specific" module="KS0108" description="Data">
  800.       <variables>
  801.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  802.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  803.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  804.         <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  805.         <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  806.         <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  807.         <variable name="Data5" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  808.       </variables>
  809.     </command>
  810.     <command id="141" name="LCD_Image_Data_5" type="specific" module="KS0108" description="Data">
  811.       <variables>
  812.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  813.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  814.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  815.         <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  816.         <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  817.         <variable name="Data4" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  818.       </variables>
  819.     </command>
  820.     <command id="141" name="LCD_Image_Data_4" type="specific" module="KS0108" description="Data">
  821.       <variables>
  822.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  823.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  824.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  825.         <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  826.         <variable name="Data3" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  827.       </variables>
  828.     </command>
  829.     <command id="141" name="LCD_Image_Data_3" type="specific" module="KS0108" description="Data">
  830.       <variables>
  831.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  832.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  833.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  834.         <variable name="Data2" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  835.       </variables>
  836.     </command>
  837.     <command id="141" name="LCD_Image_Data_2" type="specific" module="KS0108" description="Data">
  838.       <variables>
  839.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  840.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  841.         <variable name="Data1" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  842.       </variables>
  843.     </command>
  844.     <command id="141" name="LCD_Image_Data_1" type="specific" module="KS0108" description="Data">
  845.       <variables>
  846.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  847.         <variable name="Data0" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  848.       </variables>
  849.     </command>
  850.     <command id="142" name="LCD_Data_id_Error" type="specific" module="KS0108" description="Wrong data id received">
  851.       <variables>
  852.     <variable name="id" type="uint" start_bit="0" bit_length="8" unit="" description="The expected id"/>
  853.       </variables>
  854.     </command>
  855.    
  856.         <command id="143" name="LCD_Data_Done" type="specific" module="KS0108" description="All data sent">
  857.       <variables>
  858.       </variables>
  859.     </command>
  860.  
  861.     <command id="128" name="Motion" type="specific" module="PIR" description="Motion and brightness from PIR-sensor">
  862.      <variables>
  863.         <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  864.         <variable name="Brightness" type="uint" start_bit="8" bit_length="16" unit="" description=""/>
  865.         <variable name="MotionDetect" type="enum" start_bit="24" bit_length="8" unit="" description="">
  866.             <value id="0" name="NoMotion"/>
  867.             <value id="1" name="MotionDetected"/>
  868.         </variable>
  869.       </variables>
  870.     </command>
  871.  
  872.    
  873.     <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">
  874.      <variables>
  875.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  876.         <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"/>
  877.         <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  878.       </variables>
  879.     </command>
  880.    
  881.     <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">
  882.      <variables>
  883.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  884.         <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)"/>
  885.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  886.             <value id="0" name="Decrease"/>
  887.             <value id="1" name="Increase"/>
  888.         </variable>
  889.       </variables>
  890.     </command>
  891.     <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="If a fade is in progress, then stop">
  892.       <variables>
  893.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  894.       </variables>
  895.     </command>
  896.     <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="Fade to a defined value, stops when another command is received">
  897.      <variables>
  898.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  899.         <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)"/>
  900.         <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  901.       </variables>
  902.     </command>
  903.     <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">
  904.      <variables>
  905.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  906.         <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)"/>
  907.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  908.             <value id="0" name="Decrease"/>
  909.             <value id="1" name="Increase"/>
  910.         </variable>
  911.         <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description="Number of steps to fade"/>
  912.       </variables>
  913.     </command>
  914.     <command id="133" name="Netinfo" type="specific" module="Dimmer230" description="Information about the connected net power">
  915.      <variables>
  916.         <variable name="Connection" type="enum" start_bit="0" bit_length="1" unit="" description="If the dimmer is connected to net power">
  917.         <value id="0" name="Disconnected"/>
  918.         <value id="1" name="Connected"/>
  919.     </variable>
  920.         <variable name="Frequency" type="enum" start_bit="1" bit_length="2" unit="" description="Frequency of the net power">
  921.         <value id="0" name="Error_Unknown"/>
  922.         <value id="1" name="50Hz"/>
  923.         <value id="2" name="60Hz"/>
  924.     </variable>
  925.     <variable name="DimmerValue" type="uint" start_bit="8" bit_length="8" unit="" description="Current dimmer value"/>
  926.     <variable name="Channel" type="uint" start_bit="16" bit_length="8" unit="" description="Dimmer channel"/>
  927.       </variables>
  928.     </command>
  929.     <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">
  930.      <variables>
  931.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  932.         <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"/>
  933.         <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
  934.       </variables>
  935.     </command>
  936.     <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">
  937.      <variables>
  938.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  939.         <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)"/>
  940.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  941.             <value id="0" name="Decrease"/>
  942.             <value id="1" name="Increase"/>
  943.         </variable>
  944.       </variables>
  945.     </command>
  946.     <command id="130" name="Stop_Fade" type="specific" module="hwPWM" description="If a fade is in progress, then stop">
  947.       <variables>
  948.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  949.       </variables>
  950.     </command>
  951.     <command id="131" name="Abs_Fade" type="specific" module="hwPWM" description="Fade to a defined value, stops when another command is received">
  952.      <variables>
  953.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  954.         <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)"/>
  955.         <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
  956.       </variables>
  957.     </command>
  958.     <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">
  959.      <variables>
  960.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  961.         <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)"/>
  962.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  963.             <value id="0" name="Decrease"/>
  964.             <value id="1" name="Increase"/>
  965.         </variable>
  966.         <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
  967.       </variables>
  968.     </command>
  969.  
  970.     <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">
  971.      <variables>
  972.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  973.         <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"/>
  974.         <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
  975.       </variables>
  976.     </command>
  977.     <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">
  978.      <variables>
  979.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  980.         <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)"/>
  981.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  982.             <value id="0" name="Decrease"/>
  983.             <value id="1" name="Increase"/>
  984.         </variable>
  985.       </variables>
  986.     </command>
  987.     <command id="130" name="Stop_Fade" type="specific" module="PCAPWM" description="If a fade is in progress, then stop">
  988.       <variables>
  989.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  990.       </variables>
  991.     </command>
  992.     <command id="131" name="Abs_Fade" type="specific" module="PCAPWM" description="Fade to a defined value, stops when another command is received">
  993.      <variables>
  994.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  995.         <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)"/>
  996.         <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
  997.       </variables>
  998.     </command>
  999.     <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">
  1000.      <variables>
  1001.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  1002.         <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)"/>
  1003.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  1004.             <value id="0" name="Decrease"/>
  1005.             <value id="1" name="Increase"/>
  1006.         </variable>
  1007.         <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
  1008.       </variables>
  1009.     </command>
  1010.    
  1011.  <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">
  1012.      <variables>
  1013.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  1014.         <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"/>
  1015.         <variable name="Steps" type="uint" start_bit="16" bit_length="16" unit="" description="number of percent to step in %/100"/>
  1016.       </variables>
  1017.     </command>
  1018.    
  1019.     <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">
  1020.      <variables>
  1021.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  1022.         <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)"/>
  1023.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  1024.             <value id="0" name="Decrease"/>
  1025.             <value id="1" name="Increase"/>
  1026.         </variable>
  1027.       </variables>
  1028.     </command>
  1029.     <command id="130" name="Stop_Fade" type="specific" module="RGBW" description="If a fade is in progress, then stop">
  1030.       <variables>
  1031.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  1032.       </variables>
  1033.     </command>
  1034.     <command id="131" name="Abs_Fade" type="specific" module="RGBW" description="Fade to a defined value, stops when another command is received">
  1035.      <variables>
  1036.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  1037.         <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)"/>
  1038.         <variable name="EndValue" type="uint" start_bit="16" bit_length="16" unit="" description="end value in percent in %/100"/>
  1039.       </variables>
  1040.     </command>
  1041.     <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">
  1042.      <variables>
  1043.         <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description="Dimmer channel"/>
  1044.         <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)"/>
  1045.         <variable name="Direction" type="enum" start_bit="16" bit_length="8" unit="" description="">
  1046.             <value id="0" name="Decrease"/>
  1047.             <value id="1" name="Increase"/>
  1048.         </variable>
  1049.         <variable name="Steps" type="uint" start_bit="24" bit_length="16" unit="" description="Number of percent to step in %/100"/>
  1050.       </variables>
  1051.     </command>
  1052.  
  1053.     <command id="128" name="Id" type="specific" module="identification" description="Broadcast this nodes ID">
  1054.      <variables>
  1055.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  1056.      </variables>
  1057.     </command>
  1058.  
  1059.     <command id="128" name="CONFIG" type="specific" module="softPWM" description="Configure the PWM">
  1060.      <variables>
  1061.         <variable name="Period" type="uint" start_bit="0" bit_length="16" unit="ms" description=""/>
  1062.         <variable name="Resolution" type="uint" start_bit="16" bit_length="8" unit="ms" description=""/>
  1063.      </variables>
  1064.     </command>
  1065.     <command id="128" name="Gesture" type="specific" module="Touch" description="Parsed touch data as a gesture">
  1066.      <variables>
  1067.         <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"/>
  1068.         <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"/>
  1069.         <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)">
  1070.            <value id="0" name="M"/>
  1071.            <value id="1" name="P"/>
  1072.         </variable>
  1073.         <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">
  1074.            <value id="0" name="M"/>
  1075.            <value id="1" name="P"/>
  1076.         </variable>
  1077.         <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">
  1078.            <value id="0" name="M"/>
  1079.            <value id="1" name="P"/>
  1080.         </variable>
  1081.         <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">
  1082.            <value id="0" name="M"/>
  1083.            <value id="1" name="P"/>
  1084.         </variable>
  1085.         <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">
  1086.            <value id="0" name="M"/>
  1087.            <value id="1" name="P"/>
  1088.         </variable>
  1089.         <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">
  1090.            <value id="0" name="M"/>
  1091.            <value id="1" name="P"/>
  1092.         </variable>
  1093.         <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">
  1094.            <value id="0" name="M"/>
  1095.            <value id="1" name="P"/>
  1096.            <value id="2" name="U"/>
  1097.         </variable>
  1098.      </variables>
  1099.     </command>
  1100.     <command id="129" name="Raw" type="specific" module="Touch" description="Raw touch data">
  1101.      <variables>
  1102.         <variable name="Status" type="enum" start_bit="0" bit_length="8" unit="" description="Gives the current push status">
  1103.           <value id="1" name="Pressed"/>
  1104.           <value id="0" name="Released"/>
  1105.         </variable>
  1106.         <variable name="X" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1107.         <variable name="Y" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1108.      </variables>
  1109.     </command>
  1110.    
  1111.     <command id="128" name="Position" type="specific" module="linearAct" description="Set and get position">
  1112.      <variables>
  1113.         <variable name="Position" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  1114.         <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description="">
  1115.              <value id="0" name="NotMoving"/>
  1116.             <value id="1" name="MovingUp"/>
  1117.             <value id="2" name="MovingDown"/>
  1118.           </variable>
  1119.       </variables>
  1120.     </command>
  1121.     <command id="129" name="Limits" type="specific" module="linearAct" description="Set and get limits">
  1122.      <variables>
  1123.         <variable name="Min" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  1124.           <variable name="Low" type="uint" start_bit="16" bit_length="16" unit="" description=""/>  
  1125.          <variable name="High" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
  1126.          <variable name="Max" type="uint" start_bit="48" bit_length="16" unit="" description=""/>
  1127.       </variables>
  1128.     </command>
  1129.     <command id="130" name="Calibration" type="specific" module="linearAct" description="Start calibration">
  1130.      <variables>
  1131.         <variable name="OptionalPosition" type="uint" start_bit="0" bit_length="16" unit="" description="Option to set current value for position"/>
  1132.       </variables>
  1133.     </command>
  1134.  
  1135.     <command id="128" name="setCounter" type="specific" module="counter" description="Set the counter value on the counter module">
  1136.       <variables>
  1137.         <variable name="PinId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1138.         <variable name="Count" type="uint" start_bit="8" bit_length="32" unit="" description=""/>
  1139.       </variables>
  1140.     </command>
  1141.  
  1142.     <command id="128" name="ImageDataModule1" type="specific" module="DotMatrix" description="">
  1143.       <variables>
  1144.         <variable name="Row1" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1145.         <variable name="Row2" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1146.         <variable name="Row3" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1147.         <variable name="Row4" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1148.         <variable name="Row5" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1149.         <variable name="Row6" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1150.         <variable name="Row7" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  1151.         <variable name="Row8" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  1152.       </variables>
  1153.     </command>
  1154.     <command id="129" name="ImageDataModule2" type="specific" module="DotMatrix" description="">
  1155.       <variables>
  1156.         <variable name="Row1" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1157.         <variable name="Row2" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1158.         <variable name="Row3" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1159.         <variable name="Row4" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1160.         <variable name="Row5" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1161.         <variable name="Row6" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1162.         <variable name="Row7" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  1163.         <variable name="Row8" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  1164.       </variables>
  1165.     </command>
  1166.     <command id="130" name="ImageDataModule3" type="specific" module="DotMatrix" description="">
  1167.       <variables>
  1168.         <variable name="Row1" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1169.         <variable name="Row2" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1170.         <variable name="Row3" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1171.         <variable name="Row4" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1172.         <variable name="Row5" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1173.         <variable name="Row6" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1174.         <variable name="Row7" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  1175.         <variable name="Row8" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  1176.       </variables>
  1177.     </command>
  1178.     <command id="131" name="ImageDataModule4" type="specific" module="DotMatrix" description="">
  1179.       <variables>
  1180.         <variable name="Row1" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1181.         <variable name="Row2" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1182.         <variable name="Row3" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1183.         <variable name="Row4" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1184.         <variable name="Row5" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1185.         <variable name="Row6" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1186.         <variable name="Row7" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  1187.         <variable name="Row8" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  1188.       </variables>
  1189.     </command>
  1190.  
  1191.  
  1192.   </commands>
  1193.  
  1194.  
  1195.   <modules>
  1196.     <module id="0" name="Debug" class="tst"/>
  1197.     <module id="1" name="Default" class="def"/>
  1198.     <module id="3" name="DS18x20" class="sns"/>
  1199.     <module id="5" name="FOST02" class="sns"/>
  1200.     <module id="6" name="BusVoltage" class="sns"/>
  1201.     <module id="7" name="SimpleDTMF" class="sns"/>
  1202.     <module id="8" name="Rotary" class="sns"/>
  1203.     <module id="9" name="HD44789" class="act"/>
  1204.     <module id="10" name="Dimmer230" class="act"/>
  1205.     <module id="11" name="KS0108" class="act"/>
  1206.     <module id="12" name="RGBdriver" class="act"/>
  1207.     <module id="13" name="hwPWM" class="act"/>
  1208.     <module id="14" name="irReceive" class="sns"/>
  1209.     <module id="15" name="nmea" class="sns"/>
  1210.     <module id="16" name="irTransmit" class="sns"/>
  1211.     <module id="17" name="TC1047A" class="sns"/>
  1212.     <module id="18" name="PID" class="act"/>
  1213.     <module id="19" name="SlowPWM" class="act"/>
  1214.     <module id="20" name="power" class="sns"/>
  1215.     <module id="21" name="softPWM" class="act"/>
  1216.     <module id="22" name="Touch" class="sns"/>
  1217.     <module id="23" name="RotaryHex" class="sns"/>
  1218.     <module id="24" name="output" class="act"/>
  1219.     <module id="25" name="input" class="sns"/>
  1220.     <module id="26" name="RGBW" class="act"/>
  1221.     <module id="27" name="irTransceive" class="sns"/>
  1222.     <module id="28" name="identification" class="sns"/>
  1223.     <module id="29" name="PCAPWM" class="act"/>
  1224.     <module id="30" name="ChnMaster" class="chn"/>
  1225.     <module id="31" name="ChnController" class="chn"/>
  1226.     <module id="45" name="PIR" class="sns"/>
  1227.     <module id="46" name="TCN75A" class="sns"/>
  1228.     <module id="47" name="VoltageCurrent" class="sns"/>
  1229.     <module id="48" name="Serial" class="sns"/>
  1230.     <module id="49" name="protectedOutput" class="sns"/>
  1231.     <module id="50" name="inputAnalog" class="sns"/>
  1232.     <module id="51" name="LM335" class="sns"/>
  1233.     <module id="52" name="SH11" class="sns"/>
  1234.     <module id="53" name="Radio433Transmit" class="act"/>
  1235.     <module id="54" name="Radio433Receive" class="sns"/>
  1236.     <module id="55" name="NTC" class="sns"/>
  1237.     <module id="56" name="sigmadelta_dimmer" class="act"/>
  1238.     <module id="57" name="counter" class="sns"/>
  1239.     <module id="58" name="multiSwitch" class="act"/>
  1240.     <module id="59" name="linearAct" class="act"/>
  1241.     <module id="60" name="DotMatrix" class="act"/>
  1242.   </modules>
  1243.   <defines>
  1244.     <define id="1" group="DirectionFlag" name="From_Owner"/>
  1245.     <define id="0" group="DirectionFlag" name="To_Owner"/>
  1246.   </defines>
  1247.   <nmt_messages>
  1248.     <nmt_message id="0" name="Time"/>
  1249.     <nmt_message id="4" name="Reset">
  1250.       <variables>
  1251.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  1252.       </variables>
  1253.     </nmt_message>
  1254.     <nmt_message id="8" name="Bios_Start">
  1255.       <variables>
  1256.         <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  1257.         <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1258.         <variable name="DeviceType" type="enum" start_bit="24" bit_length="8" unit="" description="">
  1259.       <value id="0" name="unknown"/>
  1260.           <value id="1" name="atmega8"/>
  1261.           <value id="2" name="atmega48"/>
  1262.           <value id="3" name="atmega88"/>
  1263.           <value id="4" name="atmega168"/>
  1264.           <value id="5" name="atmega328p"/>
  1265.         </variable>
  1266.         <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
  1267.       </variables>
  1268.     </nmt_message>
  1269.     <nmt_message id="12" name="Pgm_Start">
  1270.       <variables>
  1271.         <variable name="Address0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1272.         <variable name="Address1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1273.         <variable name="Address2" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1274.         <variable name="Address3" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1275.         <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
  1276.       </variables>
  1277.     </nmt_message>
  1278.     <nmt_message id="16" name="Pgm_Data">
  1279.       <variables>
  1280.         <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  1281.         <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
  1282.       </variables>
  1283.     </nmt_message>
  1284.     <nmt_message id="16" name="Pgm_Data_48">
  1285.       <variables>
  1286.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1287.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1288.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1289.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1290.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1291.         <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1292.         <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  1293.         <variable name="Data5" type="uint" start_bit="56" bit_length="8" unit="" description=""/>
  1294.       </variables>
  1295.     </nmt_message>
  1296.     <nmt_message id="16" name="Pgm_Data_8">
  1297.       <variables>
  1298.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1299.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1300.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1301.       </variables>
  1302.     </nmt_message>
  1303.     <nmt_message id="16" name="Pgm_Data_16">
  1304.       <variables>
  1305.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1306.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1307.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1308.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1309.       </variables>
  1310.     </nmt_message>
  1311.     <nmt_message id="16" name="Pgm_Data_24">
  1312.       <variables>
  1313.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1314.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1315.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1316.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1317.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1318.       </variables>
  1319.     </nmt_message>
  1320.     <nmt_message id="16" name="Pgm_Data_32">
  1321.       <variables>
  1322.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1323.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1324.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1325.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1326.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1327.         <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1328.       </variables>
  1329.     </nmt_message>
  1330.     <nmt_message id="16" name="Pgm_Data_40">
  1331.       <variables>
  1332.         <variable name="Offset0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1333.         <variable name="Offset1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1334.         <variable name="Data0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1335.         <variable name="Data1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1336.         <variable name="Data2" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1337.         <variable name="Data3" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1338.         <variable name="Data4" type="uint" start_bit="48" bit_length="8" unit="" description=""/>
  1339.       </variables>
  1340.     </nmt_message>
  1341.     <nmt_message id="20" name="Pgm_End"/>
  1342.     <nmt_message id="24" name="Pgm_Copy">
  1343.       <variables>
  1344.         <variable name="Source0" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
  1345.         <variable name="Source1" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
  1346.         <variable name="Destination0" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
  1347.         <variable name="Destination1" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
  1348.         <variable name="Length0" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1349.         <variable name="Length1" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
  1350.       </variables>
  1351.     </nmt_message>
  1352.     <nmt_message id="28" name="Pgm_Ack">
  1353.       <variables>
  1354.         <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  1355.       </variables>
  1356.     </nmt_message>
  1357.     <nmt_message id="32" name="Pgm_Nack">
  1358.       <variables>
  1359.         <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
  1360.       </variables>
  1361.     </nmt_message>
  1362.     <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
  1363.       <variables>
  1364.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  1365.       </variables>
  1366.     </nmt_message>
  1367.     <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
  1368.       <variables>
  1369.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  1370.       </variables>
  1371.     </nmt_message>
  1372.     <nmt_message id="44" name="Heartbeat">
  1373.       <variables>
  1374.         <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
  1375.         <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
  1376.       </variables>
  1377.     </nmt_message>
  1378.   </nmt_messages>
  1379. </root>
  1380.