System-Level WSN Application Software Test Using Multi-platform Hardware Abstraction Layers

Software development for Wireless Sensor Networks (WSNs) suffers from the adverse condition that WSN software systems can usually not be tested on a system-level in their final operations environment, as WSN deployment is an expensive and time-consuming process. Several authors therefore propose to interlock application software test tightly with simulation. In this paper, we introduce an XML-based description language that allows the WSN programmer to define a common Hardware Abstraction Layer (HAL) for seamless transfer of WSN application code between WSN node target platforms and simulator-provided platforms. We show how a common network simulator can be enhanced to fully support system-level testing of WSN application code, make some comments on the resulting changes in the software development process, and finally illustrate our approach by an example.

[1]  Norbert Luttenberger,et al.  The XCast Approach for Content-Based Flooding Control in Distributed Virtual Shared Information Spaces - Design and Evaluation , 2004, EWSN.

[2]  Daniel Mahrenholz,et al.  Real-Time Network Emulation with ns-2 , 2004, Eighth IEEE International Symposium on Distributed Simulation and Real-Time Applications.

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

[4]  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.

[5]  Deborah Estrin,et al.  EmStar: A Software Environment for Developing and Deploying Wireless Sensor Networks , 2004, USENIX ATC, General Track.

[6]  Acm Sigmobile MobiHoc 2002 : Proceedings of the Third ACM International Symposium on Mobile Ad Hoc Networking and Computing, June 9-11, 2002, Lausanne, Switzerland , 2002 .

[7]  David Gay,et al.  Software design patterns for TinyOS , 2005, LCTES '05.

[8]  Vlado Handziski,et al.  Flexible hardware abstraction for wireless sensor networks , 2005, Proceeedings of the Second European Workshop on Wireless Sensor Networks, 2005..

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

[10]  Jeff Rose,et al.  MANTIS OS: An Embedded Multithreaded Operating System for Wireless Micro Sensor Platforms , 2005, Mob. Networks Appl..

[11]  Yongguang Zhang,et al.  An integrated environment for testing mobile ad-hoc networks , 2002, MobiHoc '02.

[12]  Mani B. Srivastava,et al.  SensorSim: a simulation framework for sensor networks , 2000, MSWIM '00.

[13]  Rolf Winter,et al.  ScatterWeb - Low Power Sensor Nodes and Energy Aware Routing , 2005, Proceedings of the 38th Annual Hawaii International Conference on System Sciences.