This diff has been collapsed as it changes many lines, (593 lines changed) Show them Hide them | |||||
@@ -0,0 +1,593 | |||||
|
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |||
|
2 | <?fileVersion 4.0.0?> | |||
|
3 | ||||
|
4 | <cproject> | |||
|
5 | <storageModule moduleId="org.eclipse.cdt.core.settings"> | |||
|
6 | <cconfiguration id="cdt.managedbuild.config.gnu.exe.debug.1703483341"> | |||
|
7 | <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.debug.1703483341" moduleId="org.eclipse.cdt.core.settings" name="Debug"> | |||
|
8 | <externalSettings/> | |||
|
9 | <extensions> | |||
|
10 | <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> | |||
|
11 | <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
12 | <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
13 | <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
14 | <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
15 | </extensions> | |||
|
16 | </storageModule> | |||
|
17 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> | |||
|
18 | <configuration artifactName="ABS_Client_v2" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.debug.1703483341" name="Debug" parent="cdt.managedbuild.config.gnu.exe.debug"> | |||
|
19 | <folderInfo id="cdt.managedbuild.config.gnu.exe.debug.1703483341." name="/" resourcePath=""> | |||
|
20 | <toolChain id="cdt.managedbuild.toolchain.gnu.exe.debug.461094330" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.debug"> | |||
|
21 | <targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.debug.1338070423" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.debug"/> | |||
|
22 | <builder buildPath="${workspace_loc:/ABS_Client_v2/Debug}" id="cdt.managedbuild.target.gnu.builder.exe.debug.2010332194" managedBuildOn="true" name="Gnu Make Builder.Debug" superClass="cdt.managedbuild.target.gnu.builder.exe.debug"/> | |||
|
23 | <tool id="cdt.managedbuild.tool.gnu.archiver.base.270759073" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/> | |||
|
24 | <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.1452952489" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug"> | |||
|
25 | <option id="gnu.cpp.compiler.exe.debug.option.optimization.level.1744624322" superClass="gnu.cpp.compiler.exe.debug.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/> | |||
|
26 | <option id="gnu.cpp.compiler.exe.debug.option.debugging.level.1934946142" superClass="gnu.cpp.compiler.exe.debug.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/> | |||
|
27 | </tool> | |||
|
28 | <tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.debug.839338223" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.debug"> | |||
|
29 | <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.exe.debug.option.optimization.level.118299588" superClass="gnu.c.compiler.exe.debug.option.optimization.level" valueType="enumerated"/> | |||
|
30 | <option id="gnu.c.compiler.exe.debug.option.debugging.level.1229983808" superClass="gnu.c.compiler.exe.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/> | |||
|
31 | <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1294162153" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> | |||
|
32 | </tool> | |||
|
33 | <tool id="cdt.managedbuild.tool.gnu.c.linker.exe.debug.701943945" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.debug"> | |||
|
34 | <inputType id="cdt.managedbuild.tool.gnu.c.linker.input.2002080432" superClass="cdt.managedbuild.tool.gnu.c.linker.input"> | |||
|
35 | <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> | |||
|
36 | <additionalInput kind="additionalinput" paths="$(LIBS)"/> | |||
|
37 | </inputType> | |||
|
38 | </tool> | |||
|
39 | <tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug.230723790" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.debug"/> | |||
|
40 | <tool id="cdt.managedbuild.tool.gnu.assembler.exe.debug.1416698843" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.debug"> | |||
|
41 | <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1797179744" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> | |||
|
42 | </tool> | |||
|
43 | </toolChain> | |||
|
44 | </folderInfo> | |||
|
45 | </configuration> | |||
|
46 | </storageModule> | |||
|
47 | <storageModule moduleId="scannerConfiguration"> | |||
|
48 | <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/> | |||
|
49 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> | |||
|
50 | <buildOutputProvider> | |||
|
51 | <openAction enabled="true" filePath=""/> | |||
|
52 | <parser enabled="true"/> | |||
|
53 | </buildOutputProvider> | |||
|
54 | <scannerInfoProvider id="specsFile"> | |||
|
55 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
56 | <parser enabled="true"/> | |||
|
57 | </scannerInfoProvider> | |||
|
58 | </profile> | |||
|
59 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> | |||
|
60 | <buildOutputProvider> | |||
|
61 | <openAction enabled="true" filePath=""/> | |||
|
62 | <parser enabled="true"/> | |||
|
63 | </buildOutputProvider> | |||
|
64 | <scannerInfoProvider id="makefileGenerator"> | |||
|
65 | <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/> | |||
|
66 | <parser enabled="true"/> | |||
|
67 | </scannerInfoProvider> | |||
|
68 | </profile> | |||
|
69 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"> | |||
|
70 | <buildOutputProvider> | |||
|
71 | <openAction enabled="true" filePath=""/> | |||
|
72 | <parser enabled="true"/> | |||
|
73 | </buildOutputProvider> | |||
|
74 | <scannerInfoProvider id="specsFile"> | |||
|
75 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
76 | <parser enabled="true"/> | |||
|
77 | </scannerInfoProvider> | |||
|
78 | </profile> | |||
|
79 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"> | |||
|
80 | <buildOutputProvider> | |||
|
81 | <openAction enabled="true" filePath=""/> | |||
|
82 | <parser enabled="true"/> | |||
|
83 | </buildOutputProvider> | |||
|
84 | <scannerInfoProvider id="specsFile"> | |||
|
85 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
86 | <parser enabled="true"/> | |||
|
87 | </scannerInfoProvider> | |||
|
88 | </profile> | |||
|
89 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"> | |||
|
90 | <buildOutputProvider> | |||
|
91 | <openAction enabled="true" filePath=""/> | |||
|
92 | <parser enabled="true"/> | |||
|
93 | </buildOutputProvider> | |||
|
94 | <scannerInfoProvider id="specsFile"> | |||
|
95 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
96 | <parser enabled="true"/> | |||
|
97 | </scannerInfoProvider> | |||
|
98 | </profile> | |||
|
99 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile"> | |||
|
100 | <buildOutputProvider> | |||
|
101 | <openAction enabled="true" filePath=""/> | |||
|
102 | <parser enabled="true"/> | |||
|
103 | </buildOutputProvider> | |||
|
104 | <scannerInfoProvider id="specsFile"> | |||
|
105 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
106 | <parser enabled="true"/> | |||
|
107 | </scannerInfoProvider> | |||
|
108 | </profile> | |||
|
109 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"> | |||
|
110 | <buildOutputProvider> | |||
|
111 | <openAction enabled="true" filePath=""/> | |||
|
112 | <parser enabled="true"/> | |||
|
113 | </buildOutputProvider> | |||
|
114 | <scannerInfoProvider id="specsFile"> | |||
|
115 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
116 | <parser enabled="true"/> | |||
|
117 | </scannerInfoProvider> | |||
|
118 | </profile> | |||
|
119 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"> | |||
|
120 | <buildOutputProvider> | |||
|
121 | <openAction enabled="true" filePath=""/> | |||
|
122 | <parser enabled="true"/> | |||
|
123 | </buildOutputProvider> | |||
|
124 | <scannerInfoProvider id="specsFile"> | |||
|
125 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
126 | <parser enabled="true"/> | |||
|
127 | </scannerInfoProvider> | |||
|
128 | </profile> | |||
|
129 | <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1703483341;cdt.managedbuild.config.gnu.exe.debug.1703483341.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.839338223;cdt.managedbuild.tool.gnu.c.compiler.input.1294162153"> | |||
|
130 | <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/> | |||
|
131 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> | |||
|
132 | <buildOutputProvider> | |||
|
133 | <openAction enabled="true" filePath=""/> | |||
|
134 | <parser enabled="true"/> | |||
|
135 | </buildOutputProvider> | |||
|
136 | <scannerInfoProvider id="specsFile"> | |||
|
137 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
138 | <parser enabled="true"/> | |||
|
139 | </scannerInfoProvider> | |||
|
140 | </profile> | |||
|
141 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> | |||
|
142 | <buildOutputProvider> | |||
|
143 | <openAction enabled="true" filePath=""/> | |||
|
144 | <parser enabled="true"/> | |||
|
145 | </buildOutputProvider> | |||
|
146 | <scannerInfoProvider id="makefileGenerator"> | |||
|
147 | <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/> | |||
|
148 | <parser enabled="true"/> | |||
|
149 | </scannerInfoProvider> | |||
|
150 | </profile> | |||
|
151 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"> | |||
|
152 | <buildOutputProvider> | |||
|
153 | <openAction enabled="true" filePath=""/> | |||
|
154 | <parser enabled="true"/> | |||
|
155 | </buildOutputProvider> | |||
|
156 | <scannerInfoProvider id="specsFile"> | |||
|
157 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
158 | <parser enabled="true"/> | |||
|
159 | </scannerInfoProvider> | |||
|
160 | </profile> | |||
|
161 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"> | |||
|
162 | <buildOutputProvider> | |||
|
163 | <openAction enabled="true" filePath=""/> | |||
|
164 | <parser enabled="true"/> | |||
|
165 | </buildOutputProvider> | |||
|
166 | <scannerInfoProvider id="specsFile"> | |||
|
167 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
168 | <parser enabled="true"/> | |||
|
169 | </scannerInfoProvider> | |||
|
170 | </profile> | |||
|
171 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"> | |||
|
172 | <buildOutputProvider> | |||
|
173 | <openAction enabled="true" filePath=""/> | |||
|
174 | <parser enabled="true"/> | |||
|
175 | </buildOutputProvider> | |||
|
176 | <scannerInfoProvider id="specsFile"> | |||
|
177 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
178 | <parser enabled="true"/> | |||
|
179 | </scannerInfoProvider> | |||
|
180 | </profile> | |||
|
181 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile"> | |||
|
182 | <buildOutputProvider> | |||
|
183 | <openAction enabled="true" filePath=""/> | |||
|
184 | <parser enabled="true"/> | |||
|
185 | </buildOutputProvider> | |||
|
186 | <scannerInfoProvider id="specsFile"> | |||
|
187 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
188 | <parser enabled="true"/> | |||
|
189 | </scannerInfoProvider> | |||
|
190 | </profile> | |||
|
191 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"> | |||
|
192 | <buildOutputProvider> | |||
|
193 | <openAction enabled="true" filePath=""/> | |||
|
194 | <parser enabled="true"/> | |||
|
195 | </buildOutputProvider> | |||
|
196 | <scannerInfoProvider id="specsFile"> | |||
|
197 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
198 | <parser enabled="true"/> | |||
|
199 | </scannerInfoProvider> | |||
|
200 | </profile> | |||
|
201 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"> | |||
|
202 | <buildOutputProvider> | |||
|
203 | <openAction enabled="true" filePath=""/> | |||
|
204 | <parser enabled="true"/> | |||
|
205 | </buildOutputProvider> | |||
|
206 | <scannerInfoProvider id="specsFile"> | |||
|
207 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
208 | <parser enabled="true"/> | |||
|
209 | </scannerInfoProvider> | |||
|
210 | </profile> | |||
|
211 | </scannerConfigBuildInfo> | |||
|
212 | <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.395184417;cdt.managedbuild.config.gnu.exe.release.395184417.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.1056021130;cdt.managedbuild.tool.gnu.c.compiler.input.509163458"> | |||
|
213 | <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/> | |||
|
214 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> | |||
|
215 | <buildOutputProvider> | |||
|
216 | <openAction enabled="true" filePath=""/> | |||
|
217 | <parser enabled="true"/> | |||
|
218 | </buildOutputProvider> | |||
|
219 | <scannerInfoProvider id="specsFile"> | |||
|
220 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
221 | <parser enabled="true"/> | |||
|
222 | </scannerInfoProvider> | |||
|
223 | </profile> | |||
|
224 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> | |||
|
225 | <buildOutputProvider> | |||
|
226 | <openAction enabled="true" filePath=""/> | |||
|
227 | <parser enabled="true"/> | |||
|
228 | </buildOutputProvider> | |||
|
229 | <scannerInfoProvider id="makefileGenerator"> | |||
|
230 | <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/> | |||
|
231 | <parser enabled="true"/> | |||
|
232 | </scannerInfoProvider> | |||
|
233 | </profile> | |||
|
234 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"> | |||
|
235 | <buildOutputProvider> | |||
|
236 | <openAction enabled="true" filePath=""/> | |||
|
237 | <parser enabled="true"/> | |||
|
238 | </buildOutputProvider> | |||
|
239 | <scannerInfoProvider id="specsFile"> | |||
|
240 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
241 | <parser enabled="true"/> | |||
|
242 | </scannerInfoProvider> | |||
|
243 | </profile> | |||
|
244 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"> | |||
|
245 | <buildOutputProvider> | |||
|
246 | <openAction enabled="true" filePath=""/> | |||
|
247 | <parser enabled="true"/> | |||
|
248 | </buildOutputProvider> | |||
|
249 | <scannerInfoProvider id="specsFile"> | |||
|
250 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
251 | <parser enabled="true"/> | |||
|
252 | </scannerInfoProvider> | |||
|
253 | </profile> | |||
|
254 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"> | |||
|
255 | <buildOutputProvider> | |||
|
256 | <openAction enabled="true" filePath=""/> | |||
|
257 | <parser enabled="true"/> | |||
|
258 | </buildOutputProvider> | |||
|
259 | <scannerInfoProvider id="specsFile"> | |||
|
260 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
261 | <parser enabled="true"/> | |||
|
262 | </scannerInfoProvider> | |||
|
263 | </profile> | |||
|
264 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile"> | |||
|
265 | <buildOutputProvider> | |||
|
266 | <openAction enabled="true" filePath=""/> | |||
|
267 | <parser enabled="true"/> | |||
|
268 | </buildOutputProvider> | |||
|
269 | <scannerInfoProvider id="specsFile"> | |||
|
270 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
271 | <parser enabled="true"/> | |||
|
272 | </scannerInfoProvider> | |||
|
273 | </profile> | |||
|
274 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"> | |||
|
275 | <buildOutputProvider> | |||
|
276 | <openAction enabled="true" filePath=""/> | |||
|
277 | <parser enabled="true"/> | |||
|
278 | </buildOutputProvider> | |||
|
279 | <scannerInfoProvider id="specsFile"> | |||
|
280 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
281 | <parser enabled="true"/> | |||
|
282 | </scannerInfoProvider> | |||
|
283 | </profile> | |||
|
284 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"> | |||
|
285 | <buildOutputProvider> | |||
|
286 | <openAction enabled="true" filePath=""/> | |||
|
287 | <parser enabled="true"/> | |||
|
288 | </buildOutputProvider> | |||
|
289 | <scannerInfoProvider id="specsFile"> | |||
|
290 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
291 | <parser enabled="true"/> | |||
|
292 | </scannerInfoProvider> | |||
|
293 | </profile> | |||
|
294 | </scannerConfigBuildInfo> | |||
|
295 | </storageModule> | |||
|
296 | <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> | |||
|
297 | </cconfiguration> | |||
|
298 | <cconfiguration id="cdt.managedbuild.config.gnu.exe.release.395184417"> | |||
|
299 | <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.395184417" moduleId="org.eclipse.cdt.core.settings" name="Release"> | |||
|
300 | <externalSettings/> | |||
|
301 | <extensions> | |||
|
302 | <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> | |||
|
303 | <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
304 | <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
305 | <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
306 | <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
307 | </extensions> | |||
|
308 | </storageModule> | |||
|
309 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> | |||
|
310 | <configuration artifactName="ABS_Client_v2" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.release.395184417" name="Release" parent="cdt.managedbuild.config.gnu.exe.release"> | |||
|
311 | <folderInfo id="cdt.managedbuild.config.gnu.exe.release.395184417." name="/" resourcePath=""> | |||
|
312 | <toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.673481109" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release"> | |||
|
313 | <targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.1256206601" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/> | |||
|
314 | <builder buildPath="${workspace_loc:/ABS_Client_v2/Release}" id="cdt.managedbuild.target.gnu.builder.exe.release.1677876420" managedBuildOn="true" name="Gnu Make Builder.Release" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/> | |||
|
315 | <tool id="cdt.managedbuild.tool.gnu.archiver.base.280354723" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/> | |||
|
316 | <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.705310934" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release"> | |||
|
317 | <option id="gnu.cpp.compiler.exe.release.option.optimization.level.1549097866" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/> | |||
|
318 | <option id="gnu.cpp.compiler.exe.release.option.debugging.level.1235488994" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/> | |||
|
319 | </tool> | |||
|
320 | <tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.1056021130" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release"> | |||
|
321 | <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.501262132" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/> | |||
|
322 | <option id="gnu.c.compiler.exe.release.option.debugging.level.272806353" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/> | |||
|
323 | <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.509163458" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> | |||
|
324 | </tool> | |||
|
325 | <tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.2023920282" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"> | |||
|
326 | <inputType id="cdt.managedbuild.tool.gnu.c.linker.input.127228361" superClass="cdt.managedbuild.tool.gnu.c.linker.input"> | |||
|
327 | <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> | |||
|
328 | <additionalInput kind="additionalinput" paths="$(LIBS)"/> | |||
|
329 | </inputType> | |||
|
330 | </tool> | |||
|
331 | <tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.738503158" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release"/> | |||
|
332 | <tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.1834417036" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release"> | |||
|
333 | <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1371086302" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> | |||
|
334 | </tool> | |||
|
335 | </toolChain> | |||
|
336 | </folderInfo> | |||
|
337 | </configuration> | |||
|
338 | </storageModule> | |||
|
339 | <storageModule moduleId="scannerConfiguration"> | |||
|
340 | <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/> | |||
|
341 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> | |||
|
342 | <buildOutputProvider> | |||
|
343 | <openAction enabled="true" filePath=""/> | |||
|
344 | <parser enabled="true"/> | |||
|
345 | </buildOutputProvider> | |||
|
346 | <scannerInfoProvider id="specsFile"> | |||
|
347 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
348 | <parser enabled="true"/> | |||
|
349 | </scannerInfoProvider> | |||
|
350 | </profile> | |||
|
351 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> | |||
|
352 | <buildOutputProvider> | |||
|
353 | <openAction enabled="true" filePath=""/> | |||
|
354 | <parser enabled="true"/> | |||
|
355 | </buildOutputProvider> | |||
|
356 | <scannerInfoProvider id="makefileGenerator"> | |||
|
357 | <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/> | |||
|
358 | <parser enabled="true"/> | |||
|
359 | </scannerInfoProvider> | |||
|
360 | </profile> | |||
|
361 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"> | |||
|
362 | <buildOutputProvider> | |||
|
363 | <openAction enabled="true" filePath=""/> | |||
|
364 | <parser enabled="true"/> | |||
|
365 | </buildOutputProvider> | |||
|
366 | <scannerInfoProvider id="specsFile"> | |||
|
367 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
368 | <parser enabled="true"/> | |||
|
369 | </scannerInfoProvider> | |||
|
370 | </profile> | |||
|
371 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"> | |||
|
372 | <buildOutputProvider> | |||
|
373 | <openAction enabled="true" filePath=""/> | |||
|
374 | <parser enabled="true"/> | |||
|
375 | </buildOutputProvider> | |||
|
376 | <scannerInfoProvider id="specsFile"> | |||
|
377 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
378 | <parser enabled="true"/> | |||
|
379 | </scannerInfoProvider> | |||
|
380 | </profile> | |||
|
381 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"> | |||
|
382 | <buildOutputProvider> | |||
|
383 | <openAction enabled="true" filePath=""/> | |||
|
384 | <parser enabled="true"/> | |||
|
385 | </buildOutputProvider> | |||
|
386 | <scannerInfoProvider id="specsFile"> | |||
|
387 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
388 | <parser enabled="true"/> | |||
|
389 | </scannerInfoProvider> | |||
|
390 | </profile> | |||
|
391 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile"> | |||
|
392 | <buildOutputProvider> | |||
|
393 | <openAction enabled="true" filePath=""/> | |||
|
394 | <parser enabled="true"/> | |||
|
395 | </buildOutputProvider> | |||
|
396 | <scannerInfoProvider id="specsFile"> | |||
|
397 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
398 | <parser enabled="true"/> | |||
|
399 | </scannerInfoProvider> | |||
|
400 | </profile> | |||
|
401 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"> | |||
|
402 | <buildOutputProvider> | |||
|
403 | <openAction enabled="true" filePath=""/> | |||
|
404 | <parser enabled="true"/> | |||
|
405 | </buildOutputProvider> | |||
|
406 | <scannerInfoProvider id="specsFile"> | |||
|
407 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
408 | <parser enabled="true"/> | |||
|
409 | </scannerInfoProvider> | |||
|
410 | </profile> | |||
|
411 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"> | |||
|
412 | <buildOutputProvider> | |||
|
413 | <openAction enabled="true" filePath=""/> | |||
|
414 | <parser enabled="true"/> | |||
|
415 | </buildOutputProvider> | |||
|
416 | <scannerInfoProvider id="specsFile"> | |||
|
417 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
418 | <parser enabled="true"/> | |||
|
419 | </scannerInfoProvider> | |||
|
420 | </profile> | |||
|
421 | <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.debug.1703483341;cdt.managedbuild.config.gnu.exe.debug.1703483341.;cdt.managedbuild.tool.gnu.c.compiler.exe.debug.839338223;cdt.managedbuild.tool.gnu.c.compiler.input.1294162153"> | |||
|
422 | <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/> | |||
|
423 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> | |||
|
424 | <buildOutputProvider> | |||
|
425 | <openAction enabled="true" filePath=""/> | |||
|
426 | <parser enabled="true"/> | |||
|
427 | </buildOutputProvider> | |||
|
428 | <scannerInfoProvider id="specsFile"> | |||
|
429 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
430 | <parser enabled="true"/> | |||
|
431 | </scannerInfoProvider> | |||
|
432 | </profile> | |||
|
433 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> | |||
|
434 | <buildOutputProvider> | |||
|
435 | <openAction enabled="true" filePath=""/> | |||
|
436 | <parser enabled="true"/> | |||
|
437 | </buildOutputProvider> | |||
|
438 | <scannerInfoProvider id="makefileGenerator"> | |||
|
439 | <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/> | |||
|
440 | <parser enabled="true"/> | |||
|
441 | </scannerInfoProvider> | |||
|
442 | </profile> | |||
|
443 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"> | |||
|
444 | <buildOutputProvider> | |||
|
445 | <openAction enabled="true" filePath=""/> | |||
|
446 | <parser enabled="true"/> | |||
|
447 | </buildOutputProvider> | |||
|
448 | <scannerInfoProvider id="specsFile"> | |||
|
449 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
450 | <parser enabled="true"/> | |||
|
451 | </scannerInfoProvider> | |||
|
452 | </profile> | |||
|
453 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"> | |||
|
454 | <buildOutputProvider> | |||
|
455 | <openAction enabled="true" filePath=""/> | |||
|
456 | <parser enabled="true"/> | |||
|
457 | </buildOutputProvider> | |||
|
458 | <scannerInfoProvider id="specsFile"> | |||
|
459 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
460 | <parser enabled="true"/> | |||
|
461 | </scannerInfoProvider> | |||
|
462 | </profile> | |||
|
463 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"> | |||
|
464 | <buildOutputProvider> | |||
|
465 | <openAction enabled="true" filePath=""/> | |||
|
466 | <parser enabled="true"/> | |||
|
467 | </buildOutputProvider> | |||
|
468 | <scannerInfoProvider id="specsFile"> | |||
|
469 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
470 | <parser enabled="true"/> | |||
|
471 | </scannerInfoProvider> | |||
|
472 | </profile> | |||
|
473 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile"> | |||
|
474 | <buildOutputProvider> | |||
|
475 | <openAction enabled="true" filePath=""/> | |||
|
476 | <parser enabled="true"/> | |||
|
477 | </buildOutputProvider> | |||
|
478 | <scannerInfoProvider id="specsFile"> | |||
|
479 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
480 | <parser enabled="true"/> | |||
|
481 | </scannerInfoProvider> | |||
|
482 | </profile> | |||
|
483 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"> | |||
|
484 | <buildOutputProvider> | |||
|
485 | <openAction enabled="true" filePath=""/> | |||
|
486 | <parser enabled="true"/> | |||
|
487 | </buildOutputProvider> | |||
|
488 | <scannerInfoProvider id="specsFile"> | |||
|
489 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
490 | <parser enabled="true"/> | |||
|
491 | </scannerInfoProvider> | |||
|
492 | </profile> | |||
|
493 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"> | |||
|
494 | <buildOutputProvider> | |||
|
495 | <openAction enabled="true" filePath=""/> | |||
|
496 | <parser enabled="true"/> | |||
|
497 | </buildOutputProvider> | |||
|
498 | <scannerInfoProvider id="specsFile"> | |||
|
499 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
500 | <parser enabled="true"/> | |||
|
501 | </scannerInfoProvider> | |||
|
502 | </profile> | |||
|
503 | </scannerConfigBuildInfo> | |||
|
504 | <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.395184417;cdt.managedbuild.config.gnu.exe.release.395184417.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.1056021130;cdt.managedbuild.tool.gnu.c.compiler.input.509163458"> | |||
|
505 | <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/> | |||
|
506 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> | |||
|
507 | <buildOutputProvider> | |||
|
508 | <openAction enabled="true" filePath=""/> | |||
|
509 | <parser enabled="true"/> | |||
|
510 | </buildOutputProvider> | |||
|
511 | <scannerInfoProvider id="specsFile"> | |||
|
512 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
513 | <parser enabled="true"/> | |||
|
514 | </scannerInfoProvider> | |||
|
515 | </profile> | |||
|
516 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> | |||
|
517 | <buildOutputProvider> | |||
|
518 | <openAction enabled="true" filePath=""/> | |||
|
519 | <parser enabled="true"/> | |||
|
520 | </buildOutputProvider> | |||
|
521 | <scannerInfoProvider id="makefileGenerator"> | |||
|
522 | <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/> | |||
|
523 | <parser enabled="true"/> | |||
|
524 | </scannerInfoProvider> | |||
|
525 | </profile> | |||
|
526 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"> | |||
|
527 | <buildOutputProvider> | |||
|
528 | <openAction enabled="true" filePath=""/> | |||
|
529 | <parser enabled="true"/> | |||
|
530 | </buildOutputProvider> | |||
|
531 | <scannerInfoProvider id="specsFile"> | |||
|
532 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
533 | <parser enabled="true"/> | |||
|
534 | </scannerInfoProvider> | |||
|
535 | </profile> | |||
|
536 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"> | |||
|
537 | <buildOutputProvider> | |||
|
538 | <openAction enabled="true" filePath=""/> | |||
|
539 | <parser enabled="true"/> | |||
|
540 | </buildOutputProvider> | |||
|
541 | <scannerInfoProvider id="specsFile"> | |||
|
542 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
543 | <parser enabled="true"/> | |||
|
544 | </scannerInfoProvider> | |||
|
545 | </profile> | |||
|
546 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"> | |||
|
547 | <buildOutputProvider> | |||
|
548 | <openAction enabled="true" filePath=""/> | |||
|
549 | <parser enabled="true"/> | |||
|
550 | </buildOutputProvider> | |||
|
551 | <scannerInfoProvider id="specsFile"> | |||
|
552 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
553 | <parser enabled="true"/> | |||
|
554 | </scannerInfoProvider> | |||
|
555 | </profile> | |||
|
556 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile"> | |||
|
557 | <buildOutputProvider> | |||
|
558 | <openAction enabled="true" filePath=""/> | |||
|
559 | <parser enabled="true"/> | |||
|
560 | </buildOutputProvider> | |||
|
561 | <scannerInfoProvider id="specsFile"> | |||
|
562 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
563 | <parser enabled="true"/> | |||
|
564 | </scannerInfoProvider> | |||
|
565 | </profile> | |||
|
566 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"> | |||
|
567 | <buildOutputProvider> | |||
|
568 | <openAction enabled="true" filePath=""/> | |||
|
569 | <parser enabled="true"/> | |||
|
570 | </buildOutputProvider> | |||
|
571 | <scannerInfoProvider id="specsFile"> | |||
|
572 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
573 | <parser enabled="true"/> | |||
|
574 | </scannerInfoProvider> | |||
|
575 | </profile> | |||
|
576 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"> | |||
|
577 | <buildOutputProvider> | |||
|
578 | <openAction enabled="true" filePath=""/> | |||
|
579 | <parser enabled="true"/> | |||
|
580 | </buildOutputProvider> | |||
|
581 | <scannerInfoProvider id="specsFile"> | |||
|
582 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
583 | <parser enabled="true"/> | |||
|
584 | </scannerInfoProvider> | |||
|
585 | </profile> | |||
|
586 | </scannerConfigBuildInfo> | |||
|
587 | </storageModule> | |||
|
588 | </cconfiguration> | |||
|
589 | </storageModule> | |||
|
590 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> | |||
|
591 | <project id="ABS_Client_v2.cdt.managedbuild.target.gnu.exe.642307523" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/> | |||
|
592 | </storageModule> | |||
|
593 | </cproject> |
@@ -0,0 +1,81 | |||||
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |||
|
2 | <projectDescription> | |||
|
3 | <name>ABS_Client_v2</name> | |||
|
4 | <comment></comment> | |||
|
5 | <projects> | |||
|
6 | </projects> | |||
|
7 | <buildSpec> | |||
|
8 | <buildCommand> | |||
|
9 | <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> | |||
|
10 | <triggers>clean,full,incremental,</triggers> | |||
|
11 | <arguments> | |||
|
12 | <dictionary> | |||
|
13 | <key>?name?</key> | |||
|
14 | <value></value> | |||
|
15 | </dictionary> | |||
|
16 | <dictionary> | |||
|
17 | <key>org.eclipse.cdt.make.core.append_environment</key> | |||
|
18 | <value>true</value> | |||
|
19 | </dictionary> | |||
|
20 | <dictionary> | |||
|
21 | <key>org.eclipse.cdt.make.core.autoBuildTarget</key> | |||
|
22 | <value>all</value> | |||
|
23 | </dictionary> | |||
|
24 | <dictionary> | |||
|
25 | <key>org.eclipse.cdt.make.core.buildArguments</key> | |||
|
26 | <value></value> | |||
|
27 | </dictionary> | |||
|
28 | <dictionary> | |||
|
29 | <key>org.eclipse.cdt.make.core.buildCommand</key> | |||
|
30 | <value>make</value> | |||
|
31 | </dictionary> | |||
|
32 | <dictionary> | |||
|
33 | <key>org.eclipse.cdt.make.core.buildLocation</key> | |||
|
34 | <value>${workspace_loc:/ABS_Client_v2/Debug}</value> | |||
|
35 | </dictionary> | |||
|
36 | <dictionary> | |||
|
37 | <key>org.eclipse.cdt.make.core.cleanBuildTarget</key> | |||
|
38 | <value>clean</value> | |||
|
39 | </dictionary> | |||
|
40 | <dictionary> | |||
|
41 | <key>org.eclipse.cdt.make.core.contents</key> | |||
|
42 | <value>org.eclipse.cdt.make.core.activeConfigSettings</value> | |||
|
43 | </dictionary> | |||
|
44 | <dictionary> | |||
|
45 | <key>org.eclipse.cdt.make.core.enableAutoBuild</key> | |||
|
46 | <value>false</value> | |||
|
47 | </dictionary> | |||
|
48 | <dictionary> | |||
|
49 | <key>org.eclipse.cdt.make.core.enableCleanBuild</key> | |||
|
50 | <value>true</value> | |||
|
51 | </dictionary> | |||
|
52 | <dictionary> | |||
|
53 | <key>org.eclipse.cdt.make.core.enableFullBuild</key> | |||
|
54 | <value>true</value> | |||
|
55 | </dictionary> | |||
|
56 | <dictionary> | |||
|
57 | <key>org.eclipse.cdt.make.core.fullBuildTarget</key> | |||
|
58 | <value>all</value> | |||
|
59 | </dictionary> | |||
|
60 | <dictionary> | |||
|
61 | <key>org.eclipse.cdt.make.core.stopOnError</key> | |||
|
62 | <value>true</value> | |||
|
63 | </dictionary> | |||
|
64 | <dictionary> | |||
|
65 | <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key> | |||
|
66 | <value>true</value> | |||
|
67 | </dictionary> | |||
|
68 | </arguments> | |||
|
69 | </buildCommand> | |||
|
70 | <buildCommand> | |||
|
71 | <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> | |||
|
72 | <arguments> | |||
|
73 | </arguments> | |||
|
74 | </buildCommand> | |||
|
75 | </buildSpec> | |||
|
76 | <natures> | |||
|
77 | <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> | |||
|
78 | <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> | |||
|
79 | <nature>org.eclipse.cdt.core.cnature</nature> | |||
|
80 | </natures> | |||
|
81 | </projectDescription> |
@@ -0,0 +1,283 | |||||
|
1 | /* | |||
|
2 | * ABS_Client.c | |||
|
3 | * | |||
|
4 | * Fecha de creacion : Set, 2012 | |||
|
5 | * Ultima modificacion : Oct 2012 | |||
|
6 | * Autor : Christiane Dietrich. | |||
|
7 | */ | |||
|
8 | //#include <python2.6/Python.h> | |||
|
9 | #include <python2.5/Python.h> | |||
|
10 | ||||
|
11 | #include <stdio.h> | |||
|
12 | #include <stdlib.h> | |||
|
13 | #include <string.h> | |||
|
14 | #include <unistd.h> | |||
|
15 | #include <errno.h> | |||
|
16 | #include <sys/types.h> | |||
|
17 | #include <sys/socket.h> | |||
|
18 | #include <netinet/in.h> | |||
|
19 | #include <arpa/inet.h> | |||
|
20 | #include <netdb.h> | |||
|
21 | ||||
|
22 | #include "./Librerias/Mensajes.h" | |||
|
23 | ||||
|
24 | #define PUERTO_SERVIDOR 7000 | |||
|
25 | //#define DIR_SERVIDOR "192.168.1.30" | |||
|
26 | ||||
|
27 | /* Servidor */ | |||
|
28 | #define TAM_BUFFER 10000 | |||
|
29 | /* Servidor */ | |||
|
30 | ||||
|
31 | ||||
|
32 | int ABS_Client(char *header, char *addrClient, char *addrServer ,char *opcion, char *valor_help){ | |||
|
33 | ||||
|
34 | int conexion_clienteFD; | |||
|
35 | struct sockaddr_in inf_servidor; | |||
|
36 | ||||
|
37 | int broadcast= 1; | |||
|
38 | int resultado; | |||
|
39 | int numbytes_enviados; | |||
|
40 | ||||
|
41 | long lSize=0; | |||
|
42 | size_t size_of_filecontent=0; | |||
|
43 | ||||
|
44 | char *head= NULL; | |||
|
45 | char *tx= NULL; | |||
|
46 | char *rx= NULL; | |||
|
47 | char *comando= NULL; | |||
|
48 | char *data= NULL; | |||
|
49 | char *helper= ":"; | |||
|
50 | char *tx_buff= NULL; | |||
|
51 | unsigned int indicator = 1; | |||
|
52 | ||||
|
53 | head = (char*) malloc (sizeof(char)*(strlen(header)+1)); | |||
|
54 | if (head == NULL) { | |||
|
55 | printf("Memory error"); | |||
|
56 | return -1; | |||
|
57 | } | |||
|
58 | strcpy (head, header); | |||
|
59 | ||||
|
60 | tx = (char*) malloc (sizeof(char)*(strlen(addrClient)+1)); | |||
|
61 | if (tx == NULL) { | |||
|
62 | printf("Memory error"); | |||
|
63 | return -1; | |||
|
64 | } | |||
|
65 | strcpy (tx, addrClient); | |||
|
66 | ||||
|
67 | rx = (char*) malloc (sizeof(char)*(strlen(addrServer)+1)); | |||
|
68 | if (rx == NULL) { | |||
|
69 | printf("Memory error"); | |||
|
70 | return -1; | |||
|
71 | } | |||
|
72 | strcpy (rx, addrServer); | |||
|
73 | ||||
|
74 | /* determine comand */ | |||
|
75 | if(strcmp(opcion,"-f") == 0){ | |||
|
76 | comando= "SNDF"; | |||
|
77 | FILE * file_to_send= NULL; | |||
|
78 | file_to_send = fopen(valor_help, "r"); | |||
|
79 | if (!file_to_send){ | |||
|
80 | printf("The file provided for the Control Modules couldn't be opened!!!\n"); | |||
|
81 | return -1; | |||
|
82 | } | |||
|
83 | else{ | |||
|
84 | // obtain file size: | |||
|
85 | fseek (file_to_send, 0 , SEEK_END); | |||
|
86 | lSize = ftell (file_to_send); | |||
|
87 | rewind (file_to_send); | |||
|
88 | ||||
|
89 | // allocate memory to contain the whole file: | |||
|
90 | data = (char*) malloc (sizeof(char)*(lSize+1)); | |||
|
91 | if (data == NULL) { | |||
|
92 | printf("Memory error"); | |||
|
93 | return -1; | |||
|
94 | } | |||
|
95 | ||||
|
96 | // copy the file into the data: | |||
|
97 | size_of_filecontent = fread (data,1,lSize,file_to_send); | |||
|
98 | ||||
|
99 | if (size_of_filecontent != lSize) { | |||
|
100 | printf ("Reading error"); | |||
|
101 | return -1; | |||
|
102 | } | |||
|
103 | ||||
|
104 | /* the whole file is now loaded in the memory data. */ | |||
|
105 | // terminate | |||
|
106 | fclose (file_to_send); | |||
|
107 | } | |||
|
108 | }else if (strcmp(opcion,"-c") == 0){ // Se reconoce el comando que se esta enviando | |||
|
109 | comando= "CHGB"; | |||
|
110 | data = (char*) malloc (sizeof(char)*(strlen(valor_help)+1)); | |||
|
111 | //data = (char *) malloc(strlen(valor)+1); | |||
|
112 | if (data == NULL) { | |||
|
113 | printf("Memory error"); | |||
|
114 | return -1; | |||
|
115 | } | |||
|
116 | strcpy (data, valor_help); | |||
|
117 | }else if(strcmp(opcion,"-a") == 0){ | |||
|
118 | comando= "ANST"; | |||
|
119 | data = (char*) malloc (sizeof(char)*(strlen(valor_help)+1)); | |||
|
120 | //data = (char *) malloc(strlen(valor)+1); | |||
|
121 | if (data == NULL) { | |||
|
122 | printf("Memory error"); | |||
|
123 | return -1; | |||
|
124 | } | |||
|
125 | strcpy (data, valor_help); | |||
|
126 | }else { | |||
|
127 | ERROR("OPCION INCORRECTA: {-c|-a|-f}"); | |||
|
128 | return -1; | |||
|
129 | } | |||
|
130 | ||||
|
131 | //complete tx frame | |||
|
132 | tx_buff= (char *) malloc(strlen(head)+1+strlen(tx)+1+strlen(rx)+1+strlen(comando)+1+strlen(data)+1); | |||
|
133 | // Se arma el buffer a ser enviado. | |||
|
134 | strcpy(tx_buff,head); | |||
|
135 | strcat(tx_buff,helper); | |||
|
136 | strcat(tx_buff,tx); | |||
|
137 | strcat(tx_buff,helper); | |||
|
138 | strcat(tx_buff,rx); | |||
|
139 | strcat(tx_buff,helper); | |||
|
140 | strcat(tx_buff,comando); | |||
|
141 | strcat(tx_buff,helper); | |||
|
142 | strcat(tx_buff,data); | |||
|
143 | strcat(tx_buff,helper); | |||
|
144 | ||||
|
145 | ||||
|
146 | /* Se establece el socket UDP */ | |||
|
147 | conexion_clienteFD= socket(AF_INET,SOCK_DGRAM,0); | |||
|
148 | if (conexion_clienteFD == -1){ | |||
|
149 | ERROR("No se pudo establecer el socket: socket()"); | |||
|
150 | return -1; | |||
|
151 | } | |||
|
152 | ||||
|
153 | /* Se establece el Broadcast con la funcion setsockpt() */ | |||
|
154 | resultado= setsockopt(conexion_clienteFD, SOL_SOCKET, SO_BROADCAST, &broadcast, sizeof(broadcast)); | |||
|
155 | if (resultado == -1){ | |||
|
156 | ERROR("No se pudo establecer la opcion de Broadcast: setsockopt()"); | |||
|
157 | return -1; | |||
|
158 | } | |||
|
159 | ||||
|
160 | /* Se configura la estructura que contiene la informacion sobre el servidor: inf_servidor */ | |||
|
161 | inf_servidor.sin_family= AF_INET; | |||
|
162 | inf_servidor.sin_port= htons(PUERTO_SERVIDOR); | |||
|
163 | inf_servidor.sin_addr.s_addr= inet_addr(addrServer); | |||
|
164 | memset(inf_servidor.sin_zero, '\0', sizeof(inf_servidor.sin_zero)); | |||
|
165 | ||||
|
166 | /* Se procede a enviar el buffer */ | |||
|
167 | numbytes_enviados= sendto(conexion_clienteFD,tx_buff,strlen(tx_buff),0,(struct sockaddr *)&inf_servidor,sizeof(inf_servidor)); | |||
|
168 | ||||
|
169 | printf ("Frame was sent to Central Control Module with %s IP number\n",addrServer); | |||
|
170 | ||||
|
171 | if(numbytes_enviados == -1){ | |||
|
172 | ERROR("Error de envio de datos: sendto()"); | |||
|
173 | return -1; | |||
|
174 | } | |||
|
175 | ||||
|
176 | ||||
|
177 | free (head); | |||
|
178 | free (tx); | |||
|
179 | free (rx); | |||
|
180 | free (data); | |||
|
181 | free(tx_buff); | |||
|
182 | close(conexion_clienteFD); | |||
|
183 | ///* | |||
|
184 | // servidor | |||
|
185 | int conexion_servidorFd; | |||
|
186 | struct sockaddr_in inf_servidor2; | |||
|
187 | struct sockaddr_storage inf_cliente; | |||
|
188 | int resultado2; | |||
|
189 | int numbytes_recibidos; | |||
|
190 | ||||
|
191 | char *headR; | |||
|
192 | char *txR; | |||
|
193 | char *rxR; | |||
|
194 | char *comandoR; | |||
|
195 | char *valorR; | |||
|
196 | FILE *file_to_wr; | |||
|
197 | char *rx_buff = (char *) malloc(TAM_BUFFER); | |||
|
198 | ||||
|
199 | // size_t addr_len; | |||
|
200 | socklen_t addr_len; | |||
|
201 | ||||
|
202 | memset(&inf_servidor2, 0, sizeof(inf_servidor2)); | |||
|
203 | inf_servidor2.sin_family= AF_INET; | |||
|
204 | inf_servidor2.sin_port= htons(PUERTO_SERVIDOR); | |||
|
205 | inf_servidor2.sin_addr.s_addr= INADDR_ANY; | |||
|
206 | ||||
|
207 | // Se establece el socket | |||
|
208 | conexion_servidorFd = socket(AF_INET,SOCK_DGRAM,0); | |||
|
209 | if (conexion_servidorFd == -1){ | |||
|
210 | ERROR_FATAL("No se establecio correctamente el socket: socket() point1"); | |||
|
211 | } | |||
|
212 | ||||
|
213 | // Se asocia el socket a un puerto y una IP | |||
|
214 | resultado2 = bind(conexion_servidorFd,(struct sockaddr *)&inf_servidor2,sizeof(inf_servidor2)); | |||
|
215 | if (resultado2== -1){ | |||
|
216 | ERROR_FATAL("No se establecio correctamente el socket: bind() point2"); | |||
|
217 | } | |||
|
218 | ||||
|
219 | while(indicator == 1){ | |||
|
220 | LOG_SERVIDOR("Waiting for the client...\n"); | |||
|
221 | ||||
|
222 | // Se espera hasta que un cliente se conecte | |||
|
223 | addr_len = sizeof(inf_cliente); | |||
|
224 | numbytes_recibidos = recvfrom(conexion_servidorFd, rx_buff, TAM_BUFFER-1, 0, (struct sockaddr *)&inf_cliente, &addr_len); | |||
|
225 | ||||
|
226 | if (numbytes_recibidos == -1){ | |||
|
227 | ERROR_FATAL("Error en la recepcion de datos: recvfrom()"); | |||
|
228 | } | |||
|
229 | ||||
|
230 | // Se procede a procesar los datos recibidos | |||
|
231 | rx_buff[numbytes_recibidos]= '\0'; | |||
|
232 | ||||
|
233 | // create a response-file | |||
|
234 | headR = strtok(rx_buff, ":"); | |||
|
235 | txR = strtok(NULL, ":"); | |||
|
236 | rxR = strtok(NULL, ":"); | |||
|
237 | comandoR = strtok(NULL, ":"); | |||
|
238 | valorR = strtok(NULL, ":"); | |||
|
239 | ||||
|
240 | ||||
|
241 | if ((headR == NULL) || (txR == NULL) || (rxR == NULL) || (comandoR == NULL) || (valorR == NULL)){ | |||
|
242 | ERROR("procesarPeticionClient: formato de mensaje incorrecto"); | |||
|
243 | }else{ | |||
|
244 | ||||
|
245 | if(strcmp(comandoR,"SNDF") == 0){ | |||
|
246 | file_to_wr = fopen("report.abs", "w+"); | |||
|
247 | if (!file_to_wr){ | |||
|
248 | printf("The file, in which the received data should be written, couldn't be opened!!!\n"); | |||
|
249 | }else{ | |||
|
250 | fprintf(file_to_wr, "%s", valorR); | |||
|
251 | } | |||
|
252 | fclose(file_to_wr); | |||
|
253 | printf("File content was successfully written in\"report.abs\"\n"); | |||
|
254 | }else if(strcmp(comandoR,"CHGB") == 0){ | |||
|
255 | file_to_wr = fopen("report.ver", "w+"); | |||
|
256 | if (!file_to_wr){ | |||
|
257 | printf("The file, in which the received data should be written, couldn't be opened!!!\n"); | |||
|
258 | }else{ | |||
|
259 | fprintf(file_to_wr, "%s", valorR); | |||
|
260 | } | |||
|
261 | fclose(file_to_wr); | |||
|
262 | printf("File content was successfully written in \"report.ver\"\n"); | |||
|
263 | }else if(strcmp(comandoR,"ANST") == 0){ | |||
|
264 | file_to_wr = fopen("report.net", "w+"); | |||
|
265 | if (!file_to_wr){ | |||
|
266 | printf("The file, in which the received data should be written, couldn't be opened!!!\n"); | |||
|
267 | }else{ | |||
|
268 | fprintf(file_to_wr, "%s", valorR); | |||
|
269 | } | |||
|
270 | fclose(file_to_wr); | |||
|
271 | printf("File content was successfully written in \"report.net\"\n"); | |||
|
272 | }else{ | |||
|
273 | ERROR("procesa_peticion_client: respuesta no reconocido"); | |||
|
274 | } | |||
|
275 | } | |||
|
276 | indicator = 0; | |||
|
277 | // servidor | |||
|
278 | } | |||
|
279 | free (rx_buff); | |||
|
280 | //*/ | |||
|
281 | return 0; | |||
|
282 | } | |||
|
283 |
@@ -0,0 +1,27 | |||||
|
1 | /* | |||
|
2 | * ABS_Client_Test.c | |||
|
3 | * | |||
|
4 | * Created on: Set, 2012 | |||
|
5 | * Author: Christiane Dietrich. | |||
|
6 | */ | |||
|
7 | #include <stdio.h> | |||
|
8 | #include <stdlib.h> | |||
|
9 | ||||
|
10 | #include <string.h> | |||
|
11 | #include <unistd.h> | |||
|
12 | ||||
|
13 | #include "./Librerias/Mensajes.h" | |||
|
14 | #include "./Librerias/Funciones_ControlER.h" | |||
|
15 | ||||
|
16 | int main(int argc, char *argv[]){ | |||
|
17 | ||||
|
18 | char *header = argv[1]; | |||
|
19 | char *tx = argv[2]; | |||
|
20 | char *rx = argv[3]; | |||
|
21 | char *cmd = argv[4]; | |||
|
22 | char *val = argv[5]; | |||
|
23 | ||||
|
24 | ABS_Client(header, tx, rx, cmd, val); | |||
|
25 | ||||
|
26 | return 0; | |||
|
27 | } |
@@ -0,0 +1,13 | |||||
|
1 | /* | |||
|
2 | * Funciones_ControlERs.h | |||
|
3 | * | |||
|
4 | * Created on: Jan 14, 2010 | |||
|
5 | * Author: redes | |||
|
6 | */ | |||
|
7 | ||||
|
8 | #ifndef FUNCIONES_CONTROLERS_H_ | |||
|
9 | #define FUNCIONES_CONTROLERS_H_ | |||
|
10 | ||||
|
11 | int ABS_Client(char *header, char *addrClient, char *addrServer ,char *opcion, char *valor_help); | |||
|
12 | ||||
|
13 | #endif /* FUNCIONES_CONTROLERS_H_ */ |
@@ -0,0 +1,17 | |||||
|
1 | /* | |||
|
2 | * Mensajes.h | |||
|
3 | * | |||
|
4 | * Created on: Nov 12, 2009 | |||
|
5 | * Author: redes | |||
|
6 | */ | |||
|
7 | ||||
|
8 | #ifndef MENSAJES_H_ | |||
|
9 | #define MENSAJES_H_ | |||
|
10 | ||||
|
11 | void LOG_SERVIDOR(char *mensaje); | |||
|
12 | void LOG_CLIENTE(char *mensaje); | |||
|
13 | void ERROR_FATAL(char *mensaje); | |||
|
14 | void ERROR(char *mensaje); | |||
|
15 | ||||
|
16 | ||||
|
17 | #endif /* MENSAJES_H_ */ |
@@ -0,0 +1,39 | |||||
|
1 | /* | |||
|
2 | * Mensajes.c | |||
|
3 | * | |||
|
4 | * Created on: Nov 12, 2009 | |||
|
5 | * Author: Jose Francisco Quenta | |||
|
6 | */ | |||
|
7 | ||||
|
8 | #include <stdio.h> | |||
|
9 | #include <stdlib.h> | |||
|
10 | ||||
|
11 | /* | |||
|
12 | * Imprime mensajes del servidor | |||
|
13 | */ | |||
|
14 | void LOG_SERVIDOR(char *mensaje){ | |||
|
15 | printf("SERVER MODE: %s\n",mensaje); | |||
|
16 | } | |||
|
17 | ||||
|
18 | /* | |||
|
19 | * Imprime mensajes del cliente | |||
|
20 | */ | |||
|
21 | void LOG_CLIENTE(char *mensaje){ | |||
|
22 | printf("CLIENTE: %s\n",mensaje); | |||
|
23 | } | |||
|
24 | ||||
|
25 | /* | |||
|
26 | * Error no fatal, permite la continuación del programa | |||
|
27 | */ | |||
|
28 | void ERROR(char *mensaje){ | |||
|
29 | fprintf(stderr, "ERROR. %s\n", mensaje); | |||
|
30 | } | |||
|
31 | ||||
|
32 | /* | |||
|
33 | * Error fatal, aborta la ejecución del programa con código de salida de error | |||
|
34 | */ | |||
|
35 | void ERROR_FATAL(char *mensaje){ | |||
|
36 | fprintf(stderr, "ERROR FATAL. %s\n", mensaje); | |||
|
37 | exit(EXIT_FAILURE); | |||
|
38 | } | |||
|
39 |
@@ -0,0 +1,15 | |||||
|
1 | experimento.abs | |||
|
2 | ------ | |||
|
3 | 000000 | |||
|
4 | 001001 | |||
|
5 | 010010 | |||
|
6 | 011011 | |||
|
7 | 100100 | |||
|
8 | 101101 | |||
|
9 | 110110 | |||
|
10 | 111111 | |||
|
11 | 000000 | |||
|
12 | 001001 | |||
|
13 | 010010 | |||
|
14 | 011011 | |||
|
15 | ------ |
@@ -0,0 +1,231 | |||||
|
1 | title ='MST-ISR 2009 (NS-Up)' | |||
|
2 | ||||
|
3 | #Experiments = 12 | |||
|
4 | ||||
|
5 | 1 = | |||
|
6 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
7 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
8 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
9 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
10 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
11 | [0.5,0.5,0.5,1.0,1.0,1.0,1.0,1.0],$ | |||
|
12 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
13 | [0.5,0.5,0.5,0.5,1.0,1.0,1.0,1.0]] | |||
|
14 | ||||
|
15 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
16 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
17 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
18 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
19 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
20 | [0.5,0.5,0.5,1.0,1.0,1.0,1.0,1.0],$ | |||
|
21 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
22 | [0.5,0.5,0.5,0.5,1.0,1.0,1.0,1.0]] | |||
|
23 | ||||
|
24 | 2 = | |||
|
25 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
26 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
27 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
28 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
29 | [1.0,1.0,1.0,1.0,2.0,2.0,2.0,2.0],$ | |||
|
30 | [0.5,0.5,0.5,1.0,2.0,2.0,2.0,2.0],$ | |||
|
31 | [1.0,1.0,1.0,1.0,2.0,2.0,2.0,2.0],$ | |||
|
32 | [0.5,0.5,0.5,0.5,2.0,2.0,2.0,2.0]] | |||
|
33 | ||||
|
34 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
35 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
36 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
37 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
38 | [1.0,1.0,1.0,1.0,2.0,2.0,2.0,2.0],$ | |||
|
39 | [0.5,0.5,0.5,1.0,2.0,2.0,2.0,2.0],$ | |||
|
40 | [1.0,1.0,1.0,1.0,2.0,2.0,2.0,2.0],$ | |||
|
41 | [0.5,0.5,0.5,0.5,2.0,2.0,2.0,2.0]] | |||
|
42 | ||||
|
43 | 3 = | |||
|
44 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
45 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
46 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
47 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
48 | [1.0,1.0,1.0,1.0,3.0,3.0,3.0,3.0],$ | |||
|
49 | [0.5,0.5,0.5,1.0,3.0,3.0,3.0,3.0],$ | |||
|
50 | [1.0,1.0,1.0,1.0,3.0,3.0,3.0,3.0],$ | |||
|
51 | [0.5,0.5,0.5,0.5,3.0,3.0,3.0,3.0]] | |||
|
52 | ||||
|
53 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
54 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
55 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
56 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
57 | [1.0,1.0,1.0,1.0,3.0,3.0,3.0,3.0],$ | |||
|
58 | [0.5,0.5,0.5,1.0,3.0,3.0,3.0,3.0],$ | |||
|
59 | [1.0,1.0,1.0,1.0,3.0,3.0,3.0,3.0],$ | |||
|
60 | [0.5,0.5,0.5,0.5,3.0,3.0,3.0,3.0]] | |||
|
61 | ||||
|
62 | 4 = | |||
|
63 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
64 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
65 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
66 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
67 | [1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0],$ | |||
|
68 | [0.5,0.5,0.5,1.0,0.0,0.0,0.0,0.0],$ | |||
|
69 | [1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0],$ | |||
|
70 | [0.5,0.5,0.5,0.5,0.0,0.0,0.0,0.0]] | |||
|
71 | ||||
|
72 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
73 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
74 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
75 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
76 | [1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0],$ | |||
|
77 | [0.5,0.5,0.5,1.0,0.0,0.0,0.0,0.0],$ | |||
|
78 | [1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0],$ | |||
|
79 | [0.5,0.5,0.5,0.5,0.0,0.0,0.0,0.0]] | |||
|
80 | ||||
|
81 | 5 = | |||
|
82 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
83 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
84 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
85 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
86 | [1.0,1.0,1.0,1.0,0.5,0.5,0.5,0.5],$ | |||
|
87 | [0.5,0.5,0.5,1.0,0.5,0.5,0.5,0.5],$ | |||
|
88 | [1.0,1.0,1.0,1.0,0.5,0.5,0.5,0.5],$ | |||
|
89 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]] | |||
|
90 | ||||
|
91 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
92 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
93 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
94 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
95 | [1.0,1.0,1.0,1.0,0.5,0.5,0.5,0.5],$ | |||
|
96 | [0.5,0.5,0.5,1.0,0.5,0.5,0.5,0.5],$ | |||
|
97 | [1.0,1.0,1.0,1.0,0.5,0.5,0.5,0.5],$ | |||
|
98 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5]] | |||
|
99 | ||||
|
100 | 6= | |||
|
101 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
102 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
103 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
104 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
105 | [1.0,1.0,1.0,1.0,1.5,1.5,1.5,1.5],$ | |||
|
106 | [0.5,0.5,0.5,1.0,1.5,1.5,1.5,1.5],$ | |||
|
107 | [1.0,1.0,1.0,1.0,1.5,1.5,1.5,1.5],$ | |||
|
108 | [0.5,0.5,0.5,0.5,1.5,1.5,1.5,1.5]] | |||
|
109 | ||||
|
110 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
111 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
112 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
113 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
114 | [1.0,1.0,1.0,1.0,1.5,1.5,1.5,1.5],$ | |||
|
115 | [0.5,0.5,0.5,1.0,1.5,1.5,1.5,1.5],$ | |||
|
116 | [1.0,1.0,1.0,1.0,1.5,1.5,1.5,1.5],$ | |||
|
117 | [0.5,0.5,0.5,0.5,1.5,1.5,1.5,1.5]] | |||
|
118 | ||||
|
119 | 7 = | |||
|
120 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
121 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
122 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
123 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
124 | [1.0,1.0,1.0,1.0,2.5,2.5,2.5,2.5],$ | |||
|
125 | [0.5,0.5,0.5,1.0,2.5,2.5,2.5,2.5],$ | |||
|
126 | [1.0,1.0,1.0,1.0,2.5,2.5,2.5,2.5],$ | |||
|
127 | [0.5,0.5,0.5,0.5,2.5,2.5,2.5,2.5]] | |||
|
128 | ||||
|
129 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
130 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
131 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
132 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
133 | [1.0,1.0,1.0,1.0,2.5,2.5,2.5,2.5],$ | |||
|
134 | [0.5,0.5,0.5,1.0,2.5,2.5,2.5,2.5],$ | |||
|
135 | [1.0,1.0,1.0,1.0,2.5,2.5,2.5,2.5],$ | |||
|
136 | [0.5,0.5,0.5,0.5,2.5,2.5,2.5,2.5]] | |||
|
137 | 8 = | |||
|
No newline at end of file | ||||
|
138 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
139 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
140 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
141 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
142 | [1.0,1.0,1.0,1.0,3.5,3.5,3.5,3.5],$ | |||
|
143 | [0.5,0.5,0.5,1.0,3.5,3.5,3.5,3.5],$ | |||
|
144 | [1.0,1.0,1.0,1.0,3.5,3.5,3.5,3.5],$ | |||
|
145 | [0.5,0.5,0.5,0.5,3.5,3.5,3.5,3.5]] | |||
|
146 | ||||
|
147 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
148 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
149 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
150 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
151 | [1.0,1.0,1.0,1.0,3.5,3.5,3.5,3.5],$ | |||
|
152 | [0.5,0.5,0.5,1.0,3.5,3.5,3.5,3.5],$ | |||
|
153 | [1.0,1.0,1.0,1.0,3.5,3.5,3.5,3.5],$ | |||
|
154 | [0.5,0.5,0.5,0.5,3.5,3.5,3.5,3.5]] | |||
|
155 | ||||
|
156 | 9 = | |||
|
157 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
158 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
159 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
160 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
161 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
162 | [0.5,0.5,0.5,1.0,1.0,1.0,1.0,1.0],$ | |||
|
163 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
164 | [0.5,0.5,0.5,0.5,1.0,1.0,1.0,1.0]] | |||
|
165 | ||||
|
166 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
167 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
168 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
169 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
170 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
171 | [0.5,0.5,0.5,1.0,1.0,1.0,1.0,1.0],$ | |||
|
172 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
173 | [0.5,0.5,0.5,0.5,1.0,1.0,1.0,1.0]] | |||
|
174 | ||||
|
175 | 10 = | |||
|
176 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
177 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
178 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
179 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
180 | [1.0,1.0,1.0,1.0,2.0,2.0,2.0,2.0],$ | |||
|
181 | [0.5,0.5,0.5,1.0,2.0,2.0,2.0,2.0],$ | |||
|
182 | [1.0,1.0,1.0,1.0,2.0,2.0,2.0,2.0],$ | |||
|
183 | [0.5,0.5,0.5,0.5,2.0,2.0,2.0,2.0]] | |||
|
184 | ||||
|
185 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
186 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
187 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
188 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
189 | [1.0,1.0,1.0,1.0,2.0,2.0,2.0,2.0],$ | |||
|
190 | [0.5,0.5,0.5,1.0,2.0,2.0,2.0,2.0],$ | |||
|
191 | [1.0,1.0,1.0,1.0,2.0,2.0,2.0,2.0],$ | |||
|
192 | [0.5,0.5,0.5,0.5,2.0,2.0,2.0,2.0]] | |||
|
193 | ||||
|
194 | 11 = | |||
|
195 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
196 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
197 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
198 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
199 | [1.0,1.0,1.0,1.0,3.0,3.0,3.0,3.0],$ | |||
|
200 | [0.5,0.5,0.5,1.0,3.0,3.0,3.0,3.0],$ | |||
|
201 | [1.0,1.0,1.0,1.0,3.0,3.0,3.0,3.0],$ | |||
|
202 | [0.5,0.5,0.5,0.5,3.0,3.0,3.0,3.0]] | |||
|
203 | ||||
|
204 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
205 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
206 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
207 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
208 | [1.0,1.0,1.0,1.0,3.0,3.0,3.0,3.0],$ | |||
|
209 | [0.5,0.5,0.5,1.0,3.0,3.0,3.0,3.0],$ | |||
|
210 | [1.0,1.0,1.0,1.0,3.0,3.0,3.0,3.0],$ | |||
|
211 | [0.5,0.5,0.5,0.5,3.0,3.0,3.0,3.0]] | |||
|
212 | ||||
|
213 | 12 = | |||
|
214 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
215 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
216 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
217 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
218 | [1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0],$ | |||
|
219 | [0.5,0.5,0.5,1.0,0.0,0.0,0.0,0.0],$ | |||
|
220 | [1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0],$ | |||
|
221 | [0.5,0.5,0.5,0.5,0.0,0.0,0.0,0.0]] | |||
|
222 | ||||
|
223 | [[0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
224 | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],$ | |||
|
225 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
226 | [0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5],$ | |||
|
227 | [1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0],$ | |||
|
228 | [0.5,0.5,0.5,1.0,0.0,0.0,0.0,0.0],$ | |||
|
229 | [1.0,1.0,1.0,1.0,0.0,0.0,0.0,0.0],$ | |||
|
230 | [0.5,0.5,0.5,0.5,0.0,0.0,0.0,0.0]] | |||
|
231 |
@@ -0,0 +1,219 | |||||
|
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |||
|
2 | <?fileVersion 4.0.0?> | |||
|
3 | ||||
|
4 | <cproject> | |||
|
5 | <storageModule moduleId="org.eclipse.cdt.core.settings"> | |||
|
6 | <cconfiguration id="cdt.managedbuild.config.gnu.exe.release.967225482"> | |||
|
7 | <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.exe.release.967225482" moduleId="org.eclipse.cdt.core.settings" name="Release"> | |||
|
8 | <externalSettings/> | |||
|
9 | <extensions> | |||
|
10 | <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> | |||
|
11 | <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
12 | <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
13 | <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
14 | <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | |||
|
15 | </extensions> | |||
|
16 | </storageModule> | |||
|
17 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> | |||
|
18 | <configuration artifactName="Control_Module_Test" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.exe.release.967225482" name="Release" parent="cdt.managedbuild.config.gnu.exe.release"> | |||
|
19 | <folderInfo id="cdt.managedbuild.config.gnu.exe.release.967225482." name="/" resourcePath=""> | |||
|
20 | <toolChain id="cdt.managedbuild.toolchain.gnu.exe.release.1704877847" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.exe.release"> | |||
|
21 | <targetPlatform id="cdt.managedbuild.target.gnu.platform.exe.release.136927403" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.exe.release"/> | |||
|
22 | <builder buildPath="${workspace_loc:/Control_Module_Test/Release}" id="cdt.managedbuild.target.gnu.builder.exe.release.1213459204" managedBuildOn="true" name="Gnu Make Builder.Release" superClass="cdt.managedbuild.target.gnu.builder.exe.release"/> | |||
|
23 | <tool id="cdt.managedbuild.tool.gnu.archiver.base.714912864" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/> | |||
|
24 | <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.60046747" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release"> | |||
|
25 | <option id="gnu.cpp.compiler.exe.release.option.optimization.level.1613576554" superClass="gnu.cpp.compiler.exe.release.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/> | |||
|
26 | <option id="gnu.cpp.compiler.exe.release.option.debugging.level.671664230" superClass="gnu.cpp.compiler.exe.release.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/> | |||
|
27 | </tool> | |||
|
28 | <tool id="cdt.managedbuild.tool.gnu.c.compiler.exe.release.1261706953" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.exe.release"> | |||
|
29 | <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.exe.release.option.optimization.level.1418007451" superClass="gnu.c.compiler.exe.release.option.optimization.level" valueType="enumerated"/> | |||
|
30 | <option id="gnu.c.compiler.exe.release.option.debugging.level.1736576157" superClass="gnu.c.compiler.exe.release.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/> | |||
|
31 | <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.39907267" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> | |||
|
32 | </tool> | |||
|
33 | <tool id="cdt.managedbuild.tool.gnu.c.linker.exe.release.1836769995" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.exe.release"> | |||
|
34 | <inputType id="cdt.managedbuild.tool.gnu.c.linker.input.1152282245" superClass="cdt.managedbuild.tool.gnu.c.linker.input"> | |||
|
35 | <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> | |||
|
36 | <additionalInput kind="additionalinput" paths="$(LIBS)"/> | |||
|
37 | </inputType> | |||
|
38 | </tool> | |||
|
39 | <tool id="cdt.managedbuild.tool.gnu.cpp.linker.exe.release.1991972445" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.exe.release"/> | |||
|
40 | <tool id="cdt.managedbuild.tool.gnu.assembler.exe.release.1322086822" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.exe.release"> | |||
|
41 | <inputType id="cdt.managedbuild.tool.gnu.assembler.input.913298525" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> | |||
|
42 | </tool> | |||
|
43 | </toolChain> | |||
|
44 | </folderInfo> | |||
|
45 | </configuration> | |||
|
46 | </storageModule> | |||
|
47 | <storageModule moduleId="scannerConfiguration"> | |||
|
48 | <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/> | |||
|
49 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> | |||
|
50 | <buildOutputProvider> | |||
|
51 | <openAction enabled="true" filePath=""/> | |||
|
52 | <parser enabled="true"/> | |||
|
53 | </buildOutputProvider> | |||
|
54 | <scannerInfoProvider id="specsFile"> | |||
|
55 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
56 | <parser enabled="true"/> | |||
|
57 | </scannerInfoProvider> | |||
|
58 | </profile> | |||
|
59 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> | |||
|
60 | <buildOutputProvider> | |||
|
61 | <openAction enabled="true" filePath=""/> | |||
|
62 | <parser enabled="true"/> | |||
|
63 | </buildOutputProvider> | |||
|
64 | <scannerInfoProvider id="makefileGenerator"> | |||
|
65 | <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/> | |||
|
66 | <parser enabled="true"/> | |||
|
67 | </scannerInfoProvider> | |||
|
68 | </profile> | |||
|
69 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"> | |||
|
70 | <buildOutputProvider> | |||
|
71 | <openAction enabled="true" filePath=""/> | |||
|
72 | <parser enabled="true"/> | |||
|
73 | </buildOutputProvider> | |||
|
74 | <scannerInfoProvider id="specsFile"> | |||
|
75 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
76 | <parser enabled="true"/> | |||
|
77 | </scannerInfoProvider> | |||
|
78 | </profile> | |||
|
79 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"> | |||
|
80 | <buildOutputProvider> | |||
|
81 | <openAction enabled="true" filePath=""/> | |||
|
82 | <parser enabled="true"/> | |||
|
83 | </buildOutputProvider> | |||
|
84 | <scannerInfoProvider id="specsFile"> | |||
|
85 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
86 | <parser enabled="true"/> | |||
|
87 | </scannerInfoProvider> | |||
|
88 | </profile> | |||
|
89 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"> | |||
|
90 | <buildOutputProvider> | |||
|
91 | <openAction enabled="true" filePath=""/> | |||
|
92 | <parser enabled="true"/> | |||
|
93 | </buildOutputProvider> | |||
|
94 | <scannerInfoProvider id="specsFile"> | |||
|
95 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
96 | <parser enabled="true"/> | |||
|
97 | </scannerInfoProvider> | |||
|
98 | </profile> | |||
|
99 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile"> | |||
|
100 | <buildOutputProvider> | |||
|
101 | <openAction enabled="true" filePath=""/> | |||
|
102 | <parser enabled="true"/> | |||
|
103 | </buildOutputProvider> | |||
|
104 | <scannerInfoProvider id="specsFile"> | |||
|
105 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
106 | <parser enabled="true"/> | |||
|
107 | </scannerInfoProvider> | |||
|
108 | </profile> | |||
|
109 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"> | |||
|
110 | <buildOutputProvider> | |||
|
111 | <openAction enabled="true" filePath=""/> | |||
|
112 | <parser enabled="true"/> | |||
|
113 | </buildOutputProvider> | |||
|
114 | <scannerInfoProvider id="specsFile"> | |||
|
115 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
116 | <parser enabled="true"/> | |||
|
117 | </scannerInfoProvider> | |||
|
118 | </profile> | |||
|
119 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"> | |||
|
120 | <buildOutputProvider> | |||
|
121 | <openAction enabled="true" filePath=""/> | |||
|
122 | <parser enabled="true"/> | |||
|
123 | </buildOutputProvider> | |||
|
124 | <scannerInfoProvider id="specsFile"> | |||
|
125 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
126 | <parser enabled="true"/> | |||
|
127 | </scannerInfoProvider> | |||
|
128 | </profile> | |||
|
129 | <scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.exe.release.967225482;cdt.managedbuild.config.gnu.exe.release.967225482.;cdt.managedbuild.tool.gnu.c.compiler.exe.release.1261706953;cdt.managedbuild.tool.gnu.c.compiler.input.39907267"> | |||
|
130 | <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/> | |||
|
131 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"> | |||
|
132 | <buildOutputProvider> | |||
|
133 | <openAction enabled="true" filePath=""/> | |||
|
134 | <parser enabled="true"/> | |||
|
135 | </buildOutputProvider> | |||
|
136 | <scannerInfoProvider id="specsFile"> | |||
|
137 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
138 | <parser enabled="true"/> | |||
|
139 | </scannerInfoProvider> | |||
|
140 | </profile> | |||
|
141 | <profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile"> | |||
|
142 | <buildOutputProvider> | |||
|
143 | <openAction enabled="true" filePath=""/> | |||
|
144 | <parser enabled="true"/> | |||
|
145 | </buildOutputProvider> | |||
|
146 | <scannerInfoProvider id="makefileGenerator"> | |||
|
147 | <runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/> | |||
|
148 | <parser enabled="true"/> | |||
|
149 | </scannerInfoProvider> | |||
|
150 | </profile> | |||
|
151 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile"> | |||
|
152 | <buildOutputProvider> | |||
|
153 | <openAction enabled="true" filePath=""/> | |||
|
154 | <parser enabled="true"/> | |||
|
155 | </buildOutputProvider> | |||
|
156 | <scannerInfoProvider id="specsFile"> | |||
|
157 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
158 | <parser enabled="true"/> | |||
|
159 | </scannerInfoProvider> | |||
|
160 | </profile> | |||
|
161 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"> | |||
|
162 | <buildOutputProvider> | |||
|
163 | <openAction enabled="true" filePath=""/> | |||
|
164 | <parser enabled="true"/> | |||
|
165 | </buildOutputProvider> | |||
|
166 | <scannerInfoProvider id="specsFile"> | |||
|
167 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
168 | <parser enabled="true"/> | |||
|
169 | </scannerInfoProvider> | |||
|
170 | </profile> | |||
|
171 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"> | |||
|
172 | <buildOutputProvider> | |||
|
173 | <openAction enabled="true" filePath=""/> | |||
|
174 | <parser enabled="true"/> | |||
|
175 | </buildOutputProvider> | |||
|
176 | <scannerInfoProvider id="specsFile"> | |||
|
177 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
178 | <parser enabled="true"/> | |||
|
179 | </scannerInfoProvider> | |||
|
180 | </profile> | |||
|
181 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile"> | |||
|
182 | <buildOutputProvider> | |||
|
183 | <openAction enabled="true" filePath=""/> | |||
|
184 | <parser enabled="true"/> | |||
|
185 | </buildOutputProvider> | |||
|
186 | <scannerInfoProvider id="specsFile"> | |||
|
187 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/> | |||
|
188 | <parser enabled="true"/> | |||
|
189 | </scannerInfoProvider> | |||
|
190 | </profile> | |||
|
191 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"> | |||
|
192 | <buildOutputProvider> | |||
|
193 | <openAction enabled="true" filePath=""/> | |||
|
194 | <parser enabled="true"/> | |||
|
195 | </buildOutputProvider> | |||
|
196 | <scannerInfoProvider id="specsFile"> | |||
|
197 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/> | |||
|
198 | <parser enabled="true"/> | |||
|
199 | </scannerInfoProvider> | |||
|
200 | </profile> | |||
|
201 | <profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC"> | |||
|
202 | <buildOutputProvider> | |||
|
203 | <openAction enabled="true" filePath=""/> | |||
|
204 | <parser enabled="true"/> | |||
|
205 | </buildOutputProvider> | |||
|
206 | <scannerInfoProvider id="specsFile"> | |||
|
207 | <runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/> | |||
|
208 | <parser enabled="true"/> | |||
|
209 | </scannerInfoProvider> | |||
|
210 | </profile> | |||
|
211 | </scannerConfigBuildInfo> | |||
|
212 | </storageModule> | |||
|
213 | <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> | |||
|
214 | </cconfiguration> | |||
|
215 | </storageModule> | |||
|
216 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> | |||
|
217 | <project id="Control_Module_Test.cdt.managedbuild.target.gnu.exe.2090911806" name="Executable" projectType="cdt.managedbuild.target.gnu.exe"/> | |||
|
218 | </storageModule> | |||
|
219 | </cproject> |
@@ -0,0 +1,81 | |||||
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |||
|
2 | <projectDescription> | |||
|
3 | <name>Control_Module_Test</name> | |||
|
4 | <comment></comment> | |||
|
5 | <projects> | |||
|
6 | </projects> | |||
|
7 | <buildSpec> | |||
|
8 | <buildCommand> | |||
|
9 | <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> | |||
|
10 | <triggers>clean,full,incremental,</triggers> | |||
|
11 | <arguments> | |||
|
12 | <dictionary> | |||
|
13 | <key>?name?</key> | |||
|
14 | <value></value> | |||
|
15 | </dictionary> | |||
|
16 | <dictionary> | |||
|
17 | <key>org.eclipse.cdt.make.core.append_environment</key> | |||
|
18 | <value>true</value> | |||
|
19 | </dictionary> | |||
|
20 | <dictionary> | |||
|
21 | <key>org.eclipse.cdt.make.core.autoBuildTarget</key> | |||
|
22 | <value>all</value> | |||
|
23 | </dictionary> | |||
|
24 | <dictionary> | |||
|
25 | <key>org.eclipse.cdt.make.core.buildArguments</key> | |||
|
26 | <value></value> | |||
|
27 | </dictionary> | |||
|
28 | <dictionary> | |||
|
29 | <key>org.eclipse.cdt.make.core.buildCommand</key> | |||
|
30 | <value>make</value> | |||
|
31 | </dictionary> | |||
|
32 | <dictionary> | |||
|
33 | <key>org.eclipse.cdt.make.core.buildLocation</key> | |||
|
34 | <value>${workspace_loc:/Control_Module_Test/Release}</value> | |||
|
35 | </dictionary> | |||
|
36 | <dictionary> | |||
|
37 | <key>org.eclipse.cdt.make.core.cleanBuildTarget</key> | |||
|
38 | <value>clean</value> | |||
|
39 | </dictionary> | |||
|
40 | <dictionary> | |||
|
41 | <key>org.eclipse.cdt.make.core.contents</key> | |||
|
42 | <value>org.eclipse.cdt.make.core.activeConfigSettings</value> | |||
|
43 | </dictionary> | |||
|
44 | <dictionary> | |||
|
45 | <key>org.eclipse.cdt.make.core.enableAutoBuild</key> | |||
|
46 | <value>false</value> | |||
|
47 | </dictionary> | |||
|
48 | <dictionary> | |||
|
49 | <key>org.eclipse.cdt.make.core.enableCleanBuild</key> | |||
|
50 | <value>true</value> | |||
|
51 | </dictionary> | |||
|
52 | <dictionary> | |||
|
53 | <key>org.eclipse.cdt.make.core.enableFullBuild</key> | |||
|
54 | <value>true</value> | |||
|
55 | </dictionary> | |||
|
56 | <dictionary> | |||
|
57 | <key>org.eclipse.cdt.make.core.fullBuildTarget</key> | |||
|
58 | <value>all</value> | |||
|
59 | </dictionary> | |||
|
60 | <dictionary> | |||
|
61 | <key>org.eclipse.cdt.make.core.stopOnError</key> | |||
|
62 | <value>true</value> | |||
|
63 | </dictionary> | |||
|
64 | <dictionary> | |||
|
65 | <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key> | |||
|
66 | <value>true</value> | |||
|
67 | </dictionary> | |||
|
68 | </arguments> | |||
|
69 | </buildCommand> | |||
|
70 | <buildCommand> | |||
|
71 | <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> | |||
|
72 | <arguments> | |||
|
73 | </arguments> | |||
|
74 | </buildCommand> | |||
|
75 | </buildSpec> | |||
|
76 | <natures> | |||
|
77 | <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> | |||
|
78 | <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> | |||
|
79 | <nature>org.eclipse.cdt.core.cnature</nature> | |||
|
80 | </natures> | |||
|
81 | </projectDescription> |
@@ -0,0 +1,83 | |||||
|
1 | /* | |||
|
2 | * ClienteUDP.c | |||
|
3 | * | |||
|
4 | * Fecha de creacion : Nov 2, 2009 | |||
|
5 | * Ultima modificacion : Nov 19, 2009 | |||
|
6 | * Autor : Jose Francisco Quenta C. | |||
|
7 | */ | |||
|
8 | ||||
|
9 | #include <stdio.h> | |||
|
10 | #include <stdlib.h> | |||
|
11 | #include <string.h> | |||
|
12 | #include <unistd.h> | |||
|
13 | #include <errno.h> | |||
|
14 | #include <sys/types.h> | |||
|
15 | #include <sys/socket.h> | |||
|
16 | #include <netinet/in.h> | |||
|
17 | #include <arpa/inet.h> | |||
|
18 | #include <netdb.h> | |||
|
19 | ||||
|
20 | #include "./Librerias/Mensajes.h" | |||
|
21 | ||||
|
22 | #define PUERTO_SERVIDOR 5500 | |||
|
23 | //#define DIR_SERVIDOR "10.10.12.255" | |||
|
24 | #define DIR_SERVIDOR "192.168.1.255" | |||
|
25 | ||||
|
26 | int ClienteUDP(char *opcion, char *valor){ | |||
|
27 | ||||
|
28 | int conexion_clienteFD; | |||
|
29 | struct sockaddr_in inf_servidor; | |||
|
30 | ||||
|
31 | int broadcast= 1; | |||
|
32 | int resultado; | |||
|
33 | int numbytes_enviados; | |||
|
34 | ||||
|
35 | char *buff_peticion; | |||
|
36 | char *comando= NULL; | |||
|
37 | ||||
|
38 | if (strcmp(opcion,"-l") == 0){ // Se reconoce el comando que se esta enviando | |||
|
39 | comando= "CARGA:"; | |||
|
40 | }else if(strcmp(opcion,"-c") == 0){ | |||
|
41 | comando= "CAMBIA:"; | |||
|
42 | }else if(strcmp(opcion,"-ch") == 0){ | |||
|
43 | comando= "CHEQUEO:"; | |||
|
44 | }else { | |||
|
45 | ERROR("OPCION INCORRECTA: {-l|-c|-ch}"); | |||
|
46 | return -1; | |||
|
47 | } | |||
|
48 | ||||
|
49 | buff_peticion= (char *) malloc(strlen(comando)+1+strlen(valor)+1); // Se arma el buffer a ser enviado. | |||
|
50 | strcpy(buff_peticion,comando); | |||
|
51 | strcat(buff_peticion,valor); | |||
|
52 | ||||
|
53 | /* Se establece el socket UDP */ | |||
|
54 | conexion_clienteFD= socket(AF_INET,SOCK_DGRAM,0); | |||
|
55 | if (conexion_clienteFD == -1){ | |||
|
56 | ERROR("No se pudo establecer el socket: socket()"); | |||
|
57 | return -1; | |||
|
58 | } | |||
|
59 | ||||
|
60 | /* Se establece el Broadcast con la funcion setsockpt() */ | |||
|
61 | resultado= setsockopt(conexion_clienteFD, SOL_SOCKET, SO_BROADCAST, &broadcast, sizeof(broadcast)); | |||
|
62 | if (resultado == -1){ | |||
|
63 | ERROR("No se pudo establecer la opcion de Broadcast: setsockopt()"); | |||
|
64 | return -1; | |||
|
65 | } | |||
|
66 | ||||
|
67 | /* Se configura la estructura que contiene la informacion sobre el servidor: inf_servidor */ | |||
|
68 | inf_servidor.sin_family= AF_INET; | |||
|
69 | inf_servidor.sin_port= htons(PUERTO_SERVIDOR); | |||
|
70 | inf_servidor.sin_addr.s_addr= inet_addr(DIR_SERVIDOR); | |||
|
71 | memset(inf_servidor.sin_zero, '\0', sizeof(inf_servidor.sin_zero)); | |||
|
72 | ||||
|
73 | /* Se procede a enviar el buffer */ | |||
|
74 | numbytes_enviados= sendto(conexion_clienteFD,buff_peticion,strlen(buff_peticion),0,(struct sockaddr *)&inf_servidor,sizeof(inf_servidor)); | |||
|
75 | if(numbytes_enviados == -1){ | |||
|
76 | ERROR("Error de envio de datos: sendto()"); | |||
|
77 | return -1; | |||
|
78 | } | |||
|
79 | ||||
|
80 | close(conexion_clienteFD); | |||
|
81 | ||||
|
82 | return 0; | |||
|
83 | } |
@@ -0,0 +1,19 | |||||
|
1 | /* | |||
|
2 | * Funciones_ControlERs.h | |||
|
3 | * | |||
|
4 | * Created on: Jan 14, 2010 | |||
|
5 | * Author: redes | |||
|
6 | */ | |||
|
7 | ||||
|
8 | #ifndef FUNCIONES_CONTROLERS_H_ | |||
|
9 | #define FUNCIONES_CONTROLERS_H_ | |||
|
10 | ||||
|
11 | int estado_ERemota(char dir_red[],int dir_inicio,int dir_fin); | |||
|
12 | ||||
|
13 | int envia_experimento(char valor[], int base); | |||
|
14 | ||||
|
15 | int trae_monitoreo(char valor[], int base); | |||
|
16 | ||||
|
17 | int ClienteUDP(char *opcion, char *valor); | |||
|
18 | ||||
|
19 | #endif /* FUNCIONES_CONTROLERS_H_ */ |
@@ -0,0 +1,17 | |||||
|
1 | /* | |||
|
2 | * Mensajes.h | |||
|
3 | * | |||
|
4 | * Created on: Nov 12, 2009 | |||
|
5 | * Author: redes | |||
|
6 | */ | |||
|
7 | ||||
|
8 | #ifndef MENSAJES_H_ | |||
|
9 | #define MENSAJES_H_ | |||
|
10 | ||||
|
11 | void LOG_SERVIDOR(char *mensaje); | |||
|
12 | void LOG_CLIENTE(char *mensaje); | |||
|
13 | void ERROR_FATAL(char *mensaje); | |||
|
14 | void ERROR(char *mensaje); | |||
|
15 | ||||
|
16 | ||||
|
17 | #endif /* MENSAJES_H_ */ |
@@ -0,0 +1,39 | |||||
|
1 | /* | |||
|
2 | * Mensajes.c | |||
|
3 | * | |||
|
4 | * Created on: Nov 12, 2009 | |||
|
5 | * Author: Jose Francisco Quenta | |||
|
6 | */ | |||
|
7 | ||||
|
8 | #include <stdio.h> | |||
|
9 | #include <stdlib.h> | |||
|
10 | ||||
|
11 | /* | |||
|
12 | * Imprime mensajes del servidor | |||
|
13 | */ | |||
|
14 | void LOG_SERVIDOR(char *mensaje){ | |||
|
15 | printf("SERVIDOR: %s\n",mensaje); | |||
|
16 | } | |||
|
17 | ||||
|
18 | /* | |||
|
19 | * Imprime mensajes del cliente | |||
|
20 | */ | |||
|
21 | void LOG_CLIENTE(char *mensaje){ | |||
|
22 | printf("CLIENTE: %s\n",mensaje); | |||
|
23 | } | |||
|
24 | ||||
|
25 | /* | |||
|
26 | * Error no fatal, permite la continuación del programa | |||
|
27 | */ | |||
|
28 | void ERROR(char *mensaje){ | |||
|
29 | fprintf(stderr, "ERROR. %s\n", mensaje); | |||
|
30 | } | |||
|
31 | ||||
|
32 | /* | |||
|
33 | * Error fatal, aborta la ejecución del programa con código de salida de error | |||
|
34 | */ | |||
|
35 | void ERROR_FATAL(char *mensaje){ | |||
|
36 | fprintf(stderr, "ERROR FATAL. %s\n", mensaje); | |||
|
37 | exit(EXIT_FAILURE); | |||
|
38 | } | |||
|
39 |
@@ -0,0 +1,19 | |||||
|
1 | /* | |||
|
2 | * Prueba_UDP.c | |||
|
3 | * | |||
|
4 | * Created on: Nov 19, 2009 | |||
|
5 | * Author: redes | |||
|
6 | */ | |||
|
7 | ||||
|
8 | #include <stdio.h> | |||
|
9 | #include <stdlib.h> | |||
|
10 | ||||
|
11 | #include "./Librerias/Mensajes.h" | |||
|
12 | #include "./Librerias/Funciones_ControlER.h" | |||
|
13 | ||||
|
14 | int main(int argc, char *argv[]){ | |||
|
15 | ||||
|
16 | ClienteUDP(argv[1],argv[2]); | |||
|
17 | ||||
|
18 | return 0; | |||
|
19 | } |
@@ -2,7 +2,7 | |||||
2 |
|
2 | |||
3 | class ABSClient: |
|
3 | class ABSClient: | |
4 |
|
4 | |||
5 | def __init__(self,ipSource, ipDestino, portDestino): |
|
5 | def __init__(self,ipSource="localhost", ipDestino="abscontrol.jro.pe", portDestino=5509): | |
6 |
|
6 | |||
7 | self.ipSource = ipSource |
|
7 | self.ipSource = ipSource | |
8 | self.ipDestino = ipDestino |
|
8 | self.ipDestino = ipDestino | |
@@ -19,13 +19,19 | |||||
19 | fp = open(filename) |
|
19 | fp = open(filename) | |
20 | data = fp.read() |
|
20 | data = fp.read() | |
21 |
|
21 | |||
22 |
commObj.sendTxRxCommand(cmd="SND", data=data |
|
22 | commObj.sendTxRxCommand(cmd="SND", data=data) | |
23 |
|
23 | |||
24 | def changeBeam(self, newBeam): |
|
24 | def changeBeam(self, newBeam): | |
25 |
|
25 | |||
26 |
commObj.sendTxRxCommand(cmd="CHG", data=newBeam |
|
26 | commObj.sendTxRxCommand(cmd="CHG", data=newBeam) | |
27 |
|
27 | |||
28 | def getStatus(self): |
|
28 | def getStatus(self): | |
29 |
|
29 | |||
30 |
commObj.sendTxRxCommand(cmd="ANST", data="ABS" |
|
30 | commObj.sendTxRxCommand(cmd="ANST", data="ABS") | |
31 | No newline at end of file |
|
31 | ||
|
32 | if __name__ == '__main__': | |||
|
33 | ||||
|
34 | filename = "miarchivo.txt" | |||
|
35 | ||||
|
36 | absObj = ABSClient() | |||
|
37 | absObj.sendFile(filename) No newline at end of file |
@@ -1,5 +1,85 | |||||
|
1 | import tftpy | |||
1 | import socket |
|
2 | import socket | |
2 |
|
3 | |||
|
4 | class UDPServer: | |||
|
5 | ||||
|
6 | buf = 16384 | |||
|
7 | #buf = 1024 | |||
|
8 | ||||
|
9 | def __init__(self, port): | |||
|
10 | # Set the socket parameters | |||
|
11 | host = "192.168.1.255" | |||
|
12 | #host = "localhost" | |||
|
13 | self.addr = (host,port) | |||
|
14 | self.createObjects() | |||
|
15 | ||||
|
16 | def createObjects(self): | |||
|
17 | ||||
|
18 | # Create socket and bind to address | |||
|
19 | self.sock_s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM,0) | |||
|
20 | self.sock_s.bind(self.addr) | |||
|
21 | ||||
|
22 | def listen(self,mode): | |||
|
23 | ||||
|
24 | # Receive messages | |||
|
25 | print "Central Control initialized ...with UDP" | |||
|
26 | ||||
|
27 | if mode == 0: | |||
|
28 | while 1: | |||
|
29 | data_rx, add = self.sock_s.recvfrom(self.buf) | |||
|
30 | if not data_rx: | |||
|
31 | print "Client has exited!" | |||
|
32 | break | |||
|
33 | ||||
|
34 | print "\nCentral Control:" | |||
|
35 | print "Received message '", data_rx,"'" | |||
|
36 | #print "Sendinf ack ..." | |||
|
37 | #self.sock_s.sendto('ack', addr_rx) | |||
|
38 | else: | |||
|
39 | data_rx, add = self.sock_s.recvfrom(self.buf) | |||
|
40 | print "\nCentral Control:" | |||
|
41 | print "Received message '", data_rx,"'" | |||
|
42 | ||||
|
43 | # Close socket | |||
|
44 | self.sock_s.close() | |||
|
45 | print "\nsocket closed" | |||
|
46 | return data_rx | |||
|
47 | ||||
|
48 | class UDPClient: | |||
|
49 | ||||
|
50 | buf = 1024 | |||
|
51 | ||||
|
52 | def __init__(self, port): | |||
|
53 | # Set the socket parameters | |||
|
54 | host = "192.168.1.255" | |||
|
55 | self.multicast_addr = (host,port) | |||
|
56 | self.createObjects() | |||
|
57 | ||||
|
58 | def createObjects(self): | |||
|
59 | ||||
|
60 | # Create socket | |||
|
61 | self.socket_c = socket.socket(socket.AF_INET, socket.SOCK_DGRAM,0) | |||
|
62 | #if self.socket_c == -1: | |||
|
63 | # print "No se pudo establecer conexion con el socket" | |||
|
64 | ||||
|
65 | #self.socket_c.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, 20) | |||
|
66 | self.socket_c.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) | |||
|
67 | ||||
|
68 | ||||
|
69 | ||||
|
70 | def sendData(self,TxFrame): | |||
|
71 | ||||
|
72 | # Send messages | |||
|
73 | if(self.socket_c.sendto(TxFrame, self.multicast_addr)): | |||
|
74 | print "Sending message:[" + TxFrame + "]" | |||
|
75 | ||||
|
76 | data_rx, server_rx = self.socket_c.recvfrom(16) | |||
|
77 | ||||
|
78 | print "Data received ", data_rx, server_rx | |||
|
79 | ||||
|
80 | # Close socket | |||
|
81 | self.socket_c.close() | |||
|
82 | ||||
3 | class UDPComm: |
|
83 | class UDPComm: | |
4 |
|
84 | |||
5 | __HEADER = "ABS" |
|
85 | __HEADER = "ABS" | |
@@ -14,7 +94,7 | |||||
14 |
|
94 | |||
15 | def openSocket(self, asServer): |
|
95 | def openSocket(self, asServer): | |
16 |
|
96 | |||
17 |
self.socket_c = socket.socket() |
|
97 | self.socket_c = socket.socket(AF_INET,SOCK_DGRAM) | |
18 | self.socket_c.connect((self.ipDestino, self.portDestino)) |
|
98 | self.socket_c.connect((self.ipDestino, self.portDestino)) | |
19 |
|
99 | |||
20 | if asServer: |
|
100 | if asServer: | |
@@ -25,11 +105,11 | |||||
25 | def configAsClient(self): |
|
105 | def configAsClient(self): | |
26 |
|
106 | |||
27 | #Configurar broadcast |
|
107 | #Configurar broadcast | |
28 | pass |
|
108 | self.commObj = UDPClient() | |
29 |
|
109 | |||
30 | def configAsServer(self): |
|
110 | def configAsServer(self): | |
31 |
|
111 | |||
32 | pass |
|
112 | self.commObj = UDPServer() | |
33 |
|
113 | |||
34 | def waitRequest(self, nbytes): |
|
114 | def waitRequest(self, nbytes): | |
35 |
|
115 | |||
@@ -74,7 +154,23 | |||||
74 |
|
154 | |||
75 | class FTPComm: |
|
155 | class FTPComm: | |
76 |
|
156 | |||
|
157 | ftp_servidor = 'ftp.servidor.com' | |||
|
158 | ftp_usuario = 'miusuario' | |||
|
159 | ftp_clave = 'miclave' | |||
|
160 | ftp_raiz = '/public_html' | |||
|
161 | ||||
77 | def __init__(self): |
|
162 | def __init__(self): | |
78 |
|
|
163 | ||
|
164 | self.client = tftpy.TftpClient(self.ftp_servidor, '69') | |||
|
165 | ||||
79 |
|
166 | |||
|
167 | def sendFile(self, filename): | |||
|
168 | ||||
|
169 | self.client.upload(filename) | |||
|
170 | ||||
|
171 | if __name__ == '__main__': | |||
|
172 | ||||
|
173 | obj = FTPComm() | |||
|
174 | ||||
|
175 | ||||
80 | No newline at end of file |
|
176 |
@@ -2,7 +2,7 | |||||
2 |
|
2 | |||
3 | class ABSServer: |
|
3 | class ABSServer: | |
4 |
|
4 | |||
5 | def __init__(self,ipSource, ipDestino, portDestino, ipDestino2, portDestino2, ftpPortDestino): |
|
5 | def __init__(self,ipSource="localhost", ipDestino="abscontrol.jro.pe", portDestino=5509, ipDestino2=None, portDestino2=None, ftpPortDestino=None): | |
6 |
|
6 | |||
7 | self.ipSource = ipSource |
|
7 | self.ipSource = ipSource | |
8 | self.ipDestino = ipDestino |
|
8 | self.ipDestino = ipDestino | |
@@ -16,6 +16,7 | |||||
16 | self.createObjects() |
|
16 | self.createObjects() | |
17 |
|
17 | |||
18 | def createObjects(self): |
|
18 | def createObjects(self): | |
|
19 | ||||
19 | asServer = True |
|
20 | asServer = True | |
20 | self.commServerObj = library.UDPComm(self.ipSource, self.ipDestino, self.portDestino, asServer) |
|
21 | self.commServerObj = library.UDPComm(self.ipSource, self.ipDestino, self.portDestino, asServer) | |
21 | self.commClientObj = library.UDPComm(self.ipSource, self.ipDestino2, self.portDestino2) |
|
22 | self.commClientObj = library.UDPComm(self.ipSource, self.ipDestino2, self.portDestino2) | |
@@ -23,7 +24,7 | |||||
23 |
|
24 | |||
24 | def waitRequest(self): |
|
25 | def waitRequest(self): | |
25 |
|
26 | |||
26 |
ipSource, ipDestino, cmd, data = |
|
27 | ipSource, ipDestino, cmd, self.datarx = self.commServerObj.waitRequest() | |
27 |
|
28 | |||
28 | if cmd == "SND": |
|
29 | if cmd == "SND": | |
29 | self.sendFile() |
|
30 | self.sendFile() | |
@@ -35,16 +36,30 | |||||
35 | self.getStatus() |
|
36 | self.getStatus() | |
36 |
|
37 | |||
37 |
|
38 | |||
38 | def sendFile(self): |
|
39 | def sendFile(self, filename = "/test/archivoabs.dat"): | |
|
40 | ||||
|
41 | id = '------' | |||
|
42 | modules = split(self.datarx, id) | |||
|
43 | ||||
|
44 | fp = open(filename, 'w') | |||
|
45 | fp.write(self.datarx) | |||
|
46 | fp.close() | |||
39 |
|
47 | |||
40 | self.ftpCommObj.sendFile(filename) |
|
48 | self.ftpCommObj.sendFile(filename) | |
41 |
rpta = self.commClientObj.sendTxRxCommand(cmd='CARGA', data=filename |
|
49 | rpta = self.commClientObj.sendTxRxCommand(cmd='CARGA', data=filename) | |
42 |
|
50 | |||
43 |
|
51 | |||
44 | def changeBeam(self): |
|
52 | def changeBeam(self): | |
45 |
|
53 | |||
46 |
rpta = self.commClientObj.sendTxRxCommand(cmd='CAMBIA', data="0" |
|
54 | rpta = self.commClientObj.sendTxRxCommand(cmd='CAMBIA', data="0") | |
47 |
|
55 | |||
48 | def getStatus(self): |
|
56 | def getStatus(self): | |
49 |
|
57 | |||
50 |
rpta = self.commClientObj.sendTxRxCommand(cmd='CHEQUEO', data="0" |
|
58 | rpta = self.commClientObj.sendTxRxCommand(cmd='CHEQUEO', data="0") | |
|
59 | ||||
|
60 | ||||
|
61 | if __name__ == '__main__': | |||
|
62 | ||||
|
63 | absObj = ABSServer() | |||
|
64 | ||||
|
65 | absObj.waitRequest() No newline at end of file |
@@ -49,8 +49,11 | |||||
49 |
|
49 | |||
50 |
|
50 | |||
51 | # Set the socket parameters |
|
51 | # Set the socket parameters | |
52 | host = '0.0.0.0' |
|
52 | #host = '0.0.0.0' | |
53 | port = 5140 |
|
53 | host = '192.168.1.255' | |
|
54 | #port = 5140 | |||
|
55 | port = 5500 | |||
|
56 | #port = 7000 | |||
54 | buf = 1024 |
|
57 | buf = 1024 | |
55 | multicast_addr = (host,port) |
|
58 | multicast_addr = (host,port) | |
56 |
|
59 | |||
@@ -61,9 +64,15 | |||||
61 | def createObjects(self): |
|
64 | def createObjects(self): | |
62 |
|
65 | |||
63 | # Create socket |
|
66 | # Create socket | |
64 | self.socket_c = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) |
|
67 | #self.socket_c = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
65 | self.socket_c.settimeout(0.2) |
|
68 | self.socket_c = socket.socket(socket.AF_INET, socket.SOCK_DGRAM,0) | |
66 | self.socket_c.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, 20) |
|
69 | #self.socket_c.settimeout(0.2) | |
|
70 | #if self.socket_c == -1: | |||
|
71 | # print "No se pudo establecer conexion con el socket" | |||
|
72 | ||||
|
73 | #self.socket_c.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, 20) | |||
|
74 | self.socket_c.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) | |||
|
75 | ||||
67 |
|
76 | |||
68 | def sendData(self): |
|
77 | def sendData(self): | |
69 |
|
78 | |||
@@ -82,9 +91,9 | |||||
82 |
|
91 | |||
83 | print "Sending message '",data,"'....." |
|
92 | print "Sending message '",data,"'....." | |
84 |
|
93 | |||
85 | data_rx, server_rx = self.socket_c.recvfrom(16) |
|
94 | #data_rx, server_rx = self.socket_c.recvfrom(16) | |
86 |
|
95 | |||
87 | print "Data received ", data_rx, server_rx |
|
96 | #print "Data received ", data_rx, server_rx | |
88 |
|
97 | |||
89 | # Close socket |
|
98 | # Close socket | |
90 | self.socket_c.close() |
|
99 | self.socket_c.close() |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now