<?xml version="1.0" encoding="UTF-8"?> <simconf> <project EXPORT="discard">[APPS_DIR]/mrm</project> <project EXPORT="discard">[APPS_DIR]/mspsim</project> <project EXPORT="discard">[APPS_DIR]/avrora</project> <project EXPORT="discard">[APPS_DIR]/serial_socket</project> <project EXPORT="discard">[APPS_DIR]/collect-view</project> <project EXPORT="discard">[APPS_DIR]/powertracker</project> <simulation> <title>LWM2M & IPSO Objects Example</title> <speedlimit>1.0</speedlimit> <randomseed>123456</randomseed> <motedelay_us>1000000</motedelay_us> <radiomedium> org.contikios.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> org.contikios.cooja.mspmote.WismoteMoteType <identifier>wismote1</identifier> <description>Wismote Border Router #border-router</description> <source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/rpl-border-router/border-router.c</source> <commands EXPORT="discard">make border-router.wismote TARGET=wismote DEFINES=NETSTACK_RDC=nullrdc_driver,NETSTACK_MAC=nullmac_driver</commands> <firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/rpl-border-router/border-router.wismote</firmware> <moteinterface>org.contikios.cooja.interfaces.Position</moteinterface> <moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface> <moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface> <moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</moteinterface> <moteinterface>org.contikios.cooja.interfaces.MoteAttributes</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspClock</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspMoteID</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspButton</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.Msp802154Radio</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspDefaultSerial</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspLED</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspDebugOutput</moteinterface> </motetype> <motetype> org.contikios.cooja.mspmote.WismoteMoteType <identifier>wismote2</identifier> <description>Wismote IPSO Objects #ipso-example</description> <source EXPORT="discard">[CONTIKI_DIR]/examples/ipso-objects/example-ipso-objects.c</source> <commands EXPORT="discard">make example-ipso-objects.wismote TARGET=wismote</commands> <firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipso-objects/example-ipso-objects.wismote</firmware> <moteinterface>org.contikios.cooja.interfaces.Position</moteinterface> <moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface> <moteinterface>org.contikios.cooja.interfaces.IPAddress</moteinterface> <moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</moteinterface> <moteinterface>org.contikios.cooja.interfaces.MoteAttributes</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspClock</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspMoteID</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspButton</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.Msp802154Radio</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspDefaultSerial</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspLED</moteinterface> <moteinterface>org.contikios.cooja.mspmote.interfaces.MspDebugOutput</moteinterface> </motetype> <mote> <breakpoints /> <interface_config> org.contikios.cooja.interfaces.Position <x>56.362361976162035</x> <y>11.826023799100883</y> <z>0.0</z> </interface_config> <interface_config> org.contikios.cooja.mspmote.interfaces.MspClock <deviation>1.0</deviation> </interface_config> <interface_config> org.contikios.cooja.mspmote.interfaces.MspMoteID <id>1</id> </interface_config> <motetype_identifier>wismote1</motetype_identifier> </mote> <mote> <breakpoints /> <interface_config> org.contikios.cooja.interfaces.Position <x>60.1539674439426</x> <y>11.827942168467365</y> <z>0.0</z> </interface_config> <interface_config> org.contikios.cooja.mspmote.interfaces.MspClock <deviation>1.0</deviation> </interface_config> <interface_config> org.contikios.cooja.mspmote.interfaces.MspMoteID <id>2</id> </interface_config> <motetype_identifier>wismote2</motetype_identifier> </mote> </simulation> <plugin> org.contikios.cooja.plugins.SimControl <width>280</width> <z>2</z> <height>160</height> <location_x>400</location_x> <location_y>0</location_y> </plugin> <plugin> org.contikios.cooja.plugins.Visualizer <plugin_config> <moterelations>true</moterelations> <skin>org.contikios.cooja.plugins.skins.IDVisualizerSkin</skin> <skin>org.contikios.cooja.plugins.skins.TrafficVisualizerSkin</skin> <skin>org.contikios.cooja.plugins.skins.UDGMVisualizerSkin</skin> <skin>org.contikios.cooja.plugins.skins.LEDVisualizerSkin</skin> <skin>org.contikios.cooja.plugins.skins.MoteTypeVisualizerSkin</skin> <viewport>53.336918739504526 0.0 0.0 53.336918739504526 -2924.9161170527295 -473.3614543395965</viewport> </plugin_config> <width>400</width> <z>4</z> <height>400</height> <location_x>1</location_x> <location_y>1</location_y> </plugin> <plugin> org.contikios.cooja.plugins.LogListener <plugin_config> <filter>ID:2</filter> <formatted_time /> <coloring /> </plugin_config> <width>1286</width> <z>1</z> <height>240</height> <location_x>400</location_x> <location_y>160</location_y> </plugin> <plugin> org.contikios.cooja.plugins.Notes <plugin_config> <notes>OMA LWM2M & IPSO Object example 1. Start a LWM2M server, for example Leshan 2. Run the example and bridge Cooja using tunslip with the prefix aaaa::1/64: (cd contiki/examples/ipso-objects && make connect-router-cooja) After a short time, the example node should register with the LWM2M server at [aaaa::1]:5683.</notes> <decorations>true</decorations> </plugin_config> <width>1006</width> <z>0</z> <height>160</height> <location_x>680</location_x> <location_y>0</location_y> </plugin> <plugin> org.contikios.cooja.serialsocket.SerialSocketServer <mote_arg>0</mote_arg> <plugin_config> <port>60001</port> <bound>true</bound> </plugin_config> <width>362</width> <z>3</z> <height>116</height> <location_x>1</location_x> <location_y>399</location_y> </plugin> </simconf>