โ† Internet of Things (IoT) learning path
Internet of Things (IoT) ยท Module 5 of 10

IoT protocols: MQTT and HTTP

Send device data with lightweight protocols.

๐Ÿ“– Key ideas

  1. MQTT uses publish/subscribe via a broker.
  2. Topics organise messages: farm/field1/moisture.
  3. QoS levels 0, 1, 2 control delivery guarantees.
  4. HTTP/REST is simple but heavier.
  5. CoAP is a lightweight REST-like protocol over UDP.
๐Ÿ’ก Real-life example: MQTT is a radio station: devices publish on channels (topics) and subscribers tune in.
MQTTLightweight publish/subscribe protocol
BrokerServer routing MQTT messages
TopicMessage channel name
QoSQuality of Service level