Abstract

As the development of Wireless Sensor Network (WSN), software testing for WSN-based applications be-comes more and more important. Simulation testing is an important approach to WSN-based software testing, and TOSSIM is the most widely used simulation testing tool targeted at TinyOS which is the most popular operating system nowadays. However, simulation testing tools such as TOSSIM can not reveal program er-rors about communication detail or timing, and lack accurate power consumption model and even can not support power consumption estimation. In this paper, a hybrid testbed H-TOSSIM is proposed, which ex-tends TOSSIM with physical nodes. H-TOSSIM uses three physical nodes, of which, one shares the simu-lated environment with all virtual nodes to test the WSN program, and the other two bridge the real world and the simulated environment. H-TOSSIM combines the advantages of both the simulation in physical node and the simulation testing tools in WSN software testing. Through experiments, we show that H-TOSSIM really reveals program errors which the pure simulation testing can not capture, and can support power con-sumption estimation for large WSN with high accuracy and low hardware cost.

Highlights

  • We show that H-TOSSIM really reveals program errors which the pure simulation testing can not capture, and can support power consumption estimation for large Wireless Sensor Network (WSN) with high accuracy and low hardware cost

  • We show that H-TOSSIM really solves the problems existing in pure simulation testing tools typedef nx_struct Ra- typedef nx_struct RadioToBlinkMsg2 {

  • There is a laptop running two SFs, MTTS, ESECT, and GNB; in the center, there are three physical nodes, of which the two side-by-side nodes are used as DBS, and the remaining one is PN; on the right, there is a digital multimeter which is used to record the current of PN, and its result is saved to the desktop

Read more

Summary

Introduction

Recent advances in electronic technology and the need of practical applications enable the rapid development of Wireless Sensor Network (WSN), which consists of many resource-limited sensor nodes, and can monitor the phenomena in the physical world. A sensor network is self-configuration, and its nodes are low-power embedded devices, which make its software testing challenging. There exist many simulation tools for sensor networks. The sensor network environment is simulated through pure PC software, which is controllable, convenient and low-cost. HIL testing tools for WSN consist of dozens of physical sensor nodes. In HIL testing, the program under test runs in the physical sensor nodes with some assistant middleware. HIL testing can reveal more defects; it is high-cost and not so convenient

Methods
Results
Conclusion
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.