Subversion Repositories HomeAutomation

Rev

Rev 963 | Rev 968 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
946 runge 1
<?xml version="1.0" standalone="yes"?>
965 runge 2
<!-- Written on 23-dec-2008 13:40:00 -->
946 runge 3
<root>
4
  <classes>
5
    <class id="11" name="nmt" description="Networkmanagement"/>
6
    <class id="12" name="act" description="Actuator messages"/>
7
    <class id="13" name="sns" description="Sensor messages"/>
8
    <class id="14" name="def" description="Default, not to be used"/>
9
    <class id="15" name="tst" description="Testing stuff"/>
10
  </classes>
11
  <commands>
12
    <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is">
13
      <variables>
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=""/>
16
        <variable name="SequenceNumber" type="uint" start_bit="40" bit_length="8" unit="" description=""/>
17
      </variables>
18
    </command>
965 runge 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>
954 runge 24
    <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">
952 runge 26
      <variables>
27
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
28
      </variables>
29
    </command>
958 runge 30
 
31
 
32
    <command id="64" name="Pwm" type="physical" module="" description="Message for pwm data">
33
      <variables>
34
        <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=""/>
36
      </variables>
37
    </command>
946 runge 38
    <command id="65" name="Temperature_Celsius" type="physical" module="" description="Temperature data">
39
      <variables>
40
        <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=""/>
42
      </variables>
43
    </command>
956 runge 44
    <command id="66" name="Humidity_Percent" type="physical" module="" description="Humidity data">
45
      <variables>
46
        <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=""/>
48
      </variables>
49
    </command>
946 runge 50
    <command id="67" name="Voltage" type="physical" module="" description="Voltage data">
51
      <variables>
52
        <variable name="SensorId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
53
        <variable name="Value" type="float" start_bit="8" bit_length="16" unit="Volt" description=""/>
54
      </variables>
55
    </command>
56
    <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data"/>
956 runge 57
    <command id="69" name="Rotary_Switch" type="physical" module="" description="Command to transmit a rotary encoder switch status">
58
      <variables>
59
        <variable name="SwitchId" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
60
        <variable name="Direction" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
61
        <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=""/>
63
      </variables>
64
    </command>
65
    <command id="70" name="Button" type="physical" module="" description="">
66
      <variables>
67
        <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=""/>
69
      </variables>
70
    </command>
958 runge 71
 
72
 
946 runge 73
    <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
      <variables>
76
        <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
      </variables>
79
    </command>
80
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
81
      <variables>
82
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
83
      </variables>
84
    </command>
85
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
86
      <variables>
87
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
88
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
89
      </variables>
90
    </command>
91
    <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
92
      <variables>
93
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
94
      </variables>
95
    </command>
958 runge 96
      <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
946 runge 97
      <variables>
98
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
99
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
100
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
101
      </variables>
102
    </command>
958 runge 103
 
104
 
950 runge 105
    <command id="128" name="Demo" type="specific" module="Dimmer230" description="">
106
     <variables>
107
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
108
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
109
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
110
      </variables>
111
    </command>
112
    <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description="">
113
     <variables>
114
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
115
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
116
        <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
117
      </variables>
118
    </command>
119
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="">
120
      <variables>
121
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
122
      </variables>
123
    </command>
124
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="">
125
     <variables>
126
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
127
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
128
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
129
      </variables>
130
    </command>
131
    <command id="132" name="Rel_Fade" type="specific" module="Dimmer230" description="">
132
     <variables>
133
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
134
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
135
        <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
136
    <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description=""/>
137
      </variables>
138
    </command>
946 runge 139
  </commands>
140
  <modules>
965 runge 141
    <module id="0" name="Debug" class="tst"/>
946 runge 142
    <module id="1" name="Default" class="def"/>
143
    <module id="3" name="DS18x20" class="sns"/>
144
    <module id="5" name="FOST02" class="sns"/>
145
    <module id="6" name="BusVoltage" class="sns"/>
146
    <module id="7" name="SimpleDTMF" class="sns"/>
147
    <module id="8" name="Rotary" class="sns"/>
953 runge 148
    <module id="9" name="HD44789" class="act"/>
149
    <module id="10" name="Dimmer230" class="act"/>
150
    <module id="11" name="KS0108" class="act"/>
954 runge 151
    <module id="12" name="RGBdriver" class="act"/>
946 runge 152
  </modules>
153
  <defines>
154
    <define id="1" group="DirectionFlag" name="From_Owner"/>
155
    <define id="0" group="DirectionFlag" name="To_Owner"/>
156
    <define id="002c0000" group="None" name="HeartbeatHeader"/>
157
  </defines>
158
</root>