aboutsummaryrefslogtreecommitdiff
path: root/slides/what-is-iot.md
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-04-27 01:08:37 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-04-27 01:08:37 +0200
commitc0d3e968f8ec64a6d43591b87d57bb5112764aa0 (patch)
tree2e2bee9d3520ce1317ccfb21b899c2011440820b /slides/what-is-iot.md
parent284a60cf65523b3a868a58cf2edc97d190a95608 (diff)
downloadiot-workshop-c0d3e968f8ec64a6d43591b87d57bb5112764aa0.tar.gz
iot-workshop-c0d3e968f8ec64a6d43591b87d57bb5112764aa0.tar.bz2
iot-workshop-c0d3e968f8ec64a6d43591b87d57bb5112764aa0.tar.xz
iot-workshop-c0d3e968f8ec64a6d43591b87d57bb5112764aa0.zip
wip
Diffstat (limited to 'slides/what-is-iot.md')
-rw-r--r--slides/what-is-iot.md50
1 files changed, 34 insertions, 16 deletions
diff --git a/slides/what-is-iot.md b/slides/what-is-iot.md
index e3c3591..db78358 100644
--- a/slides/what-is-iot.md
+++ b/slides/what-is-iot.md
@@ -461,6 +461,14 @@ Version 3.1.1 er den som gjelder, V 3.1 er rar, de andre finnes ikke
:::
+## Device and application architecture with MQTT
+
+!ifndef(QUICK)(
+\begin{center}
+!include(images/mqtt-example-architecture.pgf)
+\end{center}
+)
+
## MQTT - Implementations
* Mosquitto
@@ -544,9 +552,19 @@ The size field is variable length encoded, 0-127 bytes is 1 byte, 128-16383 use
:::
-## MQTT - The protocol - Keep alive
+## MQTT Connect
+
+* `CONNECT`
+ * `clientId`
+ * `username`
+ * `password`
+ * `keepAlive`
+
+<!-- -->
-TODO
+* Keep alive
+ * `PINGREQ`
+ * `PINGRESP`
## MQTT - The protocol - MQTT Topic
@@ -600,18 +618,6 @@ Broker
* `$app/$device/online`
* `0`
-## MQTT - The protocol - Client id
-
-TODO
-
-## Device and application architecture with MQTT
-
-!ifndef(QUICK)(
-\begin{center}
-!include(images/mqtt-example-architecture.pgf)
-\end{center}
-)
-
## MQTT Topic
The temperature sensor:
@@ -700,9 +706,21 @@ The central application is split:
* Publishes on:
* `myapp/$device-id/command`
-::: notes
+## MQTT topic architecture
-:::
+!ifndef(QUICK)(
+\begin{center}
+!include(images/mqtt-example-architecture.pgf)
+\end{center}
+)
+
+## MQTT topic architecture
+
+!ifndef(QUICK)(
+\begin{center}
+!include(images/mqtt-example-architecture2.pgf)
+\end{center}
+)
## MQTT - Patterns