%.fmt: %.pre
$(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
-%.fmt: preamble.tex
- $(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
-
%.pdf: %.mlog
- grep -iFq 'Rerun to get' $< &&\
- $(LATEX) $(LATEXFLAGS) $(basename $<) || true
+ grep -iFq 'Rerun to get' $< && $(LATEX) $(LATEXFLAGS) $(basename $<) || true
-%.mlog: %.tex %.fmt $(wildcard *.bib)
+%.mlog: %.tex %.fmt $(wildcard *.bib) $(wildcard *.tex)
$(LATEX) $(LATEXFLAGS) $<
- grep -q '^\\bibdata{' $(basename $<).aux &&\
- $(BIBTEX) $(BIBTEXFLAGS) $(basename $<) || true
+ grep -q '^\\bibdata{' $(basename $<).aux && $(BIBTEX) $(BIBTEXFLAGS) $(basename $<) || true
$(LATEX) $(LATEXFLAGS) $< | tee $@
clean:
- $(RM) $(foreach DOC,$(DOCS),\
- $(addprefix $(DOC).,aux log fmt toc bbl blg run.xml out pdf snm nav snm vrb))
+ $(RM) $(foreach DOC,$(DOCS),$(addprefix $(DOC).,aux log fmt toc bbl blg run.xml out pdf snm nav snm vrb))
--- /dev/null
+\section{Server to Client}
+Messages are delimited by newlines to make processing by line based devices
+more easy.
+\todo{Handshake}
+\begin{table}[ht]
+ \centering
+ \begin{tabular}{ll}
+ \toprule
+ byte & value\\
+ \midrule
+ 1 & \texttt{'t'}\\
+ 2,3 & interval\\
+ 4,5 & length (\texttt{n})\\
+ 6 to n+6 & bytecode\\
+ \bottomrule
+ \end{tabular}
+ \caption{Send a task}
+\end{table}
+
+\begin{table}[ht]
+ \centering
+ \begin{tabular}{ll}
+ \toprule
+ byte & meaning\\
+ \midrule
+ 1 & \texttt{'d'}\\
+ 2,3 & task id\\
+ \bottomrule
+ \end{tabular}
+ \caption{Delete a task}
+\end{table}
+
+\begin{table}[ht]
+ \centering
+ \begin{tabular}{ll}
+ \toprule
+ byte & meaning\\
+ \midrule
+ 1 & \texttt{'s'}\\
+ 2,3 & identifier\\
+ 4,5 & value\\
+ \bottomrule
+ \end{tabular}
+ \caption{Send an SDS specification}
+\end{table}
+
+\begin{table}[ht]
+ \centering
+ \begin{tabular}{ll}
+ \toprule
+ byte & meaning\\
+ \midrule
+ 1 & \texttt{'u'}\\
+ 2,3 & sdsid\\
+ 4,5 & value\\
+ \bottomrule
+ \end{tabular}
+ \caption{SDS update}
+\end{table}
+
+\section{Client to Server}
+\todo{Handshake reply}
+\begin{table}[ht]
+ \centering
+ \begin{tabular}{ll}
+ \toprule
+ byte & value\\
+ \midrule
+ 1 & \texttt{'t'}\\
+ 2,3 & task id\\
+ \bottomrule
+ \end{tabular}
+ \caption{Task acknowledgement}
+\end{table}
+
+\begin{table}[ht]
+ \centering
+ \begin{tabular}{ll}
+ \toprule
+ byte & value\\
+ \midrule
+ 1 & \texttt{'u'}\\
+ 2,3 & SDS id\\
+ 4,5 & value\\
+ \bottomrule
+ \end{tabular}
+ \caption{SDS publish}
+\end{table}
+
+\todo{SDS acknowledgement}
\documentclass[a4paper]{book}
-\usepackage{geometry}
-\usepackage{rutitlepage/rutitlepage}
-\usepackage{hyperref}
+\usepackage{geometry} % Papersize
+\usepackage[titletoc]{appendix} % Appendices
+\usepackage{rutitlepage/rutitlepage} % Titlepage
+\usepackage{hyperref} % Hyperlinks
+\usepackage{float} % Better table positioning
+\usepackage{booktabs} % Better looking tables
+\usepackage{todonotes} % Todo's
\urlstyle{same}
-\hypersetup{
+\hypersetup{%
pdftitle={iTasks and the Internet of Things},
pdfauthor={Mart Lubbers},
pdfsubject={iTasks and the Internet of Things},
hidelinks=true
}
-\usepackage{todonotes}
-
\title{iTasks and the Internet of Things}
\author{Mart Lubbers BSc.\\{\small\url{mart@martlubbers.net}}}
\date{\today}
authorstext={Author:},
righttextheader={Supervisors:},
righttext={prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\dr.~P.W.M.~Koopman}]
-%\listoftodos[Todo]
+\listoftodos[Todo]
\tableofcontents
\chapter{Introduction}
\chapter{Results}
\chapter{Conclusion \& Discussion}
+\begin{appendices}
+ \chapter{Communication protocol}
+ \input{appendix-protocol.tex}
+\end{appendices}
+
\bibliographystyle{ieeetr}
\bibliography{thesis}
\end{document}