Homogeneous Wireless Sensor Network Programming using MuFFIN

Rui Pires, Francisco Martins, Dulce Domingos


Web services have been used as an homogeneous interface between client applications and sensor networks. The MuFFIN middleware makes possible for a client application to remotely (re)program sensor networks. However, this (re)programming is dependent on the characteristics of the hardware or of the programming languages provided by manufacturers. To generalize this feature, we propose a middleware extension to include the execution of code on behalf of sensor devices in case they are not (re)programmable. As a proof of concept, we use the MuFFIN middleware and the Callas sensor programming language together with its virtual machine. Additionally, we extend the MuFFIN with a component that supports the communication between two wireless sensor networks. This way, messages can flow from one network to another one without the intervention of the client application, reducing the number of messages exchanged between sensor networks and client applications.


  1. Bröring, A., Echterhoff, J., Jirka, S., Simonis, I., Everding, T., Stasch, C., Liang, S., and Lemmens, R. (2011). New generation sensor web enablement. Sensors, 11(3):2652-2699.
  2. Haller, S., Karnouskos, S., and Schroth, C. (2008). The Internet of Things in an Enterprise Context. In Proceedings of FIS 2008, volume 5468 of LNCS, pages 14-28. Springer.
  3. Huang, Y. and Gannon, D. (2006). A comparative study of web services-based event notification specifications. In ICPP Workshops, pages 7-14. IEEE Computer Society.
  4. Kansal, A., Nath, S., Liu, J., and Zhao, F. (2007). SenseWeb: an infrastructure for shared sensing. IEEE MultiMedia, 14(4):8-13.
  5. Levis, P. and Culler, D. (2002). Maté: a tiny virtual machine for sensor networks. SIGOPS Oper. Syst. Rev., 36(5):85-95.
  6. Martins, F., Lopes, L., and Barros, J. (2010). Towards the Safe Programming of Wireless Sensor Networks. In Proceedings of PLACES'09, volume 17 of EPTCS.
  7. Simon, D. and Cifuentes, C. (2005). The squawk virtual machine: Java on the bare metal. In Proceedings of OOPSLA'05. ACM Press.
  8. Valente, B. and Martins, F. (2011). A middleware framework for the internet of things. In Proceedings of AFIN 2011, volume 57, page 139 to 144.
  9. Valente, B. A. L. (2011). Um middleware para a Internet das coisas. Master's thesis, Universidade de Lisboa, Faculdade de Cieˆncias.
  10. Zeng, D., Guo, S., and Cheng, Z. (2011). The web of things: A survey (invited paper). JCM, 6(6):424-438.

Paper Citation

in Harvard Style

Pires R., Martins F. and Domingos D. (2014). Homogeneous Wireless Sensor Network Programming using MuFFIN . In Proceedings of the 3rd International Conference on Sensor Networks - Volume 1: SENSORNETS, ISBN 978-989-758-001-7, pages 127-132. DOI: 10.5220/0004730501270132

in Bibtex Style

author={Rui Pires and Francisco Martins and Dulce Domingos},
title={Homogeneous Wireless Sensor Network Programming using MuFFIN},
booktitle={Proceedings of the 3rd International Conference on Sensor Networks - Volume 1: SENSORNETS,},

in EndNote Style

JO - Proceedings of the 3rd International Conference on Sensor Networks - Volume 1: SENSORNETS,
TI - Homogeneous Wireless Sensor Network Programming using MuFFIN
SN - 978-989-758-001-7
AU - Pires R.
AU - Martins F.
AU - Domingos D.
PY - 2014
SP - 127
EP - 132
DO - 10.5220/0004730501270132