2nd International ICST Conference on Simulation Tools and Techniques

Research Article

COOJA/MSPSim: interoperability testing for wireless sensor networks

Download933 downloads
  • @INPROCEEDINGS{10.4108/ICST.SIMUTOOLS2009.5637,
        author={Joakim  Eriksson and Fredrik  \O{}sterlind and Niclas  Finne and Nicolas  Tsiftes and Adam  Dunkels and Thiemo  Voigt and Robert  Sauter and Pedro Jos\^{e}  Marr\^{o}n},
        title={COOJA/MSPSim: interoperability testing for wireless sensor networks},
        proceedings={2nd International ICST Conference on Simulation Tools and Techniques},
        publisher={ICST},
        proceedings_a={SIMUTOOLS},
        year={2010},
        month={5},
        keywords={Wireless Sensor Networks Simulation Interoperability},
        doi={10.4108/ICST.SIMUTOOLS2009.5637}
    }
    
  • Joakim Eriksson
    Fredrik Österlind
    Niclas Finne
    Nicolas Tsiftes
    Adam Dunkels
    Thiemo Voigt
    Robert Sauter
    Pedro José Marrón
    Year: 2010
    COOJA/MSPSim: interoperability testing for wireless sensor networks
    SIMUTOOLS
    ICST
    DOI: 10.4108/ICST.SIMUTOOLS2009.5637
Joakim Eriksson1,*, Fredrik Österlind1,*, Niclas Finne1,*, Nicolas Tsiftes1,*, Adam Dunkels1,*, Thiemo Voigt1,*, Robert Sauter2,*, Pedro José Marrón2,*
  • 1: Swedish Institute of Computer Science
  • 2: University of Bonn and Fraunhofer IAIS
*Contact email: joakime@sics.se, fros@sics.se, nfi@sics.se, nvt@sics.se, adam@sics.se, thiemo@sics.se, sauter@cs.uni-bonn.de, pjmarron@cs.uni-bonn.de

Abstract

Wireless sensor networks are moving towards emerging standards such as IP, ZigBee and WirelessHART which makes interoperability testing important. Interoperability testing is performed today through black-box testing with vendors physically meeting to test their equipment. Black-box testing can test interoperability but gives no detailed information of the internals in the nodes during the testing. Blackbox testing is required because existing simulators cannot simultaneously simulate sensor nodes with different firmware. For standards such as IP and WirelessHART, a white-box interoperability testing approach is desired, since it gives details on both performance and clues about why tests succeeded or failed. To allow white-box testing, we propose a simulation-based approach to interoperability testing, where the firmware from different vendors is run in the same simulator.

We extend our MSPSim emulator and COOJA wireless sensor network simulator to support interoperable simulation of sensor nodes with firmware from different vendors. To demonstrate both cross-vendor interoperability and the benefits of white-box interoperability testing, we run the state-of-the-art Contiki and TinyOS operating systems in a single simulation. Because of the white-box testing, we can do performance measurement and power profiling over both operating systems.