Integration of event-driven embedded operating systems into OMNet++: a case study with reflex

Developing wireless sensor network (WSN) applications is a challenging task. Simulations are a key component in the development process, since they offer simple means of testing and evaluating the applications without the need of time consuming and tedious deployment. But simulations alone are not sufficient to evaluate such applications. Only experiments on real hardware can ultimately verify the correctness of a given algorithm and its implementation. To take the most benefit from a WSN simulator it must be able to simulate a sensor network, where all nodes run the same implementation of the algorithm that will later be deployed. We show how to integrate event-driven operating systems into the OMNeT++ discrete event simulator. At the example of Reflex we show how an integration can be easily achieved with minor effort. Additionally we discuss an alternative approach which promises better scalability but comes at the cost of less flexibility at the application layer and requires more deeply intrusions into the operating system. We argue that the integration is feasible and that it yields a simulation tool, which can perform similar to other tools like TOSSIM or COOJA but benefits notably from the flexibility of OMNeT++ and its cornucopia of readily available models provided by the community.

[1]  David E. Culler,et al.  TinyOS: An Operating System for Sensor Networks , 2005, Ambient Intelligence.

[2]  Jörg Nolte,et al.  A Flexible Scheduling Framework for Deeply Embedded Systems , 2007, 21st International Conference on Advanced Information Networking and Applications Workshops (AINAW'07).

[3]  Deborah Estrin,et al.  Rumor routing algorthim for sensor networks , 2002, WSNA '02.

[4]  T. Senner,et al.  A Combined Routing Layer for Wireless Sensor Networks and Mobile Ad-Hoc Networks , 2008, 2008 Second International Conference on Sensor Technologies and Applications (sensorcomm 2008).

[5]  Adam Dunkels,et al.  Demo abstract: MSPsim - an extensible simulator for MSP430-equipped sensor boards , 2007 .

[6]  A. Varga,et al.  THE OMNET++ DISCRETE EVENT SIMULATION SYSTEM , 2003 .

[7]  Jens Palsberg,et al.  Avrora: scalable sensor network simulation with precise timing , 2005, IPSN 2005. Fourth International Symposium on Information Processing in Sensor Networks, 2005..

[8]  Feng Zhao,et al.  TinyGALS: a programming model for event-driven embedded systems , 2003, SAC '03.

[9]  Deborah Estrin,et al.  GHT: a geographic hash table for data-centric storage , 2002, WSNA '02.

[10]  Jörg Nolte,et al.  CsharpSimpleModule: writing OMNeT++ modules with C# and mono , 2008, Simutools 2008.

[11]  David E. Culler,et al.  TOSSIM: accurate and scalable simulation of entire TinyOS applications , 2003, SenSys '03.

[12]  Adam Dunkels,et al.  Contiki - a lightweight and flexible operating system for tiny networked sensors , 2004, 29th Annual IEEE International Conference on Local Computer Networks.

[13]  Adam Dunkels,et al.  Cross-level simulation in cooja. , 2007 .

[14]  Yong Yao,et al.  The cougar approach to in-network query processing in sensor networks , 2002, SGMD.