|
|
Subscribe / Log in / New account

An introduction to MQTT

An introduction to MQTT

Posted May 10, 2018 22:44 UTC (Thu) by mbolivar (subscriber, #75534)
In reply to: An introduction to MQTT by Cyberax
Parent article: An introduction to MQTT

MQTT doesn't require WiFi; basically all it requires is TCP:

http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1....

"The MQTT protocol requires an underlying transport that provides an ordered, lossless, stream of bytes from the Client to Server and Server to Client."

Two non-WiFi alternatives for getting IPv6 over a radio are specified in rfc7668 (IPv6 over Bluetooth) and rfc4944 (over 802.15.4). You can put a TCP stack on top of that.


to post comments

An introduction to MQTT

Posted May 10, 2018 23:10 UTC (Thu) by Cyberax (✭ supporter ✭, #52523) [Link] (1 responses)

MQTT implementation requires it, but it's message oriented.

In ZigBee/ZWave a device can have a "parent device" that does store-and-forward for it. I guess it's still possible to add a TCP stack on top of it.

An introduction to MQTT

Posted May 11, 2018 6:04 UTC (Fri) by mbolivar (subscriber, #75534) [Link]

> MQTT implementation requires it, but it's message oriented.

This is a vague response. I'm not sure what you mean.

Which MQTT implementation requires what, exactly? I've tried to cite the relevant standards when clarifying my rebuttal. I don't see a response to that information in your comment.

An introduction to MQTT

Posted May 14, 2018 7:41 UTC (Mon) by EdwardConnolly (guest, #123865) [Link]

There's a version of MQTT called MQTT-SN (MQTT for Sensor Networks)[0][1] which can be delivered over UDP, ZigBee, Bluetooth, and other transports. MQTT-SN is also much better suited to fairly tiny simple devices like Arduino, Xbee, and other microcontrollers which lack a full blown network stack.

[0] http://mqtt.org/new/wp-content/uploads/2009/06/MQTT-SN_sp...
[1] https://www.eclipsecon.org/na2015/session/mqtt-sn-mqtt-ud...


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds