Copyright © 2016 Michael Schloh von Bennewitz
Permission is granted to copy, distribute and/or
modify this document under the terms of the GNU Free
Documentation License, Version 1.3 or any later version
published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no
Back-Cover Texts. A copy of the license is included
in the document entitled “fdl-1.3.txt”
$ mosquitto_pub -h mqtt.devlol.org -t "devlol/winkekatze" -m "WINK"
$
Publishing to cat using mosquitto_pub(1)
NASA: “the highly automated communications process by which measurements are made and other data collected at remote or inaccessible points and transmitted to receiving equipment for monitoring.”
Wikipedia: “A telecommand is a command sent to control a remote system or systems not directly connected (e.g. via wires) to the place from which the telecommand is sent.”
// Simple subscribe client (use test.mosquitto.org?)
var mqtt = require('mqtt'), locli = mqtt.connect('mqtt://host/');
locli.subscribe('messages');
locli.on('message', function(topic, message) {
console.log(message.toString());
});
Subscribing topics via MQTT from the broker
// Simple publish client (use test.mosquitto.org?)
var mqtt = require('mqtt'), locli = mqtt.connect('mqtt://host/');
locli.publish('messages', 'Mqtt is pretty cool');
locli.end();
// Other MQTT features like last will
// testament, data retention, or QoS
Publishing messages via MQTT to the broker
Network topologies
Master operates on only one mode
BD_ADDR 00:06:66:42:21:52
Dirty tricks
/etc/bluetooth/bt_stack.conf
IBM Redbooks (Ebook, 2014)
Building... with MQTT, Boyd et al
APress Open (Online Ebook, 2014)
Rethinking the IoT, Francis daCosta