Application Layer Protocols in IoT
Application Layer Protocols in IoT
CoAP
❏ Constrained application protocol is an application layer
protocol for machine to machine applications.
❏ It runs on top of UDP instead of TCP.
❏ CoAP uses of client server architecture where clients
communicate with server using connectionless
datagrams.
❏ Like HTTP, CoAP supports method such as GET, PUT,
POST & DELETE Fig 2: CoAP Architecture
MQTT
❏ Message Queue Telemetry Transport is a lightweight messaging
protocol based on the publish-subscribe model
❏ It uses a client server architecture where client connects to server
and publishes messages to topics on the server
❏ Broker forward the messages to the clients subscribed to topics
❏ It is well suited for constrained environments where the devices
have limited processing and memory resources & the network
bandwidth is low Fig 3: Architecture of MQTT
XMPP
❏ Extensible messaging and presence protocol is a protocol for real
time communication and streaming XML data between network
entities
❏ XMPP powers wide range of applications: messaging, data
syndication gaming multi party chat and voice/video calls.
❏ It’s a decentralised protocol and uses of client server architecture
& It supports both client-server and server -server Fig 4: Architecture of XMPP
communication path
DDS
❏ Data distribution service is a data centric middleware
standard for device to device or machine to machine
communication
❏ DDS uses a public subscribe model where publishers
create topics to which subscribers can subscribe
❏ DDS provides Quality of service(QoS) control and
configurable reliability