An MQTT-SN-Based QoS Dynamic Adaptation Method for Wireless Sensor Networks

  • Helbert da RochaEmail author
  • Tania L. Monteiro
  • Marcelo Eduardo Pellenz
  • Manuel C. Penna
  • Joilson Alves Junior
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 926)


The Internet of Things (IoT) is a concept that has disseminated in the last few years. The idea is to connect smart devices through a network solution. IoT will be present in everyday objects and in people’s lives. The economic impact of IoT solutions is expected to be, annually, billions of dollars. To provide data exchange from smart devices, some protocols are being used. The Message Queuing Telemetry Transport Protocol (MQTT) is one of the most common application protocols for IoT and Machine-to-Machine (M2M) communications. The MQTT uses the publish/subscribe paradigm, which provides three Quality of Service (QoS) to ensure communication between the smart devices. There is a version of MQTT for Sensor Network (SN), named of MQTT-SN, developed especially for messages exchanging in Wireless Sensors Networks (WSNs). As many smart devices can be connected in the same network, it can result in network overload and message loss. To ensure a better message delivery, a QoS Dynamic Adaptation Method (DAM) for WSNs was developed. The DAM is focused on selecting the proper QoS level, based on network latency conditions. The proposed method showed good performance when compared with the normal QoS strategy implemented in the MQTT-SN protocol.


  1. 1.
    Al-Fuqaha, A., Guizani, M., Mohammadi, M., Aledhari, M., Ayyash, M.: Internet of things: a survey on enabling technologies, protocols, and applications. IEEE Commun. Surv. Tutor. 17(4), 2347–2376 (2015). Scholar
  2. 2.
    Banks, A., Gupta, R.: MQTT version 3.1. 1 29 (2014)Google Scholar
  3. 3.
    Boyd, B., Gauci, J., Robertson, M., Van Duy, N., Gupta, R., Gucer, V., Kislicins, V., Redbooks, I.: Building Real-Time Mobile Solutions with MQTT and IBM MessageSight. IBM Redbooks, Poughkeepsie (2014). Scholar
  4. 4.
    Craggs, I.: Really Small Message Broker (2014).
  5. 5.
    García Davis, E., Calveras Augé, A.M.: Publish/subscribe protocol in wireless sensor networks: improved reliability and timeliness. KSII Trans. Internet Inf. Syst. 12(4), 1527–1552 (2018). Scholar
  6. 6.
    Govindan, K., Azad, A.P.: End-to-end service assurance in IoT MQTT-SN. In: 2015 12th Annual IEEE Consumer Communications and Networking Conference (CCNC), pp. 290–296 (2015).
  7. 7.
    Lampkin, V., Leong, W.T., Olivera, L., Rawat, S., Subrahmanyam, N., Xiang, R., Kallas, G., Krishna, N., Fassmann, S., Keen, M., et al.: Building smarter planet solutions with MQTT and IBM websphere MQ telemetry. IBM Redbooks, Poughkeepsie (2012)Google Scholar
  8. 8.
    Lee, S., Kim, H., Hong, D., Ju, H.: Correlation analysis of MQTT loss and delay according to QoS level. In: 2013 International Conference on Information Networking (ICOIN), pp. 714–717. IEEE (2013)Google Scholar
  9. 9.
    Light, R.A.: Mosquitto: server and client implementation of the MQTT protocol. J. Open Source Softw. 2(13) (2017).
  10. 10.
  11. 11.
    Patro, A., Govindan, S., Banerjee, S.: Observing home wireless experience through WiFi APs. In: Proceedings of the 19th Annual International Conference on Mobile Computing & Networking, pp. 339–350. ACM (2013)Google Scholar
  12. 12.
    Rose, K., Eldridge, S., Chapin, L.: The internet of things: an overview, pp. 1–50 (2015)Google Scholar
  13. 13.
    Shrivastava, N., Buragohain, C., Agrawal, D., Suri, S.: Medians and beyond: new aggregation techniques for sensor networks. In: Proceedings of the 2nd International Conference on Embedded Networked Sensor Systems, SenSys 2004, pp. 239–249. ACM (2004).
  14. 14.
    Siboni, S., Shabtai, A., Elovici, Y.: Leaking data from enterprise networks using a compromised smartwatch device. In: Proceedings of the 33rd Annual ACM Symposium on Applied Computing, SAC 2018, pp. 741–750. ACM (2018).
  15. 15.
    Stanford-Clark, A., Truong, H.L.: MQTT for sensor networks (MQTT-SN) protocol specification 1 (2013)Google Scholar
  16. 16.
    Sui, K., Zhou, M., Liu, D., Ma, M., Pei, D., Zhao, Y., Li, Z., Moscibroda, T.: Characterizing and improving WiFi latency in large-scale operational networks. In: Proceedings of the 14th Annual International Conference on Mobile Systems, Applications, and Services, pp. 347–360. ACM (2016)Google Scholar
  17. 17.
    Syed, A.A., Heidemann, J.S., et al.: Time synchronization for high latency acoustic networks. In: Infocom, vol. 6, pp. 1–12 (2006)Google Scholar
  18. 18.
    Ullah, M.H., Park, S.S., No, J., Kim, G.H.: A collaboration mechanism between wireless sensor network and a cloud through a Pub/Sub-based middleware service. In: The Fifth International Conference on Evolving Internet, pp. 38–42. Citeseer (2013)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  • Helbert da Rocha
    • 1
    Email author
  • Tania L. Monteiro
    • 2
  • Marcelo Eduardo Pellenz
    • 3
  • Manuel C. Penna
    • 3
  • Joilson Alves Junior
    • 2
  1. 1.Federal University of Technology - ParanáPonta GrossaBrazil
  2. 2.Federal University of Technology - ParanáCuritibaBrazil
  3. 3.Pontifical Catholic University of ParanáCuritibaBrazil

Personalised recommendations