None Notebook

This notebook contains material from cbe61622; content is available on Github.

< 2.5 Simple Stop Watch using Interrupts | Contents | 3.1 Publishing an Experiment via MQTT >

Open in Colab

Download

3.0 Enabling the Internet of Things

MQTT is a lightweight protocol for delivering messages between devices through an intermediate broker. Senders declare a 'topic' and 'publish' messages to the broker. Receivers 'subscribe' to particular topics on the broker to receive a copy of all messages pertaining to that topic. Connections between a device and broker are typically over a TCP/IP network, but other transport mediums are in common use. This robust and flexible 'hub-and-spoke' architecture has been widely adopted for 'Internet of Things' (IoT) applications.

The MQTT acronym was orginally an abbreviation for Message Queuing Telemetry Transport that was developed by individuals at IBM and Cirrus Link (later Eurotech) for monitoring pipeline by satellite in remote locations. IBM later submitted the protocol to the global standards body, OASIS and ISO, where they are now maintained as open standards.

3.0.1 Background

Descriptions

Primers and Tutorials

MQTT for Process Applications

Bidirectional Messaging

3.0.2 Implementation for CBE-Virtual-Laboratory

For the purposes of the CBE-Virtual-Laboratory, we propose a topic naming scheme that will enable bidirectional communication between devices, and provide for the setup and tear down of applications and connections.

cbe-virtual-laboratory/APPLICATION/DEVICE/CHANNEL

< 2.5 Simple Stop Watch using Interrupts | Contents | 3.1 Publishing an Experiment via MQTT >

Open in Colab

Download