Skip to main content

Device Driver Abstraction for Multithreaded Sensor Network Operating Systems

  • Conference paper
Wireless Sensor Networks (EWSN 2008)

Part of the book series: Lecture Notes in Computer Science ((LNCCN,volume 4913))

Included in the following conference series:

Abstract

To support the increasing number of sensor devices with various characteristics and requirements, sensor network operating systems should provide an appropriate device driver model that can cover a wide range of device types. Unfortunately, current sensor network operating systems force the user to build complex drivers for even simple devices, provide restricted interfaces, or do not provide any mechanisms. We present a device driver model that is flexible enough to support both simple devices with simple drivers, and complex devices with portable and high-performance device drivers. Users can write a device driver for simple devices with only a few lines of code using the user-mode device driver. Devices that need highly efficient code or portability can be supported by a single-layer or 2-layer kernel-mode device driver. Moreover, shared access and power management can easily be included in the device driver using the device manager. We also provide guidelines for choosing a proper device driver model with concrete examples of real-world devices and support our claims through the evaluation of the device driver model using the RETOS kernel.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Cha, H., Choi, S., Jung, I., Kim, H., Shin, H., Yoo, J., Yoon, C.: RETOS: Resilient, Expandable, and Threaded Operating System for Wireless Sensor Networks. In: IPSN 2007. Proceedings of the Sixth International Conference on Information Processing in Sensor Networks, pp. 148–157 (April 2007)

    Google Scholar 

  2. Mochel, P.: The Linux Kernel Device Model. In: Mochel, P. (ed.) OLS 2002. Proceedings of the Ottawa Linux Symposium, pp. 368–375 (June 2002)

    Google Scholar 

  3. The NetBSD project, http://www.netbsd.org

  4. The Windows Mobile operating system, http://www.microsoft.com/windowsmobile

  5. Levis, P., Gay, D., Handziski, V., Hauer, J.-H., Greenstein, B., Turon, M., Hui, J., Klues, K., Sharp, C., Szewczyk, R., Polastre, J., Buonadonna, P., Nachman, L., Tolle, G., Culler, D., Wolisz, A.: T2: A Second Generation OS For Embedded Sensor Networks. Technical Report TKN-05-007, Telecommunication Networks Group, Technische Universität Berlin (November 2005)

    Google Scholar 

  6. Handziski, V., Polastre, J., Hauer, J.-H., Sharp, C., Wolisz, A., Culler, D.: Flexible Hardware Abstraction for Wireless Sensor Networks. In: EWSN 2005. Proceedings of the Second European Workshop on Wireless Sensor Networks (January 2005)

    Google Scholar 

  7. Han, C.-C., Rengaswamy, R.K., Shea, R., Kohler, E., Srivastava, M.: A Dynamic Operating System for Sensor Nodes. In: Mobisys 2005. Proceedings of the Third International Conference on Mobile Systems, Applications, and Services (June 2005)

    Google Scholar 

  8. Dunkels, A., Schmidt, O., Voigt, T., Ali, M.: Protothreads: Simplifying Event-Driven Programming of Memory-Constrained Embedded Systems. In: SenSys 2006. Proceedings of the Fourth ACM Conference on Embedded Networked Sensor Systems (November 2006)

    Google Scholar 

  9. 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. Ramanathan, P., Govindan, R., Sivalingam, K. (eds.) ACM/Kluwer Mobile Networks & Applications (MONET), Special Issue on Wireless Sensor Networks 10(4), 563–579 (2005)

    Google Scholar 

  10. Klues, K., Handziski, V., Culler, D., Gay, D., Levis, P., Lu, C., Wolisz, A.: Dynamic Resource Management in a Static Network Operating System. Technical Report WUCSE-2006-56, Washington University in St. Louis (October, 2006)

    Google Scholar 

  11. Tmote Sky sensor node, http://www.moteiv.com

  12. MSP430x15x, MSP430x16x, MSP430x161x mixed signal microcontroller, http://www.ti.com

  13. SHT11 digital humidity sensor, http://www.sensirion.com

  14. M25P80 serial flash memory, http://www.st.com

Download references

Author information

Authors and Affiliations

Authors

Editor information

Roberto Verdone

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Choi, H., Yoon, C., Cha, H. (2008). Device Driver Abstraction for Multithreaded Sensor Network Operating Systems. In: Verdone, R. (eds) Wireless Sensor Networks. EWSN 2008. Lecture Notes in Computer Science, vol 4913. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-77690-1_22

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-77690-1_22

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-77689-5

  • Online ISBN: 978-3-540-77690-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics