An operating system abstraction layer for portable applications in wireless sensor networks

Portability of software modules is a major concern in application development for Wireless Sensor Networks (WSN), stressed by the typical lack of resources in embedded systems. Abstractions of the hardware platform which are introduced by the operating system (OS) allow the development of modules which can be reused in new applications. However, the lack of standards in this domain, restricts the chances to achieve efficient portability to those systems running on very similar platforms (e.g. same OS). In this paper, we present an Operating System Abstraction Layer (OSAL), which unifies the OS architecture and establishes a common API across multiple OS. Portability of applications is effectively granted thanks to a common set of primitives, which are independent of the underlaying OS and its particular architecture. We highlight the efficiency of the OSAL as well as detailed description of its main features and design considerations. We have implemented the OSAL on top of two well known OS and performed extensive evaluations, which show that it effectively reduces portability efforts at the expenses of minimal run-time overhead as well as negligible increase of memory footprint.

[1]  Cormac J. Sreenan,et al.  An Experimental Comparison of Event Driven and Multi-Threaded Sensor Node Operating Systems , 2007, Fifth Annual IEEE International Conference on Pervasive Computing and Communications Workshops (PerComW'07).

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

[3]  Michael González Harbour,et al.  Evaluation of new POSIX real-time operating systems services for small embedded platforms , 2003, 15th Euromicro Conference on Real-Time Systems, 2003. Proceedings..

[4]  Philip Levis,et al.  Maté: a tiny virtual machine for sensor networks , 2002, ASPLOS X.

[5]  Gerhard Fohler,et al.  On Enabling Portable and Time-Controlled Wireless Sensor Network Applications , 2009 .

[6]  Ian F. Akyildiz,et al.  Wireless sensor networks: a survey , 2002, Comput. Networks.

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