Thursday, 21 November 2019

MQTT and CoAP


MQTT (Message Queue Telemetry Transport)
Message Queue Telemetry Transport is the most common protocol that used to IoT projects. MQTT protocol is based on publish/subscribe architecture. The publish/subscribe architecture consists of three major components: publishers, subscribers, and a broker.  As the concept Messages are published to topics. Clients can subscribe to a topic or a set of related topics called as subscription and Clients can subscribe to topics or publish to topics called as the publish.
Features:
  •          Work on TCP/IP protocol
  •          Machine to Machine (M2M) IoT context.
  •          Easy to implementation and minimized data packets.
  •          Can run on any kind of transport (Bluetooth, Wi-Fi).
  •      SSL/TLS security connection
CoAP (Constrained Application Protocol)
CoAP is an application layer protocol. It developed by the IETF coRE working group. the protocol considers the various objects in the network as resources (Ali, 2018). It is designed to use devices on the same constrained network between devices and general nodes on the Internet.
Features
·     Asynchronous message exchange.
·    Proxy and caching capabilities.
  • Machine to Machine (M2M) IoT context.
  • UDP/IP connection
  • DTLS Security for connection



No comments:

Post a Comment