Rev 956 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 956 | Rev 958 | ||
|---|---|---|---|
| 1 | <?xml version="1.0" standalone="yes"?> |
1 | <?xml version="1.0" standalone="yes"?> |
| 2 | <!-- Written by Mattias on 22-dec-2008 22:52:00 --> |
2 | <!-- Written by Mattias on 22-dec-2008 22:52: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 | <command id="1" name="Ascii" type="global" module="" description="Used for sending text with printf"/> |
19 | <command id="1" name="Ascii" type="global" module="" description="Used for sending text with printf"/> |
| 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 | ||
| - | 27 | ||
| 26 | <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> |
|
| - | 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=""/> |
|
| - | 32 | </variables> |
|
| - | 33 | </command> |
|
| 27 | <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"> |
| 28 | <variables> |
35 | <variables> |
| 29 | <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=""/> |
| 30 | <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=""/> |
| 31 | </variables> |
38 | </variables> |
| 32 | </command> |
39 | </command> |
| 33 | <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"> |
| 34 | <variables> |
41 | <variables> |
| 35 | <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=""/> |
| 36 | <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=""/> |
| 37 | </variables> |
44 | </variables> |
| 38 | </command> |
45 | </command> |
| 39 | <command id="67" name="Voltage" type="physical" module="" description="Voltage data"> |
46 | <command id="67" name="Voltage" type="physical" module="" description="Voltage data"> |
| 40 | <variables> |
47 | <variables> |
| 41 | <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=""/> |
| 42 | <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=""/> |
| 43 | </variables> |
50 | </variables> |
| 44 | </command> |
51 | </command> |
| 45 | <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data"/> |
52 | <command id="68" name="Phonenumber" type="physical" module="" description="Phonenumber data"/> |
| 46 | <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"> |
| 47 | <variables> |
54 | <variables> |
| 48 | <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=""/> |
| 49 | <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=""/> |
| 50 | <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=""/> |
| 51 | <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=""/> |
| 52 | </variables> |
59 | </variables> |
| 53 | </command> |
60 | </command> |
| 54 | <command id="70" name="Button" type="physical" module="" description=""> |
61 | <command id="70" name="Button" type="physical" module="" description=""> |
| 55 | <variables> |
62 | <variables> |
| 56 | <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=""/> |
| 57 | <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=""/> |
| 58 | </variables> |
65 | </variables> |
| 59 | </command> |
66 | </command> |
| - | 67 | ||
| - | 68 | ||
| 60 | <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/> |
69 | <command id="128" name="LCD_Clear" type="specific" module="HD44789" description="Clear LCD"/> |
| 61 | <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position"> |
70 | <command id="129" name="LCD_Cursor" type="specific" module="HD44789" description="Set LCD cursor position"> |
| 62 | <variables> |
71 | <variables> |
| 63 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
72 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 64 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
73 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 65 | </variables> |
74 | </variables> |
| 66 | </command> |
75 | </command> |
| 67 | <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD"> |
76 | <command id="130" name="LCD_Text" type="specific" module="HD44789" description="Print text on LCD"> |
| 68 | <variables> |
77 | <variables> |
| 69 | <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/> |
78 | <variable name="Text" type="ascii" start_bit="0" bit_length="64" unit="" description=""/> |
| 70 | </variables> |
79 | </variables> |
| 71 | </command> |
80 | </command> |
| 72 | <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD"> |
81 | <command id="131" name="LCD_Size" type="specific" module="HD44789" description="Size of LCD"> |
| 73 | <variables> |
82 | <variables> |
| 74 | <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
83 | <variable name="Width" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 75 | <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
84 | <variable name="Height" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 76 | </variables> |
85 | </variables> |
| 77 | </command> |
86 | </command> |
| 78 | <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness"> |
87 | <command id="132" name="LCD_Backlight" type="specific" module="HD44789" description="Set LCD backlight brightness"> |
| 79 | <variables> |
88 | <variables> |
| 80 | <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
89 | <variable name="Strength" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 81 | </variables> |
90 | </variables> |
| 82 | </command> |
91 | </command> |
| 83 | <command id=" |
92 | <command id="133" name="LCD_TextAt" type="specific" module="HD44789" description="Print text on LCD"> |
| 84 | <variables> |
93 | <variables> |
| 85 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
94 | <variable name="X" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 86 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
95 | <variable name="Y" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 87 | <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/> |
96 | <variable name="Text" type="ascii" start_bit="16" bit_length="48" unit="" description=""/> |
| 88 | </variables> |
97 | </variables> |
| 89 | </command> |
98 | </command> |
| - | 99 | ||
| - | 100 | ||
| 90 | <command id="128" name="Demo" type="specific" module="Dimmer230" description=""> |
101 | <command id="128" name="Demo" type="specific" module="Dimmer230" description=""> |
| 91 | <variables> |
102 | <variables> |
| 92 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
103 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 93 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
104 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 94 | <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
105 | <variable name="Steps" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| 95 | </variables> |
106 | </variables> |
| 96 | </command> |
107 | </command> |
| 97 | <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description=""> |
108 | <command id="129" name="Start_Fade" type="specific" module="Dimmer230" description=""> |
| 98 | <variables> |
109 | <variables> |
| 99 | <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=""/> |
| 100 | <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=""/> |
| 101 | <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
112 | <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| 102 | </variables> |
113 | </variables> |
| 103 | </command> |
114 | </command> |
| 104 | <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description=""> |
115 | <command id="130" name="Stop_Fade" type="specific" module="Dimmer230" description=""> |
| 105 | <variables> |
116 | <variables> |
| 106 | <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=""/> |
| 107 | </variables> |
118 | </variables> |
| 108 | </command> |
119 | </command> |
| 109 | <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description=""> |
120 | <command id="131" name="Abs_Fade" type="specific" module="Dimmer230" description=""> |
| 110 | <variables> |
121 | <variables> |
| 111 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
122 | <variable name="Channel" type="uint" start_bit="0" bit_length="8" unit="" description=""/> |
| 112 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
123 | <variable name="Speed" type="uint" start_bit="8" bit_length="8" unit="" description=""/> |
| 113 | <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
124 | <variable name="EndValue" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| 114 | </variables> |
125 | </variables> |
| 115 | </command> |
126 | </command> |
| 116 | <command id="132" name="Rel_Fade" type="specific" module="Dimmer230" description=""> |
127 | <command id="132" name="Rel_Fade" type="specific" module="Dimmer230" description=""> |
| 117 | <variables> |
128 | <variables> |
| 118 | <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=""/> |
| 119 | <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=""/> |
| 120 | <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
131 | <variable name="Direction" type="uint" start_bit="16" bit_length="8" unit="" description=""/> |
| 121 | <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
132 | <variable name="Steps" type="uint" start_bit="24" bit_length="8" unit="" description=""/> |
| 122 | </variables> |
133 | </variables> |
| 123 | </command> |
134 | </command> |
| 124 | </commands> |
135 | </commands> |
| 125 | <modules> |
136 | <modules> |
| 126 | <module id="1" name="Default" class="def"/> |
137 | <module id="1" name="Default" class="def"/> |
| 127 | <module id="3" name="DS18x20" class="sns"/> |
138 | <module id="3" name="DS18x20" class="sns"/> |
| 128 | <module id="5" name="FOST02" class="sns"/> |
139 | <module id="5" name="FOST02" class="sns"/> |
| 129 | <module id="6" name="BusVoltage" class="sns"/> |
140 | <module id="6" name="BusVoltage" class="sns"/> |
| 130 | <module id="7" name="SimpleDTMF" class="sns"/> |
141 | <module id="7" name="SimpleDTMF" class="sns"/> |
| 131 | <module id="8" name="Rotary" class="sns"/> |
142 | <module id="8" name="Rotary" class="sns"/> |
| 132 | <module id="9" name="HD44789" class="act"/> |
143 | <module id="9" name="HD44789" class="act"/> |
| 133 | <module id="10" name="Dimmer230" class="act"/> |
144 | <module id="10" name="Dimmer230" class="act"/> |
| 134 | <module id="11" name="KS0108" class="act"/> |
145 | <module id="11" name="KS0108" class="act"/> |
| 135 | <module id="12" name="RGBdriver" class="act"/> |
146 | <module id="12" name="RGBdriver" class="act"/> |
| 136 | </modules> |
147 | </modules> |
| 137 | <defines> |
148 | <defines> |
| 138 | <define id="1" group="DirectionFlag" name="From_Owner"/> |
149 | <define id="1" group="DirectionFlag" name="From_Owner"/> |
| 139 | <define id="0" group="DirectionFlag" name="To_Owner"/> |
150 | <define id="0" group="DirectionFlag" name="To_Owner"/> |
| 140 | <define id="002c0000" group="None" name="HeartbeatHeader"/> |
151 | <define id="002c0000" group="None" name="HeartbeatHeader"/> |
| 141 | </defines> |
152 | </defines> |
| 142 | </root> |
153 | </root> |
| 143 | 154 | ||