Abstract
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.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
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)
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)
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)
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)
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)
Varga, A.: The OMNeT++ Discrete Event Simulation System. In: Proceedings of the European Simulation Multiconference (ESM 2001) (2001)
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)
Biron, P.V., Malhotra, A.: XML Schema Part 2: Datatypes (2001), http://www.w3.org/TR/xmlschema-2/
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)
Drytkiewicz, W., Sroka, S., Handziski, V., Koepke, A., Karl, H.: A Mobility Framework for OMNeT++. In: 3rd International OMNeT++ Workshop (2003)
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)
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)
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)
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)
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)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Koberstein, J., Luttenberger, N. (2006). System-Level WSN Application Software Test Using Multi-platform Hardware Abstraction Layers. In: Cao, J., Stojmenovic, I., Jia, X., Das, S.K. (eds) Mobile Ad-hoc and Sensor Networks. MSN 2006. Lecture Notes in Computer Science, vol 4325. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11943952_70
Download citation
DOI: https://doi.org/10.1007/11943952_70
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-49932-9
Online ISBN: 978-3-540-49933-6
eBook Packages: Computer ScienceComputer Science (R0)