Difference: CommunicatingOverMQTT (1 vs. 2)

Revision 22019-04-25 - UliRaich

Line: 1 to 1
 
META TOPICPARENT name="AFNOGWorkshop2019"

Communicating over MQTT

Changed:
<
<
Article text.
>
>
MQTT, the Message Queuing Telemetry Transport protocol is the communication protocol of choice in many IoT applications. It uses a broker receiving subscriptions and publications, distributing messages on a certain topic to everybody subscribed to to it. It is a light weight protocol running of top of TCP.

Below we see an example running mosquitto, the MQTT broker, 2 nodes (mosquitto_sub) have subscribed to the topic AFNOG19 and AFNOG18 respectively.. When a third node publishes information on the topic AFNOG19, then the first subscriber receives the information while when publishing on AFNOG18 it is the second subscriber seeing the message.

mqttDemo.png

MQTT and Cayenne

Cayenne supplies an mqtt broker at mqtt.mydevices.com which uses a strict format for the topic and the payload string. When registering at MyDevices Cayenne as a new user you will be attributed a username and a password. For each device you register you will get a device_id.

  -- Uli Raich - 2019-04-09

Comments

<--/commentPlugin-->
\ No newline at end of file
Added:
>
>
META FILEATTACHMENT attachment="mqttDemo.png" attr="" comment="" date="1556209983" name="mqttDemo.png" path="mqttDemo.png" size="195883" user="UliRaich" version="1"

Revision 12019-04-09 - UliRaich

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="AFNOGWorkshop2019"

Communicating over MQTT

Article text.

-- Uli Raich - 2019-04-09

Comments

<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback