Subversion Repositories HomeAutomation

Rev

Rev 980 | Rev 986 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

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