Subversion Repositories HomeAutomation

Rev

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

Rev 981 Rev 986
Line 1... Line 1...
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 2009-01-01 22:00:00 -->
3
<root>
3
<root>
4
  <classes>
4
  <classes>
5
    <class id="11" name="nmt" description="Networkmanagement"/>
5
    <class id="0" name="nmt" description="Networkmanagement used only for packets with the nmt-protcol header"/>
-
 
6
    <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 messages"/>
7
    <class id="12" name="act" description="Actuator nmt_messages"/>
7
    <class id="13" name="sns" description="Sensor messages"/>
8
    <class id="13" name="sns" description="Sensor nmt_messages"/>
8
    <class id="14" name="def" description="Default, not to be used"/>
9
    <class id="14" name="def" description="Default, not to be used"/>
9
    <class id="15" name="tst" description="Testing stuff"/>
10
    <class id="15" name="tst" description="Testing stuff"/>
10
  </classes>
11
  </classes>
11
  <commands>
12
  <commands>
12
    <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is">
13
    <command id="0" name="List" type="global" module="" description="Message that module send to tell the world what it is">
Line 21... Line 22...
21
    <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting">
22
    <command id="3" name="Report_Interval" type="global" module="" description="Get/Set interval of reporting">
22
      <variables>
23
      <variables>
23
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
24
        <variable name="Time" type="uint" start_bit="0" bit_length="8" unit="Second" description=""/>
24
      </variables>
25
      </variables>
25
    </command>
26
    </command>
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=""/>
Line 66... Line 66...
66
      <variables>
66
      <variables>
67
        <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=""/>
68
        <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=""/>
69
      </variables>
69
      </variables>
70
    </command>
70
    </command>
71
   
-
 
72
   
71
   
73
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
72
    <command id="128" name="Printf" type="specific" module="Debug" description="Used for sending debug text with printf">
74
     <variables>
73
     <variables>
75
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
74
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
76
      </variables>
75
      </variables>
77
    </command>
76
    </command>
78
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
77
    <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/>
79
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
78
    <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position">
80
      <variables>
79
      <variables>
81
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
80
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
82
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
81
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
83
      </variables>
82
      </variables>
84
    </command>
83
    </command>
85
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
84
    <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD">
86
      <variables>
85
      <variables>
87
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
86
        <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/>
88
      </variables>
87
      </variables>
89
    </command>
88
    </command>
90
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
89
     <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD">
91
      <variables>
90
      <variables>
92
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
91
        <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
93
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
92
        <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
94
      </variables>
93
      </variables>
95
    </command>
94
    </command>
96
    <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
95
    <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness">
97
      <variables>
96
      <variables>
98
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
97
        <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
99
      </variables>
98
      </variables>
100
    </command>
99
    </command>
101
      <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
100
      <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD">
102
      <variables>
101
      <variables>
103
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
102
        <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
104
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
103
        <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
105
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
104
        <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/>
106
      </variables>
105
      </variables>
107
    </command>
106
    </command>
108
   
-
 
109
   
107
   
110
    <command id="128" name="Demo" type="specific" module="Dimmer230" description="">
108
    <command id="128" name="Demo" type="specific" module="Dimmer230" description="">
111
     <variables>
109
     <variables>
112
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
110
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
113
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
111
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
114
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
112
        <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
115
      </variables>
113
      </variables>
116
    </command>
114
    </command>
117
    <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description="">
115
    <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description="">
118
     <variables>
116
     <variables>
119
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
117
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
120
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
118
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
121
        <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
119
        <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
122
      </variables>
120
      </variables>
123
    </command>
121
    </command>
124
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="">
122
    <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description="">
125
      <variables>
123
      <variables>
126
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
124
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
127
      </variables>
125
      </variables>
128
    </command>
126
    </command>
129
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="">
127
    <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description="">
130
     <variables>
128
     <variables>
131
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
129
        <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/>
