Subversion Repositories HomeAutomation

Rev

Rev 965 | Rev 980 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 965 Rev 968
Line 14... Line 14...
14
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
14
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
15
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
15
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
16
        <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
16
        <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
17
      </variables>
17
      </variables>
18
    </command>
18
    </command>
19
    <command id="1" name="Ascii" type="global" module="" description="Used for sending text with printf">
-
 
20
     <variables>
-
 
21
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
-
 
22
      </variables>
-
 
23
    </command>
19
   
24
    <command id="2" name="Debug" type="global" module="" description="Used for debugging, should not be used for anything real"/>
20
    <command id="2" name="Debug" type="global" module="" description="Used for debugging, should not be used for anything real"/>
25
    <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting">
21
    <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting">
26
      <variables>
22
      <variables>
27
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
23
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
28
      </variables>
24
      </variables>
29
    </command>
25
    </command>
30
   
26
   
31
   
27
   
32
    <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
28
    <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
33
      <variables>
29
      <variables>
34
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
30
        <variable name="Id" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
35
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
31
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
36
      </variables>
32
      </variables>
37
    </command>
33
    </command>
38
    <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
34
    <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
39
      <variables>
35
      <variables>
40
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
36
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
41
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/>
37
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Celsius" description=""/>
42
      </variables>
38
      </variables>
43
    </command>
39
    </command>
44
    <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
40
    <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
45
      <variables>
41
      <variables>
46
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
42
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
47
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
43
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="" description=""/>
48
      </variables>
44
      </variables>
49
    </command>
45
    </command>
50
    <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
46
    <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
51
      <variables>
47
      <variables>
Line 53... Line 49...
53
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
49
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
54
      </variables>
50
      </variables>
55
    </command>
51
    </command>
56
    <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data"/>
52
    <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data"/>
57
    <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
53
    <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
58
      <variables>
54
      <variables>
59
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
55
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
60
        <variable name="Direction" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
56
        <variable name="Direction" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
61
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
57
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
62
        <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
58
        <variable name="Position" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
63
      </variables>
59
      </variables>
64
    </command>
60
    </command>
65
    <command id="70" name="Button" type="physical" module="" description="">
61
    <command id="70" name="Button" type="physical" module="" description="">
66
      <variables>
62
      <variables>
67
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
63
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
68
        <variable name="Status" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
64
        <variable name="Status" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
69
      </variables>
65
      </variables>
70
    </command>
66
    </command>
71
   
67
   
72
   
68
   
-
 
69
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
-
 
70
     <variables>
-
 
71
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
-
 
72
      </variables>
-
 
73
    </command>
73
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
74
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
74
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
75
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
75
      <variables>
76
      <variables>
76
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
77
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
77
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
78
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>