mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-16 22:28:59 +00:00
extracted test script to a separate hello-world.js, and updated the remaining hello world tests accordingly.
84 lines
3.0 KiB
Plaintext
84 lines
3.0 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<simconf>
|
|
<simulation>
|
|
<title>Hello World (ESB)</title>
|
|
<randomseed>generated</randomseed>
|
|
<motedelay_us>1000000</motedelay_us>
|
|
<radiomedium>
|
|
se.sics.cooja.radiomediums.UDGM
|
|
<transmitting_range>50.0</transmitting_range>
|
|
<interference_range>100.0</interference_range>
|
|
<success_ratio_tx>1.0</success_ratio_tx>
|
|
<success_ratio_rx>1.0</success_ratio_rx>
|
|
</radiomedium>
|
|
<events>
|
|
<logoutput>40000</logoutput>
|
|
</events>
|
|
<motetype>
|
|
se.sics.cooja.mspmote.ESBMoteType
|
|
<identifier>esb1</identifier>
|
|
<description>ESB Mote Type #esb1</description>
|
|
<source EXPORT="discard">[CONTIKI_DIR]/examples/hello-world/hello-world.c</source>
|
|
<commands EXPORT="discard">make hello-world.esb TARGET=esb</commands>
|
|
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/hello-world/hello-world.esb</firmware>
|
|
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
|
|
<moteinterface>se.sics.cooja.interfaces.RimeAddress</moteinterface>
|
|
<moteinterface>se.sics.cooja.interfaces.IPAddress</moteinterface>
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.MspSerial</moteinterface>
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.MspClock</moteinterface>
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.ESBLED</moteinterface>
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.ESBButton</moteinterface>
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.MspMoteID</moteinterface>
|
|
<moteinterface>se.sics.cooja.mspmote.interfaces.TR1001Radio</moteinterface>
|
|
<moteinterface>se.sics.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
|
<moteinterface>se.sics.cooja.interfaces.MoteAttributes</moteinterface>
|
|
</motetype>
|
|
<mote>
|
|
<breakpoints />
|
|
<interface_config>
|
|
se.sics.cooja.interfaces.Position
|
|
<x>57.296459690977144</x>
|
|
<y>73.20759478605089</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
se.sics.cooja.mspmote.interfaces.MspMoteID
|
|
<id>1</id>
|
|
</interface_config>
|
|
<motetype_identifier>esb1</motetype_identifier>
|
|
</mote>
|
|
</simulation>
|
|
<plugin>
|
|
se.sics.cooja.plugins.LogListener
|
|
<plugin_config>
|
|
<filter />
|
|
</plugin_config>
|
|
<width>623</width>
|
|
<z>1</z>
|
|
<height>270</height>
|
|
<location_x>29</location_x>
|
|
<location_y>256</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
se.sics.cooja.plugins.ScriptRunner
|
|
<plugin_config>
|
|
<scriptfile>[CONFIG_DIR]/hello-world.js</scriptfile>
|
|
<active>true</active>
|
|
</plugin_config>
|
|
<width>600</width>
|
|
<z>0</z>
|
|
<height>453</height>
|
|
<location_x>337</location_x>
|
|
<location_y>25</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
se.sics.cooja.plugins.SimControl
|
|
<width>280</width>
|
|
<z>2</z>
|
|
<height>160</height>
|
|
<location_x>20</location_x>
|
|
<location_y>23</location_y>
|
|
</plugin>
|
|
</simconf>
|
|
|