Performance Evaluation of Default Active Message Layer (AM) and TKN15.4 Protocol Stack in TinyOS 2.1.2

Diego V. Queiroz, Ruan D. Gomes, Cesar Benavente-Peces


Wireless Sensor Networks (WSN) have become a leading solution to monitor and control smart buildings, health, industrial environments, and so on. Sensor nodes in a WSN have resource constraints, presenting low processing power and, in some cases, restrictions in power consumption. The resource constraints forced the researchers to develop Operating Systems (OS) for low-power wireless devices, and one of the most important and in active use is the TinyOS. This paper presents an experimental study to evaluate the performance of TinyOS default Active Message (AM) layer protocol in comparison to the fully 802.15.4 compliant protocol stack TKN15.4 developed for TinyOS. The AS-XM1000 802.15.4 mote modules were used to compare both protocols. The results showed that TKN15.4 protocol is better in both energy consumption and packet reception rate.


  1. Agrawal, P., Ahlen, A., Olofsson, T., and Gidlund, M. (2014). Characterization of long term channel variations in industrial wireless sensor networks. In IEEE International Conference on Communications, pages 1-6.
  2. Amjad, M., Sharif, M., Afzal, M. K., and Kim, S. W. (2016). TinyOS - New Trends, Comparative Views, and Supported Sensing Applications: A Review. IEEE Sensors Journal, 16(9):2865-2889.
  3. Anastasi, G., Conti, M., and Di Francesco, M. (2011). A Comprehensive Analysis of the MAC Unreliability Problem in IEEE 802.15.4 Wireless Sensor Networks. IEEE Transactions on Industrial Informatics, 7(1):52-65.
  4. Carballido Villaverde, B., Rea, S., and Pesch, D. (2012). InRout A QoS aware route selection algorithm for industrial wireless sensor networks. Ad Hoc Networks, 10(3):458-478.
  5. Dalton, A. R., Wahba, S. K., Dandamudi, S., and Hallstrom, J. O. (2009). Visualizing the runtime behavior of embedded network systems: A toolkit for TinyOS. Science of Computer Programming, 74(7):446-469.
  6. De Guglielmo, D., Brienza, S., and Anastasi, G. (2016). {IEEE} 802.15.4e: A survey. Computer Communications, 88:1-24.
  7. Despaux, F., Song, Y.-Q., and Lahmadi, A. (2013). Measurement-based Analysis of the Effect of Duty Cycle in IEEE 802.15.4 MAC Performance. In 2013 IEEE 10th International Conference on Mobile AdHoc and Sensor Systems, pages 620-626. IEEE.
  8. Developers, T. (2013). Official tinyos documentation wiki.
  9. 5 - Access 09/12/2016.
  10. 6 - Access 09/12/2016.
  11. dos Santos, I. L., Pirmez, L., Lemos, Ó. T., Delicato, F. C., Vaz Pinto, L. A., de Souza, J. N., and Zomaya, A. Y. (2014). A localized algorithm for Structural Health Monitoring using wireless sensor networks. Information Fusion, 15:114-129.
  12. Gomes, R. D. et al. (2016). Evaluation of link quality estimators for industrial wireless sensor networks. In XXXIV Simposio Brasileiro de Telecomunicacoes e Processamento de Sinais, pages 1-5.
  13. Hac, A. (2003). Wireless Sensor Network Designs.
  14. Handziski, V., Polastre, J., Hauer, J., Sharp, C., Wolisz, A., and Culler, D. (2005). Flexible hardware abstraction for wireless sensor networks. In Proceeedings of the Second European Workshop on Wireless Sensor Networks., pages 145-157. IEEE.
  15. Hauer, J.-H. (2009). Tkn15.4: An ieee 802.15.4 mac. implementation for tinyos 2. Technical report, Technical University Berlin.
  16. Hill, Jason, and David Culler (2002). A wireless embedded sensor architecture for system-level optimization. Technical report, UC Berkeley.
  17. Levis, P. et al. (2009). Tinyos: An operating system for sensor networks. In Ambient Intelligence, W. Weber, J. Rabaey, and E. Aarts (Eds.). Springer-Verlag.
  18. Macbeth, J. and Sarrafzadeh, M. (2009). Press the Cancel Button! A Performance Evaluation of Scalable In-Network Data Aggregation. In 2009 International Conference on Information and Multimedia Technology, pages 449-457. IEEE.
  19. Ouadjaout, A., Lasla, N., Bagaa, M., Doudou, M., Zizoua, C., Kafi, M. A., Derhab, A., Djenouri, D., and Badache, N. (2014). DZ50: Energy-efficient Wireless Sensor Mote Platform for Low Data Rate Applications. Procedia Computer Science, 37:189-195.
  20. Paczesny, T., Tajmajer, T., Domaszewicz, J., and Pruszkowski, A. (2012). ProxyMotes: Linux-based TinyOS Platform for Non-TinyOS Sensors and Actuators. In 2012 IEEE 10th International Symposium on Parallel and Distributed Processing with Applications, pages 255-261. IEEE.
  21. Shnayder, V., Hempstead, M., Chen, B.-r., Allen, G. W., and Welsh, M. (2004). Simulating the power consumption of large-scale sensor network applications. In Proceedings of the 2nd international conference on Embedded networked sensor systems - SenSys 7804, page 188. ACM Press.
  22. Villaverde, B. C., Alberola, R. D. P., Rea, S., and Pesch, D. (2010). Experimental Evaluation of Beacon Scheduling Mechanisms for Multihop IEEE 802.15.4 Wireless Sensor Networks. In 2010 Fourth International Conference on Sensor Technologies and Applications, pages 226-231. IEEE.
  23. Wang, Q. and Balasingham, I. (2010). Wireless Sensor Networks - An Introduction. In Wireless Sensor Networks: Application-Centric Design. InTech.
  24. Willig, A., Karowski, N., and Hauer, J.-H. (2010). Passive discovery of IEEE 802.15.4-based body sensor networks. Ad Hoc Networks, 8(7):742-754.

Paper Citation

in Harvard Style

Queiroz D., Gomes R. and Benavente-Peces C. (2017). Performance Evaluation of Default Active Message Layer (AM) and TKN15.4 Protocol Stack in TinyOS 2.1.2 . In Proceedings of the 6th International Conference on Sensor Networks - Volume 1: SENSORNETS, ISBN 978-989-758-211-0, pages 69-79. DOI: 10.5220/0006204200690079

in Bibtex Style

author={Diego V. Queiroz and Ruan D. Gomes and Cesar Benavente-Peces},
title={Performance Evaluation of Default Active Message Layer (AM) and TKN15.4 Protocol Stack in TinyOS 2.1.2},
booktitle={Proceedings of the 6th International Conference on Sensor Networks - Volume 1: SENSORNETS,},

in EndNote Style

JO - Proceedings of the 6th International Conference on Sensor Networks - Volume 1: SENSORNETS,
TI - Performance Evaluation of Default Active Message Layer (AM) and TKN15.4 Protocol Stack in TinyOS 2.1.2
SN - 978-989-758-211-0
AU - Queiroz D.
AU - Gomes R.
AU - Benavente-Peces C.
PY - 2017
SP - 69
EP - 79
DO - 10.5220/0006204200690079