132
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
130
        <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/>
133
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
131
        <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
Line 157... Line 155...
157
    <module id="13" name="LEDPWM" class="act"/>
155
    <module id="13" name="LEDPWM" class="act"/>
158
  </modules>
156
  </modules>
159
  <defines>
157
  <defines>
160
    <define id="1" group="DirectionFlag" name="From_Owner"/>
158
    <define id="1" group="DirectionFlag" name="From_Owner"/>
161
    <define id="0" group="DirectionFlag" name="To_Owner"/>
159
    <define id="0" group="DirectionFlag" name="To_Owner"/>
162
    <define id="002c0000" group="None" name="HeartbeatHeader"/>
-
 
163
  </defines>
160
  </defines>
-
 
161
  <nmt_messages>
-
 
162
    <nmt_message id="0" name="Time"/>
-
 
163
    <nmt_message id="4" name="Reset">
-
 
164
      <variables>
-
 
165
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
-
 
166
      </variables>
-
 
167
    </nmt_message>
-
 
168
    <nmt_message id="8" name="Bios_Start">
-
 
169
      <variables>
-
 
170
        <variable name="BiosVersion" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
-
 
171
        <variable name="HasApplication" type="uint" start_bit="16" bit_length="8" unit="" description=""/>
-
 
172
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
-
 
173
      </variables>
-
 
174
    </nmt_message>
-
 
175
    <nmt_message id="12" name="Pgm_Start">
-
 
176
      <variables>
-
 
177
        <variable name="Address" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
-
 
178
        <variable name="HardwareId" type="uint" start_bit="32" bit_length="32" unit="" description=""/>
-
 
179
      </variables>
-
 
180
    </nmt_message>
-
 
181
    <nmt_message id="16" name="Pgm_Data">
-
 
182
      <variables>
-
 
183
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
-
 
184
        <variable name="Data" type="uint" start_bit="16" bit_length="48" unit="" description=""/>
-
 
185
      </variables>
-
 
186
    </nmt_message>
-
 
187
    <nmt_message id="20" name="Pgm_End"/>
-
 
188
    <nmt_message id="24" name="Pgm_Copy">
-
 
189
      <variables>
-
 
190
        <variable name="Source" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
-
 
191
        <variable name="Destination" type="uint" start_bit="16" bit_length="16" unit="" description=""/>
-
 
192
        <variable name="Length" type="uint" start_bit="32" bit_length="16" unit="" description=""/>
-
 
193
      </variables>
-
 
194
    </nmt_message>
-
 
195
    <nmt_message id="28" name="Pgm_Ack">
-
 
196
      <variables>
-
 
197
        <variable name="Data" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
-
 
198
      </variables>
-
 
199
    </nmt_message>
-
 
200
    <nmt_message id="32" name="Pgm_Nack">
-
 
201
      <variables>
-
 
202
        <variable name="Offset" type="uint" start_bit="0" bit_length="16" unit="" description=""/>
-
 
203
      </variables>
-
 
204
    </nmt_message>
-
 
205
    <nmt_message id="36" name="Start_App" description="Send to node to start the application in the node">
-
 
206
      <variables>
-
 
207
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
-
 
208
      </variables>
-
 
209
    </nmt_message>
-
 
210
    <nmt_message id="40" name="App_Start" description="Sent by the application in a node when it starts">
-
 
211
      <variables>
-
 
212
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
-
 
213
      </variables>
-
 
214
    </nmt_message>
-
 
215
    <nmt_message id="44" name="Heartbeat">
-
 
216
      <variables>
-
 
217
        <variable name="HardwareId" type="uint" start_bit="0" bit_length="32" unit="" description=""/>
-
 
218
        <variable name="NumberOfModules" type="uint" start_bit="32" bit_length="8" unit="" description=""/>
-
 
219
      </variables>
-
 
220
    </nmt_message>
-
 
221
  </nmt_messages>
164
</root>
222
</root>