RTUComputer ScienceYr 2023 · Sem 72023

Q20Internet of Things

Question

10 marks

Discuss the various communication protocols used in IoT (MQTT, CoAP, XMPP, AMQP). Compare their features, advantages, and use cases.

Answer

IoT uses specialized protocols like MQTT, CoAP, XMPP, and AMQP based on system constraints.

Different IoT scenarios require different application layer protocols: - MQTT (Message Queuing Telemetry Transport): Publish/subscribe model over TCP. Extremely lightweight, ideal for constrained devices and unreliable networks (e.g., remote sensor logging). - CoAP (Constrained Application Protocol): Request/response model over UDP. Designed to be the HTTP of the IoT world, suitable for constrained nodes where TCP overhead is too high. - XMPP (Extensible Messaging and Presence Protocol): Based on XML. Excellent for real-time human-to-machine communication, but heavier overhead. - AMQP (Advanced Message Queuing Protocol): Robust, secure messaging protocol used for enterprise-level queuing and routing, ensuring reliable delivery but requiring more resources than MQTT.

IoT Protocols Comparison
Comparison of IoT Application Layer Protocols
Back to Paper