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

  • Jochen Koberstein
  • Norbert Luttenberger
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4325)


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.


Wireless Sensor Network Sensor Fusion Software Development Process Local View Application Component 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Gay, D., Levis, P., Culler, D.: Software Design Patterns for TinyOS. In: Proceedings ACM SIGPLAN/SIGBED 2005 Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES 2005), Illinois (2005)Google Scholar
  2. 2.
    Girod, L., Elson, J., Cerpa, A., Stathopoulos, T., Ramanathan, N., Estrin, D.: EmStar: a Software Environment for Developing and Deploying Wireless Sensor Networks. In: Proceedings of USENIX General Track 2004, Boston (2004)Google Scholar
  3. 3.
    Levis, P., Lee, N., Welsh, M., Culler, D.: TOSSIM: Accurate and Scalable Simulation of Entire TinyOS Applications. In: Proceedings of the First ACM Conference on Embedded Networked Sensor Systems (SenSys 2003), Los Angeles (2003)Google Scholar
  4. 4.
    Zhang, Y., Li, W.: An Integrated Environment for Testing Mobile Ad-Hoc Networks. In: Proceedings of the Third ACM International Symposium on Mobile Ad Hoc Networking and Computing (MobiHoc 2002), Lausanne (2002)Google Scholar
  5. 5.
    Park, S., Savvides, A., Srivastava, M.B.: SensorSim: A Simulation Framework for Sensor Networks. In: Proceedings of the Third ACM International Workshop on Modeling, Analysis and Simulation of Wireless and Mobile Systems (MSWiM 2000) (2000)Google Scholar
  6. 6.
    Varga, A.: The OMNeT++ Discrete Event Simulation System. In: Proceedings of the European Simulation Multiconference (ESM 2001) (2001)Google Scholar
  7. 7.
    Baldwin, P., Kohli, S., Lee, E.A., Liu, X., Zhao, Y.: VisualSense: Visual Modeling for Wireless and Sensor Network Systems. In: Technical Memorandum UCB/ERL M04/08, University of California, Berkeley, CA 94720, USA (2004)Google Scholar
  8. 8.
    Biron, P.V., Malhotra, A.: XML Schema Part 2: Datatypes (2001),
  9. 9.
    Koberstein, J., Reuter, F., Luttenberger, N.: The XCast Approach for Content-Based Flooding Control in Distributed Virtual Shared Information Spaces—Design and Evaluation. In: Karl, H., Wolisz, A., Willig, A. (eds.) EWSN 2004. LNCS, vol. 2920, pp. 188–203. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  10. 10.
    Drytkiewicz, W., Sroka, S., Handziski, V., Koepke, A., Karl, H.: A Mobility Framework for OMNeT++. In: 3rd International OMNeT++ Workshop (2003)Google Scholar
  11. 11.
    Dunkels, A., Grnvall, B., Voigt, T.: Contiki - a Lightweight and Flexible Operating System for Tiny Networked Sensors. In: Proceedings of the First IEEE Workshop on Embedded Networked Sensors (IEEE EmNetS-I 2004), Tampa (2004)Google Scholar
  12. 12.
    Bhatti, S., Carlson, J., Dai, H., Deng, J., Rose, J., Sheth, A., Shucker, B., Gruenwald, C., Torgerson, A., Han, R.: MANTIS OS: An Embedded Multithreaded Operating System for Wireless Micro Sensor Platforms. In: ACM/Kluwer Mobile Networks & Applications (MONET), Special Issue on Wireless Sensor Networks, vol. 10(4) (August 2005)Google Scholar
  13. 13.
    Schiller, J., Liers, A., Ritter, H., Winter, R., Voigt, T.: ScatterWeb - Low Power Sensor Nodes and Energy Aware Routing. In: Hawaii International Conference On System Sciences (HICSS 2005), Hawaii (2005)Google Scholar
  14. 14.
    Handziski, V., Polastre, J., Hauer, J.-H., Sharp, C., Wolisz, A., Culler, D.: Flexible Hardware Abstraction for Wireless Sensor Networks. In: Proceedings of the 2nd European Workshop on WirelessSensor Networks (EWSN 2005) (2005)Google Scholar
  15. 15.
    Mahrenholz, D., Ivanov, S.: Real-Time Network Emulation with ns-2. In: Proceedings of the 8-th IEEE International Symposium on Distributed Simulation and Real Time Applications, Budapest, Hungary (2004)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Jochen Koberstein
    • 1
  • Norbert Luttenberger
    • 1
  1. 1.Dept. for Computer ScienceChristian-Albrechts-University in Kiel 

Personalised recommendations