diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-06-13 20:02:36 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-06-13 20:02:36 +0200 |
commit | e4bdeee49319bc5570dfa0e998e4e68f3c33ee8c (patch) | |
tree | 27a4fc54611746d2c3c74f9412e68e0032f76ac1 /slides/images | |
parent | 970b9667089f08a606d9df53d72123095f452a58 (diff) | |
download | iot-workshop-ndc-2018-e4bdeee49319bc5570dfa0e998e4e68f3c33ee8c.tar.gz iot-workshop-ndc-2018-e4bdeee49319bc5570dfa0e998e4e68f3c33ee8c.tar.bz2 iot-workshop-ndc-2018-e4bdeee49319bc5570dfa0e998e4e68f3c33ee8c.tar.xz iot-workshop-ndc-2018-e4bdeee49319bc5570dfa0e998e4e68f3c33ee8c.zip |
wip
Diffstat (limited to 'slides/images')
-rw-r--r-- | slides/images/mqtt-seq.pdf | bin | 0 -> 12113 bytes | |||
-rw-r--r-- | slides/images/mqtt-seq.pgf | 46 | ||||
-rwxr-xr-x | slides/images/pp-template | 8 | ||||
-rw-r--r-- | slides/images/qtikz-template.pgs | 3 |
4 files changed, 55 insertions, 2 deletions
diff --git a/slides/images/mqtt-seq.pdf b/slides/images/mqtt-seq.pdf Binary files differnew file mode 100644 index 0000000..bcee05d --- /dev/null +++ b/slides/images/mqtt-seq.pdf diff --git a/slides/images/mqtt-seq.pgf b/slides/images/mqtt-seq.pgf new file mode 100644 index 0000000..8001ec1 --- /dev/null +++ b/slides/images/mqtt-seq.pgf @@ -0,0 +1,46 @@ +\begin{tikzpicture} +\begin{umlseqdiag} + +\umlactor{Device} +\umlactor{Broker} +\umlactor{Central} + +\begin{umlcall}[op={sub(dev/\#/online)}]{Central}{Broker} +\end{umlcall} + +\begin{umlcall}[dt=15, op={con(dev/123/online, 0)}]{Device}{Broker} \end{umlcall} +\begin{umlcall}[dt=5, name=pub,op={pub(dev/123/online, 1)}]{Device}{Broker} \end{umlcall} + +%\begin{umlcallself}[dt=5, op={terminate()}]{Device}\end{umlcallself} + +%\umlnote{death}{woop} +\umlnote[x=-3,y=-2]{sb-pub}{After this the device drops off the Wi-Fi} + + +\begin{umlcall}[dt=10, op={pub(dev/123/online, 0)}]{Broker}{Central} \end{umlcall} + +%\umlsdnode[dt=20]{Central} +%\umlsdnode[dt=5]{Broker} +%\begin{umlcall} +%\end{umlcall} + +\iffalse +\begin{umlcall}{A}{C} + \begin{umlcall}{C}{A} + \end{umlcall} + + \begin{umlcall}[dt=10]{B}{C} + \begin{umlcall}{C}{B} + \end{umlcall} + + \begin{umlcall}[return=1]{B}{C} + \end{umlcall} + \end{umlcall} + + \begin{umlcall}[dt=20, return=1]{A}{C} + \end{umlcall} + +\end{umlcall} +\fi +\end{umlseqdiag} +\end{tikzpicture} diff --git a/slides/images/pp-template b/slides/images/pp-template index 8021025..3e51cc9 100755 --- a/slides/images/pp-template +++ b/slides/images/pp-template @@ -1,8 +1,12 @@ #!/bin/bash +set -e + echo '\documentclass[preview]{standalone} \usepackage{blindtext} -\usepackage[utf8]{inputenc} +%\usepackage[utf8]{inputenc} \usepackage{tikz} +\usepackage{tikz-uml} +%\usepackage{pgf-umlsd} \usetikzlibrary{ angles, arrows, @@ -24,5 +28,5 @@ echo '\documentclass[preview]{standalone} \usepackage{fontspec} \setsansfont{Verdana} \begin{document}' -cat - +cat "$1" echo '\end{document}' diff --git a/slides/images/qtikz-template.pgs b/slides/images/qtikz-template.pgs index edb322b..c2fd323 100644 --- a/slides/images/qtikz-template.pgs +++ b/slides/images/qtikz-template.pgs @@ -2,7 +2,10 @@ \documentclass[preview]{standalone} \usepackage{blindtext} \usepackage[utf8]{inputenc} +\usepackage[english]{babel} \usepackage{tikz} +\usepackage{tikz-uml} +\usepackage{pgf-umlsd} \usetikzlibrary{ angles, arrows, |