Adaptive Quality of Service Control for MQTT-SN

Sensors (Basel). 2022 Nov 16;22(22):8852. doi: 10.3390/s22228852.

Abstract

Internet of Things and wireless sensor network applications are becoming more and more popular these days, supported by new communication technologies and protocols tailored to their specific requirements. This paper focuses on improving the performance of a Wireless Sensor Network operated by the MQTT-SN protocol, one of the most popular publish/subscribe protocols for IoT applications. In particular, we propose a dynamic Quality of Service (QoS) controller for the MQTT-SN protocol, capable of evaluating the status of the underlying network in terms of end-to-end delay and packet error rate, reacting consequently by assigning the best QoS value to a node. We design and implement the QoS controller in a simulated environment based on the ns-3 network emulator, and we perform extensive experiments to prove its effectiveness compared to a non-controlled scenario. The reported results show that, by controlling the quality of service, it is possible to effectively manage the number of packets successfully received by each device and their average latency, to improve the quality of the communication of each end node.

Keywords: MQTT; MQTT-SN; Pub/Sub; QoS control.

MeSH terms

  • Algorithms
  • Computer Communication Networks*
  • Quality Control
  • Wireless Technology*

Grants and funding

This research received no external funding.