Skip to content

Latest commit

 

History

History

mqtt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Links on topic mqtt

My experiences up to now.

Using the default setup both do not require authentification. That makes testing pretty easy.

Testing mqtt setup

TL;DR

  • start broker
  • terminal 1: subscribe to topic
  • terminal 2: publish message to same topic
  • check subscriber in terminal 1 has received the published message

There're 3 components involved:

  1. MQTT broker
  2. MQTT publisher
  3. MQTT subscriber

The general idea is one can publish messages to server on a certain topic and someone else can subscribe to a topic and is receives those messages as they arrive.

ad 1) A broker is responsible